diff --git a/examples/node/package.json b/examples/node/package.json index fa70abc..1becc4a 100644 --- a/examples/node/package.json +++ b/examples/node/package.json @@ -7,12 +7,12 @@ "author": "LI.FI ", "license": "MIT", "dependencies": { - "@lifi/data-types": "^5.23.0", + "@lifi/data-types": "^5.24.0", "@lifi/sdk": "^3.5.3", - "@wagmi/connectors": "^5.7.5", + "@wagmi/connectors": "^5.7.6", "@wagmi/core": "^2.16.3", "dotenv": "^16.4.7", - "viem": "^2.22.21" + "viem": "^2.22.22" }, "scripts": { "example:swap": "tsx examples/swap.ts", diff --git a/examples/node/pnpm-lock.yaml b/examples/node/pnpm-lock.yaml index 0f0d624..4f4f318 100644 --- a/examples/node/pnpm-lock.yaml +++ b/examples/node/pnpm-lock.yaml @@ -9,23 +9,23 @@ importers: .: dependencies: '@lifi/data-types': - specifier: ^5.23.0 - version: 5.23.0 + specifier: ^5.24.0 + version: 5.24.0 '@lifi/sdk': specifier: ^3.5.3 - version: 3.5.3(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) + version: 3.5.3(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) '@wagmi/connectors': - specifier: ^5.7.5 - version: 5.7.5(@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) + specifier: ^5.7.6 + version: 5.7.6(@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) '@wagmi/core': specifier: ^2.16.3 - version: 2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) + version: 2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) dotenv: specifier: ^16.4.7 version: 16.4.7 viem: - specifier: ^2.22.21 - version: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + specifier: ^2.22.22 + version: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) devDependencies: '@types/node': specifier: ^22.13.1 @@ -221,20 +221,20 @@ packages: resolution: {integrity: sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==} engines: {node: '>=14'} - '@lifi/data-types@5.23.0': - resolution: {integrity: sha512-I+PXWcaKOleeQQj/ezoqk5EmbJe8lM6eJ/+EDPuXgYqA4SQnMjMOQsJmkC6/3xQyiZc92vNORUqtenPwgFrx6g==} + '@lifi/data-types@5.24.0': + resolution: {integrity: sha512-JTnsNMQdHBirPROhUp91EvyXAXUIzKaktCngHZoKeZpnQjC1LLQih1yQDnOJ/+zkFHIDa/koqStgCRTQ7jOung==} '@lifi/sdk@3.5.3': resolution: {integrity: sha512-KlU5sMp8aEi+ZYdGZMEn7Let4UlIpuVHsqV3+cmeqLwzMDb1Ty/TWSs+6par69WftD1UBNEWH2czi+r5Am2qCg==} peerDependencies: viem: ^2.21.0 - '@lifi/types@16.6.0': - resolution: {integrity: sha512-7X0M+O9EvXepsODkvUS5f31CWskNcv8NeG1G0RRTctGe3p79cRPKfVmYTJOkbKibX00nhdzMBsVyafzedazsnA==} - '@lifi/types@16.7.0': resolution: {integrity: sha512-t5By15YOMAndL8VKa0mE51nI5F1O5KEx5mS4yRjnipq+lfJi8XjkkktacLJOXZv7cnIubtBvCeq1TatqZ8QTlQ==} + '@lifi/types@16.8.0': + resolution: {integrity: sha512-PBu5TDo1hFJEjBgnSZfQq/2g2BJo9Z181EVoKCgWLQxB/r7AuDjF5xTFyX776fsosaQNGPwooSGYEWJzeqUmew==} + '@lit-labs/ssr-dom-shim@1.3.0': resolution: {integrity: sha512-nQIWonJ6eFAvUUrSlwyHDm/aE8PBDu5kRpL0vHMg6K8fK3Diq1xdPjTnsJSwxABhaZ+5eBi1btQB5ShUTKo4nQ==} @@ -279,8 +279,8 @@ packages: resolution: {integrity: sha512-5yb2gMI1BDm0JybZezeoX/3XhPDOtTbcFvpTXM9kxsoZjPZFh4XciqRbpD6N86HYZqWDhEaKUDuOyR0sQHEjMA==} engines: {node: '>=12.0.0'} - '@metamask/sdk-communication-layer@0.31.0': - resolution: {integrity: sha512-V9CxdzabDPjQVgmKGHsyU3SYt4Af27g+4DbGCx0fLoHqN/i1RBDZqs/LYbJX3ykJCANzE+llz/MolMCMrzM2RA==} + '@metamask/sdk-communication-layer@0.32.0': + resolution: {integrity: sha512-dmj/KFjMi1fsdZGIOtbhxdg3amxhKL/A5BqSU4uh/SyDKPub/OT+x5pX8bGjpTL1WPWY/Q0OIlvFyX3VWnT06Q==} peerDependencies: cross-fetch: ^4.0.0 eciesjs: '*' @@ -288,11 +288,11 @@ packages: readable-stream: ^3.6.2 socket.io-client: ^4.5.1 - '@metamask/sdk-install-modal-web@0.31.5': - resolution: {integrity: sha512-ZfrVkPAabfH4AIxcTlxQN5oyyzzVXFTLZrm1/BJ+X632d9MiyAVHNtiqa9EZpZYkZGk2icmDVP+xCpvJmVOVpQ==} + '@metamask/sdk-install-modal-web@0.32.0': + resolution: {integrity: sha512-TFoktj0JgfWnQaL3yFkApqNwcaqJ+dw4xcnrJueMP3aXkSNev2Ido+WVNOg4IIMxnmOrfAC9t0UJ0u/dC9MjOQ==} - '@metamask/sdk@0.31.5': - resolution: {integrity: sha512-i7wteqO/fU2JWQrMZz+addHokYThHYznp4nYXviv+QysdxGVgAYvcW/PBA+wpeP3veX7QGfNqMPgSsZbBrASYw==} + '@metamask/sdk@0.32.0': + resolution: {integrity: sha512-WmGAlP1oBuD9hk4CsdlG1WJFuPtYJY+dnTHJMeCyohTWD2GgkcLMUUuvu9lO1/NVzuOoSi1OrnjbuY1O/1NZ1g==} '@metamask/superstruct@3.1.0': resolution: {integrity: sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA==} @@ -489,8 +489,8 @@ packages: '@types/ws@8.5.14': resolution: {integrity: sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw==} - '@wagmi/connectors@5.7.5': - resolution: {integrity: sha512-btqHHUSTzg4BZe9at/7SnRPv4cz8O3pisbeZBh0qxKz7PVm+9vRxY0bSala3xQPDcS0PRTB30Vn/+lM73GCjbw==} + '@wagmi/connectors@5.7.6': + resolution: {integrity: sha512-Kl6UbvPlWJY/NgWj7M1869Wdx0kLQxZrC0Hv1Lc+RhgiHspHvhpTW/+0OGJOAEQm3XtN20P98n3KcdglvB+19A==} peerDependencies: '@wagmi/core': 2.16.3 typescript: '>=5.0.4' @@ -1555,8 +1555,8 @@ packages: varuint-bitcoin@2.0.0: resolution: {integrity: sha512-6QZbU/rHO2ZQYpWFDALCDSRsXbAs1VOEmXAxtbtjLtKuMJ/FQ8YbhfxlaiKv5nklci0M6lZtlZyxo9Q+qNnyog==} - viem@2.22.21: - resolution: {integrity: sha512-CujapStF+F3VP+bKBQOGFk5YHyJKZOY2TGvD1e04CAm8VrtLo3sfTydYW2Rri6LMktqp6ilGB9GvSiZczxvOBQ==} + viem@2.22.22: + resolution: {integrity: sha512-0z7EFheP+paC/KRlVpu7zXYiqkTX6GR86G0p84LnYr5NgaVxGz0mGsiERy41ThERX1ahkTdEWGGiNgfi6wVqBQ==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -1673,7 +1673,7 @@ snapshots: bech32: 2.0.0 bitcoinjs-lib: 7.0.0-rc.0(typescript@5.7.3) bs58: 6.0.0 - viem: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - typescript @@ -1797,11 +1797,11 @@ snapshots: ethereum-cryptography: 2.2.1 micro-ftch: 0.3.1 - '@lifi/data-types@5.23.0': + '@lifi/data-types@5.24.0': dependencies: - '@lifi/types': 16.6.0 + '@lifi/types': 16.8.0 - '@lifi/sdk@3.5.3(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': + '@lifi/sdk@3.5.3(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': dependencies: '@bigmi/core': 0.1.1(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) '@lifi/types': 16.7.0 @@ -1811,7 +1811,7 @@ snapshots: bech32: 2.0.0 bitcoinjs-lib: 7.0.0-rc.0(typescript@5.7.3) bs58: 6.0.0 - viem: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding @@ -1819,10 +1819,10 @@ snapshots: - utf-8-validate - zod - '@lifi/types@16.6.0': {} - '@lifi/types@16.7.0': {} + '@lifi/types@16.8.0': {} + '@lit-labs/ssr-dom-shim@1.3.0': {} '@lit/reactive-element@1.6.3': @@ -1899,7 +1899,7 @@ snapshots: '@metamask/safe-event-emitter@3.1.2': {} - '@metamask/sdk-communication-layer@0.31.0(cross-fetch@4.1.0)(eciesjs@0.4.13)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + '@metamask/sdk-communication-layer@0.32.0(cross-fetch@4.1.0)(eciesjs@0.4.13)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: bufferutil: 4.0.9 cross-fetch: 4.1.0 @@ -1914,17 +1914,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@metamask/sdk-install-modal-web@0.31.5': + '@metamask/sdk-install-modal-web@0.32.0': dependencies: '@paulmillr/qr': 0.2.1 - '@metamask/sdk@0.31.5(bufferutil@4.0.9)(utf-8-validate@5.0.10)': + '@metamask/sdk@0.32.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.26.7 '@metamask/onboarding': 1.0.1 '@metamask/providers': 16.1.0 - '@metamask/sdk-communication-layer': 0.31.0(cross-fetch@4.1.0)(eciesjs@0.4.13)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@metamask/sdk-install-modal-web': 0.31.5 + '@metamask/sdk-communication-layer': 0.32.0(cross-fetch@4.1.0)(eciesjs@0.4.13)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@metamask/sdk-install-modal-web': 0.32.0 '@paulmillr/qr': 0.2.1 bowser: 2.11.0 cross-fetch: 4.1.0 @@ -2059,7 +2059,7 @@ snapshots: '@safe-global/safe-apps-sdk@9.1.0(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)': dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.22.9 - viem: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - typescript @@ -2247,16 +2247,16 @@ snapshots: dependencies: '@types/node': 22.13.1 - '@wagmi/connectors@5.7.5(@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': + '@wagmi/connectors@5.7.6(@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)))(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': dependencies: '@coinbase/wallet-sdk': 4.2.3 - '@metamask/sdk': 0.31.5(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@metamask/sdk': 0.32.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@safe-global/safe-apps-provider': 0.18.5(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) - '@wagmi/core': 2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) + '@wagmi/core': 2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10)) '@walletconnect/ethereum-provider': 2.17.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) cbw-sdk: '@coinbase/wallet-sdk@3.9.3' - viem: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) optionalDependencies: typescript: 5.7.3 transitivePeerDependencies: @@ -2286,11 +2286,11 @@ snapshots: - utf-8-validate - zod - '@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': + '@wagmi/core@2.16.3(typescript@5.7.3)(use-sync-external-store@1.2.0)(viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10))': dependencies: eventemitter3: 5.0.1 mipd: 0.0.7(typescript@5.7.3) - viem: 2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10) zustand: 5.0.0(use-sync-external-store@1.2.0) optionalDependencies: typescript: 5.7.3 @@ -3604,7 +3604,7 @@ snapshots: dependencies: uint8array-tools: 0.0.8 - viem@2.22.21(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10): + viem@2.22.22(bufferutil@4.0.9)(typescript@5.7.3)(utf-8-validate@5.0.10): dependencies: '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 diff --git a/package.json b/package.json index a4458a4..36a8fbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/sdk", - "version": "3.6.0-beta.4", + "version": "3.6.0-beta.5", "description": "LI.FI Any-to-Any Cross-Chain-Swap SDK", "keywords": [ "bridge", @@ -93,14 +93,14 @@ }, "dependencies": { "@bigmi/core": "^0.1.1", - "@lifi/types": "^16.7.0", + "@lifi/types": "^16.8.0", "@noble/curves": "^1.8.1", "@solana/wallet-adapter-base": "^0.9.23", "@solana/web3.js": "^1.98.0", "bech32": "^2.0.0", "bitcoinjs-lib": "^7.0.0-rc.0", "bs58": "^6.0.0", - "viem": "^2.22.21" + "viem": "^2.22.22" }, "devDependencies": { "@biomejs/biome": "^1.9.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d2208a..d085c37 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^0.1.1 version: 0.1.1(bs58@6.0.0)(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10) '@lifi/types': - specifier: ^16.7.0 - version: 16.7.0 + specifier: ^16.8.0 + version: 16.8.0 '@noble/curves': specifier: ^1.8.1 version: 1.8.1 @@ -33,8 +33,8 @@ importers: specifier: ^6.0.0 version: 6.0.0 viem: - specifier: ^2.22.21 - version: 2.22.21(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10) + specifier: ^2.22.22 + version: 2.22.22(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10) devDependencies: '@biomejs/biome': specifier: ^1.9.4 @@ -487,8 +487,8 @@ packages: '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - '@lifi/types@16.7.0': - resolution: {integrity: sha512-t5By15YOMAndL8VKa0mE51nI5F1O5KEx5mS4yRjnipq+lfJi8XjkkktacLJOXZv7cnIubtBvCeq1TatqZ8QTlQ==} + '@lifi/types@16.8.0': + resolution: {integrity: sha512-PBu5TDo1hFJEjBgnSZfQq/2g2BJo9Z181EVoKCgWLQxB/r7AuDjF5xTFyX776fsosaQNGPwooSGYEWJzeqUmew==} '@mswjs/interceptors@0.37.3': resolution: {integrity: sha512-USvgCL/uOGFtVa6SVyRrC8kIAedzRohxIXN5LISlg5C5vLZCn7dgMFVSNhSF9cuBEFrm/O2spDWEZeMnw4ZXYg==} @@ -2742,8 +2742,8 @@ packages: varuint-bitcoin@2.0.0: resolution: {integrity: sha512-6QZbU/rHO2ZQYpWFDALCDSRsXbAs1VOEmXAxtbtjLtKuMJ/FQ8YbhfxlaiKv5nklci0M6lZtlZyxo9Q+qNnyog==} - viem@2.22.21: - resolution: {integrity: sha512-CujapStF+F3VP+bKBQOGFk5YHyJKZOY2TGvD1e04CAm8VrtLo3sfTydYW2Rri6LMktqp6ilGB9GvSiZczxvOBQ==} + viem@2.22.22: + resolution: {integrity: sha512-0z7EFheP+paC/KRlVpu7zXYiqkTX6GR86G0p84LnYr5NgaVxGz0mGsiERy41ThERX1ahkTdEWGGiNgfi6wVqBQ==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -2997,7 +2997,7 @@ snapshots: bech32: 2.0.0 bitcoinjs-lib: 7.0.0-rc.0(typescript@5.7.3) bs58: 6.0.0 - viem: 2.22.21(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10) + viem: 2.22.22(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - typescript @@ -3307,7 +3307,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@lifi/types@16.7.0': {} + '@lifi/types@16.8.0': {} '@mswjs/interceptors@0.37.3': dependencies: @@ -5594,7 +5594,7 @@ snapshots: dependencies: uint8array-tools: 0.0.8 - viem@2.22.21(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10): + viem@2.22.22(bufferutil@4.0.8)(typescript@5.7.3)(utf-8-validate@5.0.10): dependencies: '@noble/curves': 1.8.1 '@noble/hashes': 1.7.1 diff --git a/src/version.ts b/src/version.ts index dc71d38..e4ce29f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ export const name = '@lifi/sdk' -export const version = '3.6.0-beta.4' +export const version = '3.6.0-beta.5'