Skip to content

Commit

Permalink
feat: update wallet-api version to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
  • Loading branch information
sprohaszka-ledger committed Oct 17, 2024
1 parent e3a3460 commit 9c6f858
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/sell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions examples/swap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions examples/swap/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
7 changes: 4 additions & 3 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
Expand Down

0 comments on commit 9c6f858

Please sign in to comment.