Skip to content

Commit

Permalink
deps: update uint8-varint (#1971)
Browse files Browse the repository at this point in the history
The new version is much faster
  • Loading branch information
achingbrain authored Aug 15, 2023
1 parent 90e793e commit d994859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/peer-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@libp2p/utils": "^4.0.2",
"@multiformats/multiaddr": "^12.1.5",
"protons-runtime": "^5.0.0",
"uint8-varint": "^1.0.2",
"uint8-varint": "^2.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-record/src/envelope/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { unmarshalPrivateKey, unmarshalPublicKey } from '@libp2p/crypto/keys'
import { CodeError } from '@libp2p/interface/errors'
import { peerIdFromKeys } from '@libp2p/peer-id'
import { unsigned } from 'uint8-varint'
import * as unsigned from 'uint8-varint'
import { Uint8ArrayList } from 'uint8arraylist'
import { equals as uint8ArrayEquals } from 'uint8arrays/equals'
import { fromString as uint8arraysFromString } from 'uint8arrays/from-string'
Expand Down

0 comments on commit d994859

Please sign in to comment.