diff --git a/examples/sell/package.json b/examples/sell/package.json index 3978c60..f2b1790 100644 --- a/examples/sell/package.json +++ b/examples/sell/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@ledgerhq/exchange-sdk": "workspace:*", - "@ledgerhq/wallet-api-client": "^1.5.5", + "@ledgerhq/wallet-api-client": "^1.6.0", "@ledgerhq/wallet-api-exchange-module": "^0.5.0-next", "axios": "^1.7.2", "bignumber.js": "^9.1.2", diff --git a/examples/swap/package.json b/examples/swap/package.json index 7dc71c7..b8d419e 100644 --- a/examples/swap/package.json +++ b/examples/swap/package.json @@ -11,8 +11,7 @@ }, "dependencies": { "@ledgerhq/exchange-sdk": "workspace:*", - "@ledgerhq/wallet-api-client": "^1.5.11", - "@ledgerhq/wallet-api-core": "^1.12.0", + "@ledgerhq/wallet-api-client": "^1.6.0", "bignumber.js": "^9.1.2", "next": "^13.4.1", "react": "^18.2.0", diff --git a/examples/swap/src/pages/index.tsx b/examples/swap/src/pages/index.tsx index 8d27d8e..bfae878 100644 --- a/examples/swap/src/pages/index.tsx +++ b/examples/swap/src/pages/index.tsx @@ -148,12 +148,6 @@ const IndexPage = () => { customFeeConfig, rate, toNewTokenId, - getSwapPayload: () => Promise.resolve({ - binaryPayload: "CjBVUUFidnMydENuc1RXeENaWDdKVy1kcWxrMHZNOHhfbThhSnFGNHd3UldHdFRFWkQaMFVRQWJ2czJ0Q25zVFd4Q1pYN0pXLWRxbGswdk04eF9tOGFKcUY0d3dSV0d0VEVaRCoqMHg2NmM0MzcxYUU4RkZlRDJlYzFjMkVCYmJjQ2ZiN0U0OTQxODFFMUUzOgNUT05CA0VUSEoCBH5SBgV0-95gAGIgNQrqDJf3R_HQ92CBRhSkdSOAGxrrfQvLuqKk9Gv4GEs=", - signature: "cF85mRKNOECR5iVFSRTi-YQYGSdv34d3aVZabUqVNbJ_qo4SKaAWkyWgMCdU5MkZOtPczRmXIIMJeVvwe3yTUw==", - payinAddress: "EQAiav9ux5v3RPZknWP6iEKTaHVmGpDEktt0GNdW3YsIMXLW", - swapId: "swapId", - }), }) .catch((err) => { console.error( diff --git a/lib/package.json b/lib/package.json index 6edb9b4..5dcbfbc 100644 --- a/lib/package.json +++ b/lib/package.json @@ -17,10 +17,11 @@ }, "dependencies": { "axios": "^1.3.4", - "@ledgerhq/hw-app-exchange": "0.6.0-nightly.0", - "@ledgerhq/wallet-api-core": "^1.12.0" + "@ledgerhq/hw-app-exchange": "0.6.0-nightly.0" }, "devDependencies": { + "@ledgerhq/wallet-api-client": "^1.5.9", + "@ledgerhq/wallet-api-exchange-module": "0.6.0-nightly.2", "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-typescript": "^11.1.3", @@ -38,7 +39,7 @@ "tsup": "^7.2.0" }, "peerDependencies": { - "@ledgerhq/wallet-api-client": "^1.5.11", + "@ledgerhq/wallet-api-client": "^1.6.0", "@ledgerhq/wallet-api-exchange-module": "^0.5.0-next", "bignumber.js": "^9.1.2" }