From 2f5950580b6b584481f486a66e771b0ce1ab7a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Dethier?= Date: Thu, 5 Oct 2023 08:55:26 +0200 Subject: [PATCH] chore: upgrade node-api. logion-network/logion-internal#1009 --- src/common/AccountAddress.test.tsx | 3 --- src/common/TestData.ts | 3 --- src/common/__snapshots__/Wallet.test.tsx.snap | 6 ------ .../WalletRecoveryProcessTab.test.tsx | 3 --- yarn.lock | 16 ++++++++-------- 5 files changed, 8 insertions(+), 23 deletions(-) diff --git a/src/common/AccountAddress.test.tsx b/src/common/AccountAddress.test.tsx index fa1b8fb8..7eb14554 100644 --- a/src/common/AccountAddress.test.tsx +++ b/src/common/AccountAddress.test.tsx @@ -11,10 +11,7 @@ test("renders", () => { available: new Numbers.PrefixedNumber("2", Numbers.NONE), balance: new Numbers.PrefixedNumber("2", Numbers.NONE), coin: { - iconId: "lgnt", - iconType: "svg", id: "lgnt", - name: "LGNT", symbol: "LGNT" }, level: 1 diff --git a/src/common/TestData.ts b/src/common/TestData.ts index 9bd987d9..3ff80730 100644 --- a/src/common/TestData.ts +++ b/src/common/TestData.ts @@ -122,9 +122,6 @@ export const COLOR_THEME: ColorTheme = { export const DEFAULT_COIN: Coin = { id: 'lgnt', - iconId: 'lgnt', - iconType: 'svg', - name: "Logion", symbol: Currency.SYMBOL }; diff --git a/src/common/__snapshots__/Wallet.test.tsx.snap b/src/common/__snapshots__/Wallet.test.tsx.snap index 5d3b0d42..bdc4f567 100644 --- a/src/common/__snapshots__/Wallet.test.tsx.snap +++ b/src/common/__snapshots__/Wallet.test.tsx.snap @@ -113,10 +113,7 @@ exports[`renders with all data 1`] = ` }, }, "coin": Object { - "iconId": "lgnt", - "iconType": "svg", "id": "lgnt", - "name": "Logion", "symbol": "LGNT", }, "level": 0.1, @@ -169,10 +166,7 @@ exports[`renders with all data 1`] = ` } coin={ Object { - "iconId": "lgnt", - "iconType": "svg", "id": "lgnt", - "name": "Logion", "symbol": "LGNT", } } diff --git a/src/wallet-user/trust-protection/WalletRecoveryProcessTab.test.tsx b/src/wallet-user/trust-protection/WalletRecoveryProcessTab.test.tsx index d87792f8..e5f8bb66 100644 --- a/src/wallet-user/trust-protection/WalletRecoveryProcessTab.test.tsx +++ b/src/wallet-user/trust-protection/WalletRecoveryProcessTab.test.tsx @@ -25,9 +25,6 @@ test("Recovered tokens can be transferred", async () => { const coinBalance: CoinBalance = { coin: { id: 'dot', - name: 'Polkadot', - iconId: 'dot', - iconType: 'png', symbol: 'DOT', }, balance: new Numbers.PrefixedNumber("100", Numbers.MILLI), diff --git a/yarn.lock b/yarn.lock index 51a73311..d92fe9c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2977,14 +2977,14 @@ __metadata: linkType: hard "@logion/client@npm:^0.32.0-1": - version: 0.32.0-1 - resolution: "@logion/client@npm:0.32.0-1" + version: 0.32.0-2 + resolution: "@logion/client@npm:0.32.0-2" dependencies: - "@logion/node-api": ^0.22.0 + "@logion/node-api": ^0.22.1-1 axios: ^0.27.2 luxon: ^3.0.1 mime-db: ^1.52.0 - checksum: 1b86845b4ea5cd8b5e3fbe17d57d54498d65f98eabbae08f079342b1366892516c733a90f422c9b1b65c8fe08acfe31bca93805e0e0c07c2ff4c71e1a4ae7410 + checksum: e24a659fa5904ffcb452dc806b6a5ba9fc920b4c4118c322a2b6dc84143c00c81275b2c51786fa34e7896d138608cc2e1ae6d95e90e132f15be84732d8f81df9 languageName: node linkType: hard @@ -3020,9 +3020,9 @@ __metadata: languageName: node linkType: hard -"@logion/node-api@npm:^0.22.0": - version: 0.22.0 - resolution: "@logion/node-api@npm:0.22.0" +"@logion/node-api@npm:^0.22.1-1": + version: 0.22.1-2 + resolution: "@logion/node-api@npm:0.22.1-2" dependencies: "@polkadot/api": ^10.9.1 "@polkadot/util": ^12.3.2 @@ -3030,7 +3030,7 @@ __metadata: "@types/uuid": ^9.0.2 fast-sha256: ^1.3.0 uuid: ^9.0.0 - checksum: aa1671f1552e24dc61eae3a293a03e29db60931e800602b0690159dfa14504bfce2bc9dc9e9138afc3e38cb78990c28ce24cff78fd5ac63ad611fb87ae449f89 + checksum: fc50988598bed069cfaa688e53c661836095e2eb57c4bab036d7b0d891290798b1da0c776f73d6b4207ddfdf0a56bcf59f7cc871232113514326a734ede7cfc4 languageName: node linkType: hard