diff --git a/examples/eth-pm-wallet-encryption/package-lock.json b/examples/eth-pm-wallet-encryption/package-lock.json index 000b0e605f..8ea4d47bd8 100644 --- a/examples/eth-pm-wallet-encryption/package-lock.json +++ b/examples/eth-pm-wallet-encryption/package-lock.json @@ -19,7 +19,7 @@ "eth-sig-util": "^3.0.1", "ethers": "^5.5.4", "fontsource-roboto": "^4.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0" @@ -3901,11 +3901,6 @@ } } }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "node_modules/@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -13292,9 +13287,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -13304,16 +13299,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" }, "engines": { "node": ">=16" @@ -14360,19 +14362,6 @@ "multiaddr": "^10.0.0" } }, - "node_modules/multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "@multiformats/base-x": "^4.0.1" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, "node_modules/multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -14393,28 +14382,9 @@ "dev": true }, "node_modules/multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "node_modules/multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashes/node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "node_modules/multistream-select": { "version": "3.0.2", @@ -23922,11 +23892,6 @@ "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==", "requires": {} }, - "@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -31290,9 +31255,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -31302,16 +31267,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" } }, "js-yaml": { @@ -32177,14 +32149,6 @@ "multiaddr": "^10.0.0" } }, - "multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "requires": { - "@multiformats/base-x": "^4.0.1" - } - }, "multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -32202,26 +32166,9 @@ "dev": true }, "multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "requires": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "dependencies": { - "varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - } - } + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "multistream-select": { "version": "3.0.2", diff --git a/examples/eth-pm-wallet-encryption/package.json b/examples/eth-pm-wallet-encryption/package.json index e83f8d845d..aea922a72d 100644 --- a/examples/eth-pm-wallet-encryption/package.json +++ b/examples/eth-pm-wallet-encryption/package.json @@ -15,7 +15,7 @@ "eth-sig-util": "^3.0.1", "ethers": "^5.5.4", "fontsource-roboto": "^4.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0" diff --git a/examples/eth-pm/package-lock.json b/examples/eth-pm/package-lock.json index 2d0dc85dbc..135024f0c2 100644 --- a/examples/eth-pm/package-lock.json +++ b/examples/eth-pm/package-lock.json @@ -19,7 +19,7 @@ "eth-sig-util": "^3.0.1", "ethers": "^5.5.4", "fontsource-roboto": "^4.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0" @@ -3874,11 +3874,6 @@ } } }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "node_modules/@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -13253,9 +13248,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -13265,16 +13260,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" }, "engines": { "node": ">=16" @@ -14321,19 +14323,6 @@ "multiaddr": "^10.0.0" } }, - "node_modules/multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "@multiformats/base-x": "^4.0.1" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, "node_modules/multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -14354,28 +14343,9 @@ "dev": true }, "node_modules/multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "node_modules/multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashes/node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "node_modules/multistream-select": { "version": "3.0.2", @@ -23824,11 +23794,6 @@ "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==", "requires": {} }, - "@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -31179,9 +31144,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -31191,16 +31156,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" } }, "js-yaml": { @@ -32066,14 +32038,6 @@ "multiaddr": "^10.0.0" } }, - "multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "requires": { - "@multiformats/base-x": "^4.0.1" - } - }, "multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -32091,26 +32055,9 @@ "dev": true }, "multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "requires": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "dependencies": { - "varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - } - } + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "multistream-select": { "version": "3.0.2", diff --git a/examples/eth-pm/package.json b/examples/eth-pm/package.json index d3613cda11..3ca9d2e1cf 100644 --- a/examples/eth-pm/package.json +++ b/examples/eth-pm/package.json @@ -15,7 +15,7 @@ "eth-sig-util": "^3.0.1", "ethers": "^5.5.4", "fontsource-roboto": "^4.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0" diff --git a/examples/relay-reactjs-chat/package-lock.json b/examples/relay-reactjs-chat/package-lock.json index 5a3dd9aa1f..55002996a3 100644 --- a/examples/relay-reactjs-chat/package-lock.json +++ b/examples/relay-reactjs-chat/package-lock.json @@ -11,7 +11,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^13.2.0", "@testing-library/user-event": "^14.0.4", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -2484,10 +2484,6 @@ "version": "2.0.3", "license": "MIT" }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "license": "MIT" - }, "node_modules/@noble/ed25519": { "version": "1.6.0", "funding": [ @@ -9000,10 +8996,6 @@ "varint": "^6.0.0" } }, - "node_modules/it-length-prefixed/node_modules/varint": { - "version": "6.0.0", - "license": "MIT" - }, "node_modules/it-map": { "version": "1.0.6", "license": "ISC" @@ -10659,9 +10651,9 @@ "license": "MIT" }, "node_modules/js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -10671,16 +10663,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" }, "engines": { "node": ">=16" @@ -11034,10 +11033,6 @@ "varint": "^6.0.0" } }, - "node_modules/libp2p-mplex/node_modules/varint": { - "version": "6.0.0", - "license": "MIT" - }, "node_modules/libp2p-utils": { "version": "0.4.1", "license": "MIT", @@ -11076,10 +11071,6 @@ "node": ">= 6.13.0" } }, - "node_modules/libp2p/node_modules/varint": { - "version": "6.0.0", - "license": "MIT" - }, "node_modules/lilconfig": { "version": "2.0.4", "license": "MIT", @@ -11463,21 +11454,6 @@ "multiaddr": "^10.0.0" } }, - "node_modules/multiaddr/node_modules/varint": { - "version": "6.0.0", - "license": "MIT" - }, - "node_modules/multibase": { - "version": "4.0.6", - "license": "MIT", - "dependencies": { - "@multiformats/base-x": "^4.0.1" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, "node_modules/multicast-dns": { "version": "6.2.3", "license": "MIT", @@ -11494,21 +11470,9 @@ "license": "MIT" }, "node_modules/multiformats": { - "version": "9.5.8", - "license": "(Apache-2.0 AND MIT)" - }, - "node_modules/multihashes": { - "version": "4.0.3", - "license": "MIT", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "node_modules/multistream-select": { "version": "3.0.2", @@ -16100,6 +16064,11 @@ "node": ">= 8" } }, + "node_modules/varint": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" + }, "node_modules/vary": { "version": "1.1.2", "license": "MIT", @@ -18478,9 +18447,6 @@ "@leichtgewicht/ip-codec": { "version": "2.0.3" }, - "@multiformats/base-x": { - "version": "4.0.1" - }, "@noble/ed25519": { "version": "1.6.0" }, @@ -22583,11 +22549,6 @@ "bl": "^5.0.0", "buffer": "^6.0.3", "varint": "^6.0.0" - }, - "dependencies": { - "varint": { - "version": "6.0.0" - } } }, "it-map": { @@ -23624,9 +23585,9 @@ "version": "4.0.0" }, "js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -23636,16 +23597,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" } }, "js-yaml": { @@ -23840,9 +23808,6 @@ "dependencies": { "node-forge": { "version": "1.2.1" - }, - "varint": { - "version": "6.0.0" } } }, @@ -23915,11 +23880,6 @@ "it-pipe": "^1.1.0", "it-pushable": "^1.4.1", "varint": "^6.0.0" - }, - "dependencies": { - "varint": { - "version": "6.0.0" - } } }, "libp2p-utils": { @@ -24183,11 +24143,6 @@ "multiformats": "^9.4.5", "uint8arrays": "^3.0.0", "varint": "^6.0.0" - }, - "dependencies": { - "varint": { - "version": "6.0.0" - } } }, "multiaddr-to-uri": { @@ -24196,12 +24151,6 @@ "multiaddr": "^10.0.0" } }, - "multibase": { - "version": "4.0.6", - "requires": { - "@multiformats/base-x": "^4.0.1" - } - }, "multicast-dns": { "version": "6.2.3", "requires": { @@ -24213,15 +24162,9 @@ "version": "1.1.0" }, "multiformats": { - "version": "9.5.8" - }, - "multihashes": { - "version": "4.0.3", - "requires": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - } + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "multistream-select": { "version": "3.0.2", @@ -26993,6 +26936,11 @@ } } }, + "varint": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" + }, "vary": { "version": "1.1.2" }, diff --git a/examples/relay-reactjs-chat/package.json b/examples/relay-reactjs-chat/package.json index dbf4da5df1..06e906337b 100644 --- a/examples/relay-reactjs-chat/package.json +++ b/examples/relay-reactjs-chat/package.json @@ -7,7 +7,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^13.2.0", "@testing-library/user-event": "^14.0.4", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/store-reactjs-chat/package-lock.json b/examples/store-reactjs-chat/package-lock.json index 4c2c865d5e..6403ba2cab 100644 --- a/examples/store-reactjs-chat/package-lock.json +++ b/examples/store-reactjs-chat/package-lock.json @@ -13,7 +13,7 @@ "@testing-library/user-event": "^14.1.1", "assert": "^2.0.0", "buffer": "^6.0.3", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protons": "^2.0.3", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -2597,11 +2597,6 @@ "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==" }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "node_modules/@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -10303,9 +10298,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -10315,16 +10310,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" }, "engines": { "node": ">=16" @@ -11142,19 +11144,6 @@ "multiaddr": "^10.0.0" } }, - "node_modules/multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "@multiformats/base-x": "^4.0.1" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, "node_modules/multicast-dns": { "version": "7.2.4", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", @@ -11172,25 +11161,6 @@ "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, - "node_modules/multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashes/node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - }, "node_modules/multistream-select": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/multistream-select/-/multistream-select-3.0.2.tgz", @@ -18948,11 +18918,6 @@ "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==" }, - "@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -24699,9 +24664,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -24711,16 +24676,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" } }, "js-yaml": { @@ -25379,14 +25351,6 @@ "multiaddr": "^10.0.0" } }, - "multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "requires": { - "@multiformats/base-x": "^4.0.1" - } - }, "multicast-dns": { "version": "7.2.4", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", @@ -25401,23 +25365,6 @@ "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, - "multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "requires": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "dependencies": { - "varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - } - } - }, "multistream-select": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/multistream-select/-/multistream-select-3.0.2.tgz", diff --git a/examples/store-reactjs-chat/package.json b/examples/store-reactjs-chat/package.json index e9471428e7..0a20d03f2c 100644 --- a/examples/store-reactjs-chat/package.json +++ b/examples/store-reactjs-chat/package.json @@ -9,7 +9,7 @@ "@testing-library/user-event": "^14.1.1", "assert": "^2.0.0", "buffer": "^6.0.3", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "protons": "^2.0.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 810a732636..63fd0263d8 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -13,7 +13,7 @@ "buffer": "^6.0.3", "http-browserify": "^1.7.0", "https-browserify": "^1.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "process": "^0.11.10", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -4096,11 +4096,6 @@ "react": "^16.8.0 || ^17.0.0" } }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "node_modules/@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -15892,9 +15887,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -15904,16 +15899,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" }, "engines": { "node": ">=16" @@ -16792,19 +16794,6 @@ "multiaddr": "^10.0.0" } }, - "node_modules/multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "deprecated": "This module has been superseded by the multiformats module", - "dependencies": { - "@multiformats/base-x": "^4.0.1" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, "node_modules/multicast-dns": { "version": "7.2.4", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", @@ -16819,28 +16808,9 @@ } }, "node_modules/multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "node_modules/multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashes/node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "node_modules/multistream-select": { "version": "3.0.2", @@ -26836,11 +26806,6 @@ } } }, - "@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, "@noble/ed25519": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.6.0.tgz", @@ -35887,9 +35852,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-waku": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", - "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.24.0.tgz", + "integrity": "sha512-8l7/WuadaaGy6XmVKutZpJ61JohbBe8WamJUtNiTd8WdxhBuz/rXh5RUiD8mjiiG8kEzQ+3+E68rvIpb/+BbXw==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", @@ -35899,16 +35864,23 @@ "hi-base32": "^0.5.1", "it-concat": "^2.0.0", "it-length-prefixed": "^5.0.2", + "it-pipe": "^1.1.0", "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", + "libp2p-crypto": "^0.21.2", "libp2p-gossipsub": "0.13.0", + "libp2p-interfaces": "^4.0.6", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", + "long": "^4.0.0", "multiaddr": "^10.0.1", - "multihashes": "^4.0.3", + "multiformats": "^9.6.5", + "peer-id": "^0.16.0", "protobufjs": "^6.8.8", - "uuid": "^8.3.2" + "uint8arrays": "^3.0.0", + "uuid": "^8.3.2", + "varint": "^6.0.0" } }, "js-yaml": { @@ -36628,14 +36600,6 @@ "multiaddr": "^10.0.0" } }, - "multibase": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.6.tgz", - "integrity": "sha512-x23pDe5+svdLz/k5JPGCVdfn7Q5mZVMBETiC+ORfO+sor9Sgs0smJzAjfTbM5tckeCqnaUuMYoz+k3RXMmJClQ==", - "requires": { - "@multiformats/base-x": "^4.0.1" - } - }, "multicast-dns": { "version": "7.2.4", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.4.tgz", @@ -36647,26 +36611,9 @@ } }, "multiformats": { - "version": "9.6.4", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.4.tgz", - "integrity": "sha512-fCCB6XMrr6CqJiHNjfFNGT0v//dxOBMrOMqUIzpPc/mmITweLEyhvMpY9bF+jZ9z3vaMAau5E8B68DW77QMXkg==" - }, - "multihashes": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.3.tgz", - "integrity": "sha512-0AhMH7Iu95XjDLxIeuCOOE4t9+vQZsACyKZ9Fxw2pcsRmlX4iCn1mby0hS0bb+nQOVpdQYWPpnyusw4da5RPhA==", - "requires": { - "multibase": "^4.0.1", - "uint8arrays": "^3.0.0", - "varint": "^5.0.2" - }, - "dependencies": { - "varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - } - } + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz", + "integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw==" }, "multistream-select": { "version": "3.0.2", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 1b36786bf6..b9041a8fea 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -9,7 +9,7 @@ "buffer": "^6.0.3", "http-browserify": "^1.7.0", "https-browserify": "^1.0.0", - "js-waku": "^0.22.0", + "js-waku": "^0.24.0", "process": "^0.11.10", "react": "^18.1.0", "react-dom": "^18.1.0",