@libp2p/floodsub 11.0.21 → 11.0.22-5b8813abc
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/README.md +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +4 -4
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/sign.d.ts +1 -1
- package/dist/src/sign.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/index.ts +1 -1
- package/dist/typedoc-urls.json +0 -41
package/dist/src/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* It exists for academic purposes only, you should not use it in production.
|
|
9
9
|
*
|
|
10
|
-
* Instead please use [gossipsub](https://www.npmjs.com/package/@
|
|
10
|
+
* Instead please use [gossipsub](https://www.npmjs.com/package/@libp2p/gossipsub) - a more complete implementation which is also compatible with floodsub.
|
|
11
11
|
*
|
|
12
12
|
* @example Configuring libp2p to use floodsub
|
|
13
13
|
*
|
package/dist/src/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* It exists for academic purposes only, you should not use it in production.
|
|
9
9
|
*
|
|
10
|
-
* Instead please use [gossipsub](https://www.npmjs.com/package/@
|
|
10
|
+
* Instead please use [gossipsub](https://www.npmjs.com/package/@libp2p/gossipsub) - a more complete implementation which is also compatible with floodsub.
|
|
11
11
|
*
|
|
12
12
|
* @example Configuring libp2p to use floodsub
|
|
13
13
|
*
|
package/dist/src/sign.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PubSubRPCMessage } from './floodsub.ts';
|
|
2
2
|
import type { SignedMessage } from './index.ts';
|
|
3
3
|
import type { PeerId, PrivateKey, PublicKey } from '@libp2p/interface';
|
|
4
|
-
export declare const SignPrefix: Uint8Array<
|
|
4
|
+
export declare const SignPrefix: Uint8Array<ArrayBuffer>;
|
|
5
5
|
/**
|
|
6
6
|
* Signs the provided message with the given `peerId`
|
|
7
7
|
*/
|
package/dist/src/sign.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign.d.ts","sourceRoot":"","sources":["../../src/sign.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAEtE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"sign.d.ts","sourceRoot":"","sources":["../../src/sign.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAEtE,eAAO,MAAM,UAAU,yBAAyC,CAAA;AAEhE;;GAEG;AACH,wBAAsB,WAAW,CAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAoBpN;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CA4B9H;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAE,OAAO,EAAE,aAAa,GAAG,SAAS,CAoBnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/floodsub",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.22-5b8813abc",
|
|
4
4
|
"description": "libp2p-floodsub, also known as pubsub-flood or just dumbsub, this implementation of pubsub focused on delivering an API for Publish/Subscribe, but with no CastTree Forming (it just floods the network).",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/floodsub#readme",
|
|
@@ -54,25 +54,25 @@
|
|
|
54
54
|
"test:electron-main": "aegir test -t electron-main"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@libp2p/crypto": "
|
|
58
|
-
"@libp2p/interface": "
|
|
59
|
-
"@libp2p/interface-internal": "
|
|
60
|
-
"@libp2p/peer-collections": "
|
|
61
|
-
"@libp2p/peer-id": "
|
|
62
|
-
"@libp2p/utils": "
|
|
57
|
+
"@libp2p/crypto": "5.1.18-5b8813abc",
|
|
58
|
+
"@libp2p/interface": "3.2.2-5b8813abc",
|
|
59
|
+
"@libp2p/interface-internal": "3.1.5-5b8813abc",
|
|
60
|
+
"@libp2p/peer-collections": "7.0.20-5b8813abc",
|
|
61
|
+
"@libp2p/peer-id": "6.0.9-5b8813abc",
|
|
62
|
+
"@libp2p/utils": "7.2.1-5b8813abc",
|
|
63
63
|
"it-length-prefixed": "^10.0.1",
|
|
64
64
|
"main-event": "^1.0.1",
|
|
65
|
-
"multiformats": "^
|
|
65
|
+
"multiformats": "^14.0.0",
|
|
66
66
|
"p-queue": "^9.0.0",
|
|
67
67
|
"protons-runtime": "^6.0.1",
|
|
68
68
|
"uint8arraylist": "^2.4.8",
|
|
69
|
-
"uint8arrays": "^
|
|
69
|
+
"uint8arrays": "^6.1.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@libp2p/logger": "
|
|
73
|
-
"@multiformats/multiaddr": "^13.0.
|
|
72
|
+
"@libp2p/logger": "6.2.7-5b8813abc",
|
|
73
|
+
"@multiformats/multiaddr": "^13.0.3",
|
|
74
74
|
"@types/sinon": "^21.0.1",
|
|
75
|
-
"aegir": "^
|
|
75
|
+
"aegir": "^48.0.11",
|
|
76
76
|
"delay": "^7.0.0",
|
|
77
77
|
"p-wait-for": "^6.0.0",
|
|
78
78
|
"protons": "^8.1.1",
|
package/src/index.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* It exists for academic purposes only, you should not use it in production.
|
|
9
9
|
*
|
|
10
|
-
* Instead please use [gossipsub](https://www.npmjs.com/package/@
|
|
10
|
+
* Instead please use [gossipsub](https://www.npmjs.com/package/@libp2p/gossipsub) - a more complete implementation which is also compatible with floodsub.
|
|
11
11
|
*
|
|
12
12
|
* @example Configuring libp2p to use floodsub
|
|
13
13
|
*
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"TopicValidatorResult": "https://libp2p.github.io/js-libp2p/enums/_libp2p_floodsub.TopicValidatorResult.html",
|
|
3
|
-
".:TopicValidatorResult": "https://libp2p.github.io/js-libp2p/enums/_libp2p_floodsub.TopicValidatorResult.html",
|
|
4
|
-
"FloodSub": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSub.html",
|
|
5
|
-
".:FloodSub": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSub.html",
|
|
6
|
-
"FloodSubComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubComponents.html",
|
|
7
|
-
".:FloodSubComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubComponents.html",
|
|
8
|
-
"FloodSubEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubEvents.html",
|
|
9
|
-
".:FloodSubEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubEvents.html",
|
|
10
|
-
"FloodSubInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubInit.html",
|
|
11
|
-
".:FloodSubInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.FloodSubInit.html",
|
|
12
|
-
"PeerStreamsEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.PeerStreamsEvents.html",
|
|
13
|
-
".:PeerStreamsEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.PeerStreamsEvents.html",
|
|
14
|
-
"PublishResult": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.PublishResult.html",
|
|
15
|
-
".:PublishResult": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.PublishResult.html",
|
|
16
|
-
"SignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.SignedMessage.html",
|
|
17
|
-
".:SignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.SignedMessage.html",
|
|
18
|
-
"Subscription": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.Subscription.html",
|
|
19
|
-
".:Subscription": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.Subscription.html",
|
|
20
|
-
"SubscriptionChangeData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.SubscriptionChangeData.html",
|
|
21
|
-
".:SubscriptionChangeData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.SubscriptionChangeData.html",
|
|
22
|
-
"TopicValidatorFn": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.TopicValidatorFn.html",
|
|
23
|
-
".:TopicValidatorFn": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.TopicValidatorFn.html",
|
|
24
|
-
"UnsignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.UnsignedMessage.html",
|
|
25
|
-
".:UnsignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_floodsub.UnsignedMessage.html",
|
|
26
|
-
"Message": "https://libp2p.github.io/js-libp2p/types/_libp2p_floodsub.Message.html",
|
|
27
|
-
".:Message": "https://libp2p.github.io/js-libp2p/types/_libp2p_floodsub.Message.html",
|
|
28
|
-
"SignaturePolicy": "https://libp2p.github.io/js-libp2p/types/_libp2p_floodsub.SignaturePolicy.html",
|
|
29
|
-
".:SignaturePolicy": "https://libp2p.github.io/js-libp2p/types/_libp2p_floodsub.SignaturePolicy.html",
|
|
30
|
-
"protocol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.protocol.html",
|
|
31
|
-
".:protocol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.protocol.html",
|
|
32
|
-
"pubSubSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.pubSubSymbol.html",
|
|
33
|
-
"StrictNoSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.StrictNoSign.html",
|
|
34
|
-
".:StrictNoSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.StrictNoSign.html",
|
|
35
|
-
"StrictSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.StrictSign.html",
|
|
36
|
-
".:StrictSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_floodsub.StrictSign.html",
|
|
37
|
-
"floodsub": "https://libp2p.github.io/js-libp2p/functions/_libp2p_floodsub.floodsub.html",
|
|
38
|
-
".:floodsub": "https://libp2p.github.io/js-libp2p/functions/_libp2p_floodsub.floodsub.html",
|
|
39
|
-
"isPubSub": "https://libp2p.github.io/js-libp2p/functions/_libp2p_floodsub.isPubSub.html",
|
|
40
|
-
".:isPubSub": "https://libp2p.github.io/js-libp2p/functions/_libp2p_floodsub.isPubSub.html"
|
|
41
|
-
}
|