diff --git a/examples/dogfooding/package-lock.json b/examples/dogfooding/package-lock.json index 62a6758..df73a73 100644 --- a/examples/dogfooding/package-lock.json +++ b/examples/dogfooding/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@libp2p/crypto": "^5.0.5", "@multiformats/multiaddr": "^12.3.1", - "@waku/sdk": "0.0.34", + "@waku/sdk": "0.0.35-8866516.0", "libp2p": "^2.1.10", "protobufjs": "^7.3.0", "uint8arrays": "^5.1.0" @@ -1573,17 +1573,17 @@ ] }, "node_modules/@waku/core": { - "version": "0.0.38", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.38.tgz", - "integrity": "sha512-Vm7o5uA7oQDc5tL6UHWUCsNqk8U7Dw+jAzbIjfsUJjNCtWov/8e1+ysrihcJfz0YmQnXfiuGA/rJSaJwMhtiNQ==", + "version": "0.0.39-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.39-8866516.0.tgz", + "integrity": "sha512-VqQNV+CLgq2FLbqMJsmdzf1XeK2f5HoAZHDhxwk8TXXqnbOTNCklN1rHAvQuoyiCsSL36KXKhzgZ/vbb0oN1tQ==", "license": "MIT OR Apache-2.0", "dependencies": { "@libp2p/ping": "2.0.35", "@noble/hashes": "^1.3.2", - "@waku/enr": "^0.0.32", - "@waku/interfaces": "0.0.33", - "@waku/proto": "0.0.13", - "@waku/utils": "0.0.26", + "@waku/enr": "0.0.33-8866516.0", + "@waku/interfaces": "0.0.34-8866516.0", + "@waku/proto": "0.0.14-8866516.0", + "@waku/utils": "0.0.27-8866516.0", "debug": "^4.3.4", "it-all": "^3.0.4", "it-length-prefixed": "^9.0.4", @@ -1625,16 +1625,16 @@ } }, "node_modules/@waku/discovery": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.11.tgz", - "integrity": "sha512-PeL1nECYHnkCAZlIAl72JBqnuKOABlaxU0LydhH6gyCuwfilw09aWD8JFk6oVwLyW2LhUpckkUWP8Gg18qIW8g==", + "version": "0.0.12-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.12-8866516.0.tgz", + "integrity": "sha512-Qv+IXBljZTVISakbgGbI+xVOeBtLBeKQo8K4jLEpzv/vgHQVOLuT3eULgcrCdMXenymz9gVes8VDq2a1foNkDA==", "license": "MIT OR Apache-2.0", "dependencies": { - "@waku/core": "0.0.38", - "@waku/enr": "0.0.32", - "@waku/interfaces": "0.0.33", - "@waku/proto": "^0.0.13", - "@waku/utils": "0.0.26", + "@waku/core": "0.0.39-8866516.0", + "@waku/enr": "0.0.33-8866516.0", + "@waku/interfaces": "0.0.34-8866516.0", + "@waku/proto": "0.0.14-8866516.0", + "@waku/utils": "0.0.27-8866516.0", "debug": "^4.3.4", "dns-over-http-resolver": "^3.0.8", "hi-base32": "^0.5.1", @@ -1645,9 +1645,9 @@ } }, "node_modules/@waku/enr": { - "version": "0.0.32", - "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.32.tgz", - "integrity": "sha512-bAC/uYV9L25mCjoFY0Z9dQzrZr8/OV60GhNGbbqvRi9uX/k6suiT4guWATzW01c3p1TsWEO1uJS2zDzSPvgcWg==", + "version": "0.0.33-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.33-8866516.0.tgz", + "integrity": "sha512-h9DR7vyX7QYuPsjnFY8icgs1xHzxj4V5lPMld1Kj/Tqj4eCv6zk87WVdPm6tr1AcXVoyIGzAIgpxA9qi/BxpeQ==", "license": "MIT OR Apache-2.0", "dependencies": { "@ethersproject/rlp": "^5.7.0", @@ -1655,7 +1655,7 @@ "@libp2p/peer-id": "5.1.7", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", - "@waku/utils": "0.0.26", + "@waku/utils": "0.0.27-8866516.0", "debug": "^4.3.4", "js-sha3": "^0.9.2" }, @@ -1699,18 +1699,18 @@ } }, "node_modules/@waku/interfaces": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.33.tgz", - "integrity": "sha512-+DAc6l/pxW+o8a9NQb3bjZ0auwItXGuamqJe8UmjJd5w70RVqNZgl8WNH9lAkOH2UswYBdQjKaS5VNxBMFj8ew==", + "version": "0.0.34-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.34-8866516.0.tgz", + "integrity": "sha512-qWmF0Dv16jIqxlnL/UAnVYf2CfXa/F9rNMdeqIM4CIEQd5hQ8Z1UI0xY/ElkpzyzBOTjuCk3Tk0ag5w3I/khYA==", "license": "MIT OR Apache-2.0", "engines": { "node": ">=22" } }, "node_modules/@waku/proto": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.13.tgz", - "integrity": "sha512-t2ZFQ4TSJWsyljxBIRhA1lOvmgqDCReiX2GaRoJEXWnglOYxWlHzQ7rkIq1aONAiRqG6JWB4nfE4FcJVSE7TkA==", + "version": "0.0.14-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.14-8866516.0.tgz", + "integrity": "sha512-bu6f6YHr/vgl+Ck/hK4mI23A8U/D7GGhHu3BjTc6bwXRimcbeZboSac4UBurZ/tahB6GssbMjbvDDY2vnFJzXQ==", "license": "MIT OR Apache-2.0", "dependencies": { "protons-runtime": "^5.4.0" @@ -1720,9 +1720,9 @@ } }, "node_modules/@waku/sdk": { - "version": "0.0.34", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.34.tgz", - "integrity": "sha512-1kLafimSX9QeSk2/W/V+ErcekZgMR/OmtqmtM78BhW7n+Yo9XpI1ZVsGGKIu3mXnt/mKgCt0Pg4mViEl4PIlIg==", + "version": "0.0.35-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.35-8866516.0.tgz", + "integrity": "sha512-qOZh7SiAnOB9t4y3FUM/X15elx9okcJJKHlkkjs15oxPGKL870/hBS9h3C7Gd0z4UVi4Fvyr3nJhvXjSCW0wCw==", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-noise": "16.1.3", @@ -1732,11 +1732,11 @@ "@libp2p/ping": "2.0.35", "@libp2p/websockets": "9.2.16", "@noble/hashes": "^1.3.3", - "@waku/core": "0.0.38", - "@waku/discovery": "0.0.11", - "@waku/interfaces": "0.0.33", - "@waku/proto": "^0.0.13", - "@waku/utils": "0.0.26", + "@waku/core": "0.0.39-8866516.0", + "@waku/discovery": "0.0.12-8866516.0", + "@waku/interfaces": "0.0.34-8866516.0", + "@waku/proto": "0.0.14-8866516.0", + "@waku/utils": "0.0.27-8866516.0", "libp2p": "2.8.11" }, "engines": { @@ -1744,13 +1744,13 @@ } }, "node_modules/@waku/utils": { - "version": "0.0.26", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.26.tgz", - "integrity": "sha512-SAtusOZMSe9IGfeEucxkdsIiFYX0/2qrJUUC837Gqr6bJpimnrbSfO2cC7OpQ8SjeNbe3NUPa+/+kl3F8UDQkg==", + "version": "0.0.27-8866516.0", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.27-8866516.0.tgz", + "integrity": "sha512-dxWoSA8QKtqDqOQSyFhZIgAydTcR5pqpal8Av3PJuZJBpBYU7yWXKuCyTnR8TISUwBhQSK+y7oD5bv/IKgfnxA==", "license": "MIT OR Apache-2.0", "dependencies": { "@noble/hashes": "^1.3.2", - "@waku/interfaces": "0.0.33", + "@waku/interfaces": "0.0.34-8866516.0", "chai": "^4.3.10", "debug": "^4.3.4", "uint8arrays": "^5.0.1" @@ -7456,9 +7456,9 @@ "license": "MIT" }, "node_modules/quick-lru": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-7.0.1.tgz", - "integrity": "sha512-kLjThirJMkWKutUKbZ8ViqFc09tDQhlbQo2MNuVeLWbRauqYP96Sm6nzlQ24F0HFjUNZ4i9+AgldJ9H6DZXi7g==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-7.1.0.tgz", + "integrity": "sha512-Pzd/4IFnTb8E+I1P5rbLQoqpUHcXKg48qTYKi4EANg+sTPwGFEMOcYGiiZz6xuQcOMZP7MPsrdAPx+16Q8qahg==", "license": "MIT", "engines": { "node": ">=18" diff --git a/examples/dogfooding/package.json b/examples/dogfooding/package.json index 9d063b4..ee1cab9 100644 --- a/examples/dogfooding/package.json +++ b/examples/dogfooding/package.json @@ -9,7 +9,7 @@ "dependencies": { "@libp2p/crypto": "^5.0.5", "@multiformats/multiaddr": "^12.3.1", - "@waku/sdk": "0.0.34", + "@waku/sdk": "0.0.35-8866516.0", "libp2p": "^2.1.10", "protobufjs": "^7.3.0", "uint8arrays": "^5.1.0" diff --git a/examples/dogfooding/src/index.ts b/examples/dogfooding/src/index.ts index f1ed3ad..1489605 100644 --- a/examples/dogfooding/src/index.ts +++ b/examples/dogfooding/src/index.ts @@ -59,8 +59,8 @@ async function initializeApp() { try { const result = await node.lightPush.send(encoder, { payload, - timestamp: new Date(chatMessage.timestamp), - }, { autoRetry: true }); + timestamp: new Date(chatMessage.timestamp) + }); if (result.successes.length > 0) { console.log(`Message ${i + 1} (ID: ${chatMessage.id}) sent successfully.`); @@ -126,8 +126,8 @@ async function initializeApp() { try { const result = await node.lightPush.send(encoder, { payload, - timestamp: new Date(chatMessage.timestamp), - }, { autoRetry: true }); + timestamp: new Date(chatMessage.timestamp) + }); if (result.successes.length > 0) { console.log(`Continuous message (ID: ${chatMessage.id}) sent successfully.`);