mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-06-06 11:59:27 +00:00
Merge branch 'master' of https://github.com/waku-org/js-waku into chore/new-store-tests
This commit is contained in:
commit
a7ef4b80da
46
package-lock.json
generated
46
package-lock.json
generated
@ -10178,7 +10178,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fast-check": {
|
"node_modules/fast-check": {
|
||||||
"version": "3.13.0",
|
"version": "3.13.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.1.tgz",
|
||||||
|
"integrity": "sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "individual",
|
"type": "individual",
|
||||||
@ -10189,7 +10191,6 @@
|
|||||||
"url": "https://opencollective.com/fast-check"
|
"url": "https://opencollective.com/fast-check"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pure-rand": "^6.0.0"
|
"pure-rand": "^6.0.0"
|
||||||
},
|
},
|
||||||
@ -13018,8 +13019,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/libp2p": {
|
"node_modules/libp2p": {
|
||||||
"version": "0.46.11",
|
"version": "0.46.12",
|
||||||
"license": "Apache-2.0 OR MIT",
|
"resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.12.tgz",
|
||||||
|
"integrity": "sha512-LPEfSVW/tsFNaUplNo/QqDsg9C7wed+lBGPUUhUsRcnPnKQTqZnKBpA9pSv2+A0ST9B++uiyCOk+JK7nIlpjeA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@achingbrain/nat-port-mapper": "^1.0.9",
|
"@achingbrain/nat-port-mapper": "^1.0.9",
|
||||||
"@libp2p/crypto": "^2.0.4",
|
"@libp2p/crypto": "^2.0.4",
|
||||||
@ -25826,7 +25828,7 @@
|
|||||||
"@waku/build-utils": "*",
|
"@waku/build-utils": "*",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
@ -25922,7 +25924,7 @@
|
|||||||
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
||||||
"@multiformats/multiaddr": "^12.0.0",
|
"@multiformats/multiaddr": "^12.0.0",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"npm-run-all": "^4.1.5"
|
"npm-run-all": "^4.1.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -25951,7 +25953,7 @@
|
|||||||
"@waku/build-utils": "*",
|
"@waku/build-utils": "*",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
@ -25980,7 +25982,7 @@
|
|||||||
"@waku/interfaces": "0.0.18",
|
"@waku/interfaces": "0.0.18",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
@ -26058,7 +26060,7 @@
|
|||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-check": "^3.12.0"
|
"fast-check": "^3.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "^25.0.4",
|
"@rollup/plugin-commonjs": "^25.0.4",
|
||||||
@ -26085,7 +26087,7 @@
|
|||||||
"@waku/peer-exchange": "^0.0.16",
|
"@waku/peer-exchange": "^0.0.16",
|
||||||
"@waku/relay": "0.0.6",
|
"@waku/relay": "0.0.6",
|
||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"libp2p": "^0.46.9"
|
"libp2p": "^0.46.12"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
||||||
@ -26139,7 +26141,7 @@
|
|||||||
"datastore-core": "^9.2.3",
|
"datastore-core": "^9.2.3",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"interface-datastore": "^8.2.5",
|
"interface-datastore": "^8.2.5",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5"
|
"npm-run-all": "^4.1.5"
|
||||||
},
|
},
|
||||||
@ -29048,7 +29050,7 @@
|
|||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"it-all": "^3.0.3",
|
"it-all": "^3.0.3",
|
||||||
@ -29160,7 +29162,7 @@
|
|||||||
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
||||||
"@multiformats/multiaddr": "^12.0.0",
|
"@multiformats/multiaddr": "^12.0.0",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"npm-run-all": "^4.1.5"
|
"npm-run-all": "^4.1.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -29181,7 +29183,7 @@
|
|||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"js-sha3": "^0.8.0",
|
"js-sha3": "^0.8.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
@ -29204,7 +29206,7 @@
|
|||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
@ -29267,7 +29269,7 @@
|
|||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"rollup": "^3.29.2"
|
"rollup": "^3.29.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -29290,7 +29292,7 @@
|
|||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"interface-datastore": "^8.2.5",
|
"interface-datastore": "^8.2.5",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"rollup": "^3.29.2"
|
"rollup": "^3.29.2"
|
||||||
}
|
}
|
||||||
@ -29322,7 +29324,7 @@
|
|||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"dockerode": "^3.3.5",
|
"dockerode": "^3.3.5",
|
||||||
"interface-datastore": "^8.2.5",
|
"interface-datastore": "^8.2.5",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"p-retry": "^6.0.0",
|
"p-retry": "^6.0.0",
|
||||||
@ -32674,7 +32676,9 @@
|
|||||||
"version": "0.1.8"
|
"version": "0.1.8"
|
||||||
},
|
},
|
||||||
"fast-check": {
|
"fast-check": {
|
||||||
"version": "3.13.0",
|
"version": "3.13.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.1.tgz",
|
||||||
|
"integrity": "sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"pure-rand": "^6.0.0"
|
"pure-rand": "^6.0.0"
|
||||||
}
|
}
|
||||||
@ -34367,7 +34371,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libp2p": {
|
"libp2p": {
|
||||||
"version": "0.46.11",
|
"version": "0.46.12",
|
||||||
|
"resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.46.12.tgz",
|
||||||
|
"integrity": "sha512-LPEfSVW/tsFNaUplNo/QqDsg9C7wed+lBGPUUhUsRcnPnKQTqZnKBpA9pSv2+A0ST9B++uiyCOk+JK7nIlpjeA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@achingbrain/nat-port-mapper": "^1.0.9",
|
"@achingbrain/nat-port-mapper": "^1.0.9",
|
||||||
"@libp2p/crypto": "^2.0.4",
|
"@libp2p/crypto": "^2.0.4",
|
||||||
|
|||||||
@ -96,7 +96,7 @@
|
|||||||
"@waku/build-utils": "*",
|
"@waku/build-utils": "*",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
"@multiformats/multiaddr": "^12.0.0",
|
"@multiformats/multiaddr": "^12.0.0",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"libp2p": "^0.46.9"
|
"libp2p": "^0.46.12"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"@waku/build-utils": "*",
|
"@waku/build-utils": "*",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
|
|||||||
@ -64,7 +64,7 @@
|
|||||||
"@waku/interfaces": "0.0.18",
|
"@waku/interfaces": "0.0.18",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"cspell": "^7.3.2",
|
"cspell": "^7.3.2",
|
||||||
"fast-check": "^3.12.0",
|
"fast-check": "^3.13.1",
|
||||||
"ignore-loader": "^0.1.2",
|
"ignore-loader": "^0.1.2",
|
||||||
"isomorphic-fetch": "^3.0.0",
|
"isomorphic-fetch": "^3.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
"@waku/utils": "0.0.11",
|
"@waku/utils": "0.0.11",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.3.7",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-check": "^3.12.0"
|
"fast-check": "^3.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "^25.0.4",
|
"@rollup/plugin-commonjs": "^25.0.4",
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
"@waku/dns-discovery": "0.0.17",
|
"@waku/dns-discovery": "0.0.17",
|
||||||
"@waku/interfaces": "0.0.18",
|
"@waku/interfaces": "0.0.18",
|
||||||
"@waku/peer-exchange": "^0.0.16",
|
"@waku/peer-exchange": "^0.0.16",
|
||||||
"libp2p": "^0.46.9"
|
"libp2p": "^0.46.12"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
"@chainsafe/libp2p-gossipsub": "^10.1.0",
|
||||||
|
|||||||
@ -82,7 +82,7 @@
|
|||||||
"datastore-core": "^9.2.3",
|
"datastore-core": "^9.2.3",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"interface-datastore": "^8.2.5",
|
"interface-datastore": "^8.2.5",
|
||||||
"libp2p": "^0.46.9",
|
"libp2p": "^0.46.12",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"npm-run-all": "^4.1.5"
|
"npm-run-all": "^4.1.5"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -114,7 +114,7 @@ describe("Waku Filter V2: Multiple PubSubtopics", function () {
|
|||||||
DefaultPubSubTopic,
|
DefaultPubSubTopic,
|
||||||
await nwaku2.getPeerId()
|
await nwaku2.getPeerId()
|
||||||
);
|
);
|
||||||
await nwaku.ensureSubscriptions([DefaultPubSubTopic]);
|
await nwaku2.ensureSubscriptions([DefaultPubSubTopic]);
|
||||||
|
|
||||||
const messageCollector2 = new MessageCollector();
|
const messageCollector2 = new MessageCollector();
|
||||||
|
|
||||||
|
|||||||
@ -328,6 +328,7 @@ describe("Waku Filter V2: Subscribe", function () {
|
|||||||
DefaultPubSubTopic,
|
DefaultPubSubTopic,
|
||||||
await nwaku2.getPeerId()
|
await nwaku2.getPeerId()
|
||||||
);
|
);
|
||||||
|
await nwaku2.ensureSubscriptions([DefaultPubSubTopic]);
|
||||||
// Send a message using the new subscription
|
// Send a message using the new subscription
|
||||||
const newContentTopic = "/test/2/waku-filter";
|
const newContentTopic = "/test/2/waku-filter";
|
||||||
const newEncoder = createEncoder({ contentTopic: newContentTopic });
|
const newEncoder = createEncoder({ contentTopic: newContentTopic });
|
||||||
|
|||||||
@ -114,6 +114,7 @@ describe("Waku Light Push : Multiple PubSubtopics", function () {
|
|||||||
relay: true,
|
relay: true,
|
||||||
topic: [DefaultPubSubTopic]
|
topic: [DefaultPubSubTopic]
|
||||||
});
|
});
|
||||||
|
await nwaku2.ensureSubscriptions([DefaultPubSubTopic]);
|
||||||
await waku.dial(await nwaku2.getMultiaddrWithId());
|
await waku.dial(await nwaku2.getMultiaddrWithId());
|
||||||
await waitForRemotePeer(waku, [Protocols.LightPush]);
|
await waitForRemotePeer(waku, [Protocols.LightPush]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user