This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 4 files changed +5
-5
lines changed
examples/browser-ipns-publish
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
"ipfs" : " ^0.55.3" ,
18
18
"ipfs-http-client" : " ^50.1.1" ,
19
19
"ipfs-utils" : " ^8.1.2" ,
20
- "ipns" : " ^0.11 .0" ,
20
+ "ipns" : " ^0.12 .0" ,
21
21
"it-last" : " ^1.0.4" ,
22
22
"p-retry" : " ^4.2.0" ,
23
23
"uint8arrays" : " ^2.1.3"
Original file line number Diff line number Diff line change 51
51
"ipld-block" : " ^0.11.0" ,
52
52
"ipld-dag-cbor" : " ^1.0.0" ,
53
53
"ipld-dag-pb" : " ^0.22.1" ,
54
- "ipns" : " ^0.11 .0" ,
54
+ "ipns" : " ^0.12 .0" ,
55
55
"is-ipfs" : " ^5.0.0" ,
56
56
"iso-random-stream" : " ^2.0.0" ,
57
57
"it-all" : " ^1.0.4" ,
Original file line number Diff line number Diff line change 84
84
"ipld-dag-cbor" : " ^1.0.0" ,
85
85
"ipld-dag-pb" : " ^0.22.1" ,
86
86
"ipld-raw" : " ^7.0.0" ,
87
- "ipns" : " ^0.11 .0" ,
87
+ "ipns" : " ^0.12 .0" ,
88
88
"is-domain-name" : " ^1.0.1" ,
89
89
"is-ipfs" : " ^5.0.0" ,
90
90
"it-all" : " ^1.0.4" ,
Original file line number Diff line number Diff line change @@ -254,10 +254,10 @@ class IpnsPublisher {
254
254
}
255
255
256
256
// Determinate the record sequence number
257
- let seqNumber = 0
257
+ let seqNumber = 0n
258
258
259
259
if ( record && record . sequence !== undefined ) {
260
- seqNumber = ! uint8ArrayEquals ( record . value , value ) ? record . sequence + 1 : record . sequence
260
+ seqNumber = ! uint8ArrayEquals ( record . value , value ) ? BigInt ( record . sequence ) + 1n : BigInt ( record . sequence )
261
261
}
262
262
263
263
let entryData
You can’t perform that action at this time.
0 commit comments