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