@libp2p/floodsub 11.0.21 → 11.0.22-29797a5bb

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.
@@ -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/@chainsafe/libp2p-gossipsub) - a more complete implementation which is also compatible with floodsub.
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/@chainsafe/libp2p-gossipsub) - a more complete implementation which is also compatible with floodsub.
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
  *
@@ -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<ArrayBufferLike>;
4
+ export declare const SignPrefix: Uint8Array<ArrayBuffer>;
5
5
  /**
6
6
  * Signs the provided message with the given `peerId`
7
7
  */
@@ -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,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,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.21",
3
+ "version": "11.0.22-29797a5bb",
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": "^5.1.18",
58
- "@libp2p/interface": "^3.2.2",
59
- "@libp2p/interface-internal": "^3.1.5",
60
- "@libp2p/peer-collections": "^7.0.20",
61
- "@libp2p/peer-id": "^6.0.9",
62
- "@libp2p/utils": "^7.2.1",
57
+ "@libp2p/crypto": "5.1.18-29797a5bb",
58
+ "@libp2p/interface": "3.2.2-29797a5bb",
59
+ "@libp2p/interface-internal": "3.1.5-29797a5bb",
60
+ "@libp2p/peer-collections": "7.0.20-29797a5bb",
61
+ "@libp2p/peer-id": "6.0.9-29797a5bb",
62
+ "@libp2p/utils": "7.2.1-29797a5bb",
63
63
  "it-length-prefixed": "^10.0.1",
64
64
  "main-event": "^1.0.1",
65
65
  "multiformats": "^13.4.1",
66
66
  "p-queue": "^9.0.0",
67
67
  "protons-runtime": "^6.0.1",
68
68
  "uint8arraylist": "^2.4.8",
69
- "uint8arrays": "^5.1.0"
69
+ "uint8arrays": "^6.1.1"
70
70
  },
71
71
  "devDependencies": {
72
- "@libp2p/logger": "^6.2.7",
72
+ "@libp2p/logger": "6.2.7-29797a5bb",
73
73
  "@multiformats/multiaddr": "^13.0.1",
74
74
  "@types/sinon": "^21.0.1",
75
- "aegir": "^47.0.22",
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/@chainsafe/libp2p-gossipsub) - a more complete implementation which is also compatible with floodsub.
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
  *
@@ -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
- }