@libp2p/pnet 2.0.36 → 2.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/crypto.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare function createBoxStream(nonce: Uint8Array, psk: Uint8Array): (so
|
|
7
7
|
/**
|
8
8
|
* Creates a stream iterable to decrypt messages in a private network
|
9
9
|
*/
|
10
|
-
export declare function createUnboxStream(nonce: Uint8Array, psk: Uint8Array): (source: Source<Uint8Array>) => AsyncGenerator<Uint8Array
|
10
|
+
export declare function createUnboxStream(nonce: Uint8Array, psk: Uint8Array): (source: Source<Uint8Array>) => AsyncGenerator<Uint8Array<ArrayBuffer>, void, unknown>;
|
11
11
|
/**
|
12
12
|
* Decode the version 1 psk from the given Uint8Array
|
13
13
|
*/
|
package/dist/src/crypto.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/crypto.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;GAEG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,cAAc,CAAC,KAAK,cAAc,CAAC,UAAU,GAAG,cAAc,CAAC,CAQjK;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/crypto.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;GAEG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,cAAc,CAAC,KAAK,cAAc,CAAC,UAAU,GAAG,cAAc,CAAC,CAQjK;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,IAC3D,QAAQ,MAAM,CAAC,UAAU,CAAC,4DAOnC;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAE,SAAS,EAAE,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CAyB/H"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"key-generator.d.ts","sourceRoot":"","sources":["../../src/key-generator.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"key-generator.d.ts","sourceRoot":"","sources":["../../src/key-generator.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAE,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC,WAAW,GAAG,IAAI,CASzE;AAED,eAAO,MAAM,YAAY,KAAK,CAAA;AAC9B,eAAO,MAAM,UAAU,KAAK,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@libp2p/pnet",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.37",
|
4
4
|
"description": "Implementation of Connection protection management via a shared secret",
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/pnet#readme",
|
@@ -29,13 +29,6 @@
|
|
29
29
|
"import": "./dist/src/index.js"
|
30
30
|
}
|
31
31
|
},
|
32
|
-
"eslintConfig": {
|
33
|
-
"extends": "ipfs",
|
34
|
-
"parserOptions": {
|
35
|
-
"project": true,
|
36
|
-
"sourceType": "module"
|
37
|
-
}
|
38
|
-
},
|
39
32
|
"scripts": {
|
40
33
|
"build": "aegir build",
|
41
34
|
"test": "aegir test",
|
@@ -50,10 +43,10 @@
|
|
50
43
|
"doc-check": "aegir doc-check"
|
51
44
|
},
|
52
45
|
"dependencies": {
|
53
|
-
"@libp2p/crypto": "^5.1.
|
54
|
-
"@libp2p/interface": "^2.10.
|
55
|
-
"it-byte-stream": "^2.0.
|
56
|
-
"it-map": "^3.1.
|
46
|
+
"@libp2p/crypto": "^5.1.3",
|
47
|
+
"@libp2p/interface": "^2.10.1",
|
48
|
+
"it-byte-stream": "^2.0.2",
|
49
|
+
"it-map": "^3.1.3",
|
57
50
|
"it-pair": "^2.0.6",
|
58
51
|
"it-pipe": "^3.0.1",
|
59
52
|
"it-stream-types": "^2.0.2",
|
@@ -62,13 +55,13 @@
|
|
62
55
|
"xsalsa20": "^1.2.0"
|
63
56
|
},
|
64
57
|
"devDependencies": {
|
65
|
-
"@libp2p/interface-compliance-tests": "^6.4.
|
66
|
-
"@libp2p/logger": "^5.1.
|
67
|
-
"@libp2p/peer-id": "^5.1.
|
68
|
-
"@multiformats/multiaddr": "^12.
|
58
|
+
"@libp2p/interface-compliance-tests": "^6.4.7",
|
59
|
+
"@libp2p/logger": "^5.1.17",
|
60
|
+
"@libp2p/peer-id": "^5.1.4",
|
61
|
+
"@multiformats/multiaddr": "^12.4.0",
|
69
62
|
"@types/xsalsa20": "^1.1.3",
|
70
|
-
"aegir": "^
|
71
|
-
"it-all": "^3.0.
|
63
|
+
"aegir": "^47.0.6",
|
64
|
+
"it-all": "^3.0.8"
|
72
65
|
},
|
73
66
|
"sideEffects": false
|
74
67
|
}
|