mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-04-25 07:22:32 +00:00
chore: update deps (#137)
This commit is contained in:
parent
41ab96c47d
commit
e7d0eaa796
16
package.json
16
package.json
@ -8,7 +8,7 @@
|
||||
"bin": "src/bin.js",
|
||||
"scripts": {
|
||||
"lint": "aegir lint",
|
||||
"build": "aegir build",
|
||||
"build": "aegir build --no-types",
|
||||
"test": "aegir test",
|
||||
"test:node": "aegir test -t node",
|
||||
"test:browser": "aegir test -t browser -t webworker",
|
||||
@ -36,19 +36,19 @@
|
||||
},
|
||||
"homepage": "https://github.com/libp2p/js-peer-id",
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.2.7",
|
||||
"@types/chai": "^4.2.14",
|
||||
"@types/dirty-chai": "^2.0.2",
|
||||
"@types/mocha": "^8.0.1",
|
||||
"aegir": "^25.0.0"
|
||||
"@types/mocha": "^8.2.0",
|
||||
"aegir": "^30.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"cids": "^1.0.0",
|
||||
"cids": "^1.1.5",
|
||||
"class-is": "^1.1.0",
|
||||
"libp2p-crypto": "^0.18.0",
|
||||
"libp2p-crypto": "^0.19.0",
|
||||
"minimist": "^1.2.5",
|
||||
"multihashes": "^3.0.1",
|
||||
"multihashes": "^3.1.1",
|
||||
"protons": "^2.0.0",
|
||||
"uint8arrays": "^1.1.0"
|
||||
"uint8arrays": "^2.0.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -144,6 +144,7 @@ class PeerId {
|
||||
|
||||
/**
|
||||
* Checks the equality of `this` peer against a given PeerId.
|
||||
*
|
||||
* @param {Uint8Array|PeerId} id
|
||||
* @returns {boolean}
|
||||
*/
|
||||
@ -159,6 +160,7 @@ class PeerId {
|
||||
|
||||
/**
|
||||
* Checks the equality of `this` peer against a given PeerId.
|
||||
*
|
||||
* @deprecated Use `.equals`
|
||||
* @param {Uint8Array|PeerId} id
|
||||
* @returns {boolean}
|
||||
@ -181,6 +183,7 @@ class PeerId {
|
||||
|
||||
/**
|
||||
* Check if the PeerId has an inline public key.
|
||||
*
|
||||
* @returns {boolean}
|
||||
*/
|
||||
hasInlinePublicKey () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user