@minip2p/node 0.13.1 → 0.14.0
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/addon.d.ts +2 -2
- package/package.json +9 -9
- package/src/addon.d.ts +2 -2
package/dist/addon.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ export declare class NodeEndpoint {
|
|
|
37
37
|
isPeerReady(peerId: string): boolean
|
|
38
38
|
/** Returns the latest Identify snapshot. */
|
|
39
39
|
peerInfo(peerId: string): NativeIdentifyInfo | null
|
|
40
|
-
/**
|
|
41
|
-
|
|
40
|
+
/** Tells the endpoint its host is back from a pause, so a relay reservation recovers at once. */
|
|
41
|
+
resume(): void
|
|
42
42
|
/** Subscribes to a pubsub topic. */
|
|
43
43
|
subscribe(topic: string): boolean
|
|
44
44
|
/** Unsubscribes from a pubsub topic. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minip2p/node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Node.js bindings for minip2p",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libp2p",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"registry": "https://registry.npmjs.org/"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@minip2p/core": "0.
|
|
41
|
+
"@minip2p/core": "0.14.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@minip2p/test-fixtures": "0.0.0",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"typescript": "7.0.2"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@minip2p/node-darwin-arm64": "0.
|
|
52
|
-
"@minip2p/node-darwin-x64": "0.
|
|
53
|
-
"@minip2p/node-linux-arm64-gnu": "0.
|
|
54
|
-
"@minip2p/node-linux-arm64-musl": "0.
|
|
55
|
-
"@minip2p/node-linux-x64-gnu": "0.
|
|
56
|
-
"@minip2p/node-linux-x64-musl": "0.
|
|
57
|
-
"@minip2p/node-win32-x64-msvc": "0.
|
|
51
|
+
"@minip2p/node-darwin-arm64": "0.14.0",
|
|
52
|
+
"@minip2p/node-darwin-x64": "0.14.0",
|
|
53
|
+
"@minip2p/node-linux-arm64-gnu": "0.14.0",
|
|
54
|
+
"@minip2p/node-linux-arm64-musl": "0.14.0",
|
|
55
|
+
"@minip2p/node-linux-x64-gnu": "0.14.0",
|
|
56
|
+
"@minip2p/node-linux-x64-musl": "0.14.0",
|
|
57
|
+
"@minip2p/node-win32-x64-msvc": "0.14.0"
|
|
58
58
|
},
|
|
59
59
|
"napi": {
|
|
60
60
|
"binaryName": "minip2p",
|
package/src/addon.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ export declare class NodeEndpoint {
|
|
|
37
37
|
isPeerReady(peerId: string): boolean
|
|
38
38
|
/** Returns the latest Identify snapshot. */
|
|
39
39
|
peerInfo(peerId: string): NativeIdentifyInfo | null
|
|
40
|
-
/**
|
|
41
|
-
|
|
40
|
+
/** Tells the endpoint its host is back from a pause, so a relay reservation recovers at once. */
|
|
41
|
+
resume(): void
|
|
42
42
|
/** Subscribes to a pubsub topic. */
|
|
43
43
|
subscribe(topic: string): boolean
|
|
44
44
|
/** Unsubscribes from a pubsub topic. */
|