@ledgerhq/live-common 34.49.0-nightly.3 → 34.49.0-nightly.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bridge/react/BridgeSync.d.ts.map +1 -1
- package/lib/bridge/react/BridgeSync.js +17 -4
- package/lib/bridge/react/BridgeSync.js.map +1 -1
- package/lib/bridge/syncSessionManager/index.d.ts +18 -0
- package/lib/bridge/syncSessionManager/index.d.ts.map +1 -0
- package/lib/bridge/syncSessionManager/index.js +75 -0
- package/lib/bridge/syncSessionManager/index.js.map +1 -0
- package/lib/bridge/syncSessionManager/index.test.d.ts +2 -0
- package/lib/bridge/syncSessionManager/index.test.d.ts.map +1 -0
- package/lib/bridge/syncSessionManager/index.test.js +118 -0
- package/lib/bridge/syncSessionManager/index.test.js.map +1 -0
- package/lib/deposit/deposit.integration.test.js +60 -1
- package/lib/deposit/deposit.integration.test.js.map +1 -1
- package/lib/e2e/data/deviceLabelsData.js +2 -2
- package/lib/e2e/data/deviceLabelsData.js.map +1 -1
- package/lib/e2e/enum/Account.d.ts +1 -0
- package/lib/e2e/enum/Account.d.ts.map +1 -1
- package/lib/e2e/enum/Account.js +2 -1
- package/lib/e2e/enum/Account.js.map +1 -1
- package/lib/e2e/enum/DeviceLabels.d.ts +3 -9
- package/lib/e2e/enum/DeviceLabels.d.ts.map +1 -1
- package/lib/e2e/enum/DeviceLabels.js +2 -8
- package/lib/e2e/enum/DeviceLabels.js.map +1 -1
- package/lib/e2e/families/bitcoin.d.ts +1 -0
- package/lib/e2e/families/bitcoin.d.ts.map +1 -1
- package/lib/e2e/families/bitcoin.js +28 -1
- package/lib/e2e/families/bitcoin.js.map +1 -1
- package/lib/e2e/families/tezos.d.ts.map +1 -1
- package/lib/e2e/families/tezos.js +5 -3
- package/lib/e2e/families/tezos.js.map +1 -1
- package/lib/e2e/index.d.ts +2 -0
- package/lib/e2e/index.d.ts.map +1 -1
- package/lib/e2e/models/Swap.d.ts +2 -0
- package/lib/e2e/models/Swap.d.ts.map +1 -1
- package/lib/e2e/models/Swap.js +6 -0
- package/lib/e2e/models/Swap.js.map +1 -1
- package/lib/e2e/speculos.d.ts +8 -0
- package/lib/e2e/speculos.d.ts.map +1 -1
- package/lib/e2e/speculos.js +23 -31
- package/lib/e2e/speculos.js.map +1 -1
- package/lib/exchange/providers/swap.js +2 -2
- package/lib/exchange/providers/swap.js.map +1 -1
- package/lib/families/celo/bridge.integration.test.js +4 -1
- package/lib/families/celo/bridge.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/axelar.integration.test.js +4 -1
- package/lib/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/desmos.integration.test.js +4 -1
- package/lib/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
- package/lib/families/cosmos/datasets/onomy.integration.test.js +4 -1
- package/lib/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
- package/lib/families/filecoin/bridge.integration.test.js +4 -1
- package/lib/families/filecoin/bridge.integration.test.js.map +1 -1
- package/lib/families/kaspa/bridge.integration.test.js +4 -1
- package/lib/families/kaspa/bridge.integration.test.js.map +1 -1
- package/lib/families/mina/bridge.integration.test.js +4 -1
- package/lib/families/mina/bridge.integration.test.js.map +1 -1
- package/lib/families/multiversx/synchronisation.integration.test.js +4 -1
- package/lib/families/multiversx/synchronisation.integration.test.js.map +1 -1
- package/lib/families/ton/bridge.integration.test.js +4 -1
- package/lib/families/ton/bridge.integration.test.js.map +1 -1
- package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib/featureFlags/defaultFeatures.js +1 -0
- package/lib/featureFlags/defaultFeatures.js.map +1 -1
- package/lib/featureFlags/useFeature.d.ts +1 -1
- package/lib/featureFlags/useFeature.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
- package/lib/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
- package/lib/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
- package/lib/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
- package/lib/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
- package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
- package/lib/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
- package/lib/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
- package/lib/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
- package/lib/notifications/ServiceStatusProvider/entry-points.js +3 -0
- package/lib/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
- package/lib/notifications/ServiceStatusProvider/index.d.ts +18 -1
- package/lib/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
- package/lib/notifications/ServiceStatusProvider/index.js +47 -9
- package/lib/notifications/ServiceStatusProvider/index.js.map +1 -1
- package/lib/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
- package/lib/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
- package/lib/notifications/ServiceStatusProvider/index.test.js +88 -0
- package/lib/notifications/ServiceStatusProvider/index.test.js.map +1 -0
- package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
- package/lib/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
- package/lib/notifications/ServiceStatusProvider/ledger-components.js +17 -0
- package/lib/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1192 -0
- package/lib/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
- package/lib/notifications/ServiceStatusProvider/types.d.ts +3 -1
- package/lib/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
- package/lib/wallet-api/react.d.ts +1 -1
- package/lib/wallet-api/react.d.ts.map +1 -1
- package/lib/wallet-api/react.js +1 -1
- package/lib/wallet-api/react.js.map +1 -1
- package/lib-es/bridge/react/BridgeSync.d.ts.map +1 -1
- package/lib-es/bridge/react/BridgeSync.js +17 -4
- package/lib-es/bridge/react/BridgeSync.js.map +1 -1
- package/lib-es/bridge/syncSessionManager/index.d.ts +18 -0
- package/lib-es/bridge/syncSessionManager/index.d.ts.map +1 -0
- package/lib-es/bridge/syncSessionManager/index.js +68 -0
- package/lib-es/bridge/syncSessionManager/index.js.map +1 -0
- package/lib-es/bridge/syncSessionManager/index.test.d.ts +2 -0
- package/lib-es/bridge/syncSessionManager/index.test.d.ts.map +1 -0
- package/lib-es/bridge/syncSessionManager/index.test.js +116 -0
- package/lib-es/bridge/syncSessionManager/index.test.js.map +1 -0
- package/lib-es/deposit/deposit.integration.test.js +37 -1
- package/lib-es/deposit/deposit.integration.test.js.map +1 -1
- package/lib-es/e2e/data/deviceLabelsData.js +2 -2
- package/lib-es/e2e/data/deviceLabelsData.js.map +1 -1
- package/lib-es/e2e/enum/Account.d.ts +1 -0
- package/lib-es/e2e/enum/Account.d.ts.map +1 -1
- package/lib-es/e2e/enum/Account.js +2 -1
- package/lib-es/e2e/enum/Account.js.map +1 -1
- package/lib-es/e2e/enum/DeviceLabels.d.ts +3 -9
- package/lib-es/e2e/enum/DeviceLabels.d.ts.map +1 -1
- package/lib-es/e2e/enum/DeviceLabels.js +2 -8
- package/lib-es/e2e/enum/DeviceLabels.js.map +1 -1
- package/lib-es/e2e/families/bitcoin.d.ts +1 -0
- package/lib-es/e2e/families/bitcoin.d.ts.map +1 -1
- package/lib-es/e2e/families/bitcoin.js +27 -1
- package/lib-es/e2e/families/bitcoin.js.map +1 -1
- package/lib-es/e2e/families/tezos.d.ts.map +1 -1
- package/lib-es/e2e/families/tezos.js +6 -4
- package/lib-es/e2e/families/tezos.js.map +1 -1
- package/lib-es/e2e/index.d.ts +2 -0
- package/lib-es/e2e/index.d.ts.map +1 -1
- package/lib-es/e2e/models/Swap.d.ts +2 -0
- package/lib-es/e2e/models/Swap.d.ts.map +1 -1
- package/lib-es/e2e/models/Swap.js +6 -0
- package/lib-es/e2e/models/Swap.js.map +1 -1
- package/lib-es/e2e/speculos.d.ts +8 -0
- package/lib-es/e2e/speculos.d.ts.map +1 -1
- package/lib-es/e2e/speculos.js +23 -32
- package/lib-es/e2e/speculos.js.map +1 -1
- package/lib-es/exchange/providers/swap.js +2 -2
- package/lib-es/exchange/providers/swap.js.map +1 -1
- package/lib-es/families/celo/bridge.integration.test.js +4 -1
- package/lib-es/families/celo/bridge.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/axelar.integration.test.js +4 -1
- package/lib-es/families/cosmos/datasets/axelar.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/desmos.integration.test.js +4 -1
- package/lib-es/families/cosmos/datasets/desmos.integration.test.js.map +1 -1
- package/lib-es/families/cosmos/datasets/onomy.integration.test.js +4 -1
- package/lib-es/families/cosmos/datasets/onomy.integration.test.js.map +1 -1
- package/lib-es/families/filecoin/bridge.integration.test.js +4 -1
- package/lib-es/families/filecoin/bridge.integration.test.js.map +1 -1
- package/lib-es/families/kaspa/bridge.integration.test.js +4 -1
- package/lib-es/families/kaspa/bridge.integration.test.js.map +1 -1
- package/lib-es/families/mina/bridge.integration.test.js +4 -1
- package/lib-es/families/mina/bridge.integration.test.js.map +1 -1
- package/lib-es/families/multiversx/synchronisation.integration.test.js +4 -1
- package/lib-es/families/multiversx/synchronisation.integration.test.js.map +1 -1
- package/lib-es/families/ton/bridge.integration.test.js +4 -1
- package/lib-es/families/ton/bridge.integration.test.js.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.js +1 -0
- package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
- package/lib-es/featureFlags/useFeature.d.ts +1 -1
- package/lib-es/featureFlags/useFeature.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts +1 -0
- package/lib-es/modularDrawer/hooks/modules/useLeftApyModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts +1 -0
- package/lib-es/modularDrawer/hooks/modules/useLeftMarketTrendModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts +1 -0
- package/lib-es/modularDrawer/hooks/modules/useRightMarketTrendModule.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts +1 -0
- package/lib-es/modularDrawer/hooks/useRightBalanceAsset.d.ts.map +1 -1
- package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts +1 -0
- package/lib-es/modularDrawer/hooks/useRightBalanceNetwork.d.ts.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts +3 -0
- package/lib-es/notifications/ServiceStatusProvider/entry-points.d.ts.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/entry-points.js +2 -0
- package/lib-es/notifications/ServiceStatusProvider/entry-points.js.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/index.d.ts +18 -1
- package/lib-es/notifications/ServiceStatusProvider/index.d.ts.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/index.js +47 -9
- package/lib-es/notifications/ServiceStatusProvider/index.js.map +1 -1
- package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts +2 -0
- package/lib-es/notifications/ServiceStatusProvider/index.test.d.ts.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/index.test.js +86 -0
- package/lib-es/notifications/ServiceStatusProvider/index.test.js.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts +2 -0
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.d.ts.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.js +14 -0
- package/lib-es/notifications/ServiceStatusProvider/ledger-components.js.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts +154 -0
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.d.ts.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js +1189 -0
- package/lib-es/notifications/ServiceStatusProvider/mocks/ledgerStatus.js.map +1 -0
- package/lib-es/notifications/ServiceStatusProvider/types.d.ts +3 -1
- package/lib-es/notifications/ServiceStatusProvider/types.d.ts.map +1 -1
- package/lib-es/wallet-api/react.d.ts +1 -1
- package/lib-es/wallet-api/react.d.ts.map +1 -1
- package/lib-es/wallet-api/react.js +1 -1
- package/lib-es/wallet-api/react.js.map +1 -1
- package/package.json +67 -67
- package/src/bridge/react/BridgeSync.tsx +17 -3
- package/src/bridge/syncSessionManager/index.test.ts +151 -0
- package/src/bridge/syncSessionManager/index.ts +93 -0
- package/src/deposit/deposit.integration.test.ts +41 -2
- package/src/e2e/data/deviceLabelsData.ts +2 -2
- package/src/e2e/enum/Account.ts +7 -0
- package/src/e2e/enum/DeviceLabels.ts +2 -8
- package/src/e2e/families/bitcoin.ts +33 -1
- package/src/e2e/families/tezos.ts +13 -4
- package/src/e2e/models/Swap.ts +8 -0
- package/src/e2e/speculos.ts +26 -35
- package/src/exchange/providers/swap.ts +2 -2
- package/src/families/celo/bridge.integration.test.ts +4 -1
- package/src/families/cosmos/datasets/__snapshots__/babylon.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/cosmos.integration.test.ts.snap +299 -4
- package/src/families/cosmos/datasets/__snapshots__/cryptoOrg.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/injective.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/mantra.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/osmosis.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/persistence.integration.test.ts.snap +4 -4
- package/src/families/cosmos/datasets/__snapshots__/stargaze.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/__snapshots__/xion.integration.test.ts.snap +2 -2
- package/src/families/cosmos/datasets/axelar.integration.test.ts +4 -1
- package/src/families/cosmos/datasets/desmos.integration.test.ts +4 -1
- package/src/families/cosmos/datasets/onomy.integration.test.ts +4 -1
- package/src/families/filecoin/bridge.integration.test.ts +4 -1
- package/src/families/internet_computer/__snapshots__/bridge.integration.test.ts.snap +60 -3
- package/src/families/kaspa/bridge.integration.test.ts +4 -1
- package/src/families/mina/bridge.integration.test.ts +4 -1
- package/src/families/multiversx/synchronisation.integration.test.ts +5 -1
- package/src/families/polkadot/__snapshots__/bridge.integration.test.ts.snap +50 -4
- package/src/families/stacks/__snapshots__/bridge.integration.test.ts.snap +23 -3
- package/src/families/stellar/__snapshots__/bridge.integration.test.ts.snap +1490 -60
- package/src/families/ton/bridge.integration.test.ts +4 -1
- package/src/featureFlags/defaultFeatures.ts +1 -0
- package/src/notifications/ServiceStatusProvider/entry-points.ts +3 -0
- package/src/notifications/ServiceStatusProvider/index.test.ts +102 -0
- package/src/notifications/ServiceStatusProvider/index.tsx +61 -13
- package/src/notifications/ServiceStatusProvider/ledger-components.ts +13 -0
- package/src/notifications/ServiceStatusProvider/mocks/ledgerStatus.ts +1188 -0
- package/src/notifications/ServiceStatusProvider/types.ts +4 -1
- package/src/wallet-api/react.ts +3 -3
- package/src/families/celo/__snapshots__/bridge.integration.test.ts.snap +0 -285
- package/src/families/cosmos/datasets/__snapshots__/axelar.integration.test.ts.snap +0 -45
- package/src/families/cosmos/datasets/__snapshots__/desmos.integration.test.ts.snap +0 -45
- package/src/families/cosmos/datasets/__snapshots__/onomy.integration.test.ts.snap +0 -45
- package/src/families/filecoin/__snapshots__/bridge.integration.test.ts.snap +0 -242
- package/src/families/kaspa/__snapshots__/bridge.integration.test.ts.snap +0 -66
- package/src/families/mina/__snapshots__/bridge.integration.test.ts.snap +0 -169
- package/src/families/ton/__snapshots__/bridge.integration.test.ts.snap +0 -338
@@ -3,17 +3,17 @@
|
|
3
3
|
exports[`internet_computer currency bridge scanAccounts internet_computer seed 1 1`] = `
|
4
4
|
[
|
5
5
|
{
|
6
|
-
"balance": "
|
6
|
+
"balance": "90980000",
|
7
7
|
"currencyId": "internet_computer",
|
8
8
|
"derivationMode": "internet_computer",
|
9
9
|
"freshAddress": "e8a1474afbed438be8b019c4293b9e01b33075d72757ac715183ae7c7ba77e37",
|
10
10
|
"freshAddressPath": "44'/223'/0'/0/0",
|
11
11
|
"id": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer",
|
12
12
|
"index": 0,
|
13
|
-
"operationsCount":
|
13
|
+
"operationsCount": 4,
|
14
14
|
"pendingOperations": [],
|
15
15
|
"seedIdentifier": "046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf",
|
16
|
-
"spendableBalance": "
|
16
|
+
"spendableBalance": "90980000",
|
17
17
|
"swapHistory": [],
|
18
18
|
"syncHash": undefined,
|
19
19
|
"used": true,
|
@@ -42,6 +42,63 @@ exports[`internet_computer currency bridge scanAccounts internet_computer seed 1
|
|
42
42
|
exports[`internet_computer currency bridge scanAccounts internet_computer seed 1 2`] = `
|
43
43
|
[
|
44
44
|
[
|
45
|
+
{
|
46
|
+
"accountId": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer",
|
47
|
+
"blockHash": null,
|
48
|
+
"blockHeight": 25132406,
|
49
|
+
"extra": {
|
50
|
+
"memo": "0",
|
51
|
+
},
|
52
|
+
"fee": "10000",
|
53
|
+
"hash": "64f3c12bae8243dc5fb50497c2d79dbeb600d92d995d26297b5882560d1d1cb1",
|
54
|
+
"id": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer-64f3c12bae8243dc5fb50497c2d79dbeb600d92d995d26297b5882560d1d1cb1-OUT",
|
55
|
+
"recipients": [
|
56
|
+
"5442dcadb1de34824e0a3000db6228ab21f3ad298caa1d910da0bd56d7f892a5",
|
57
|
+
],
|
58
|
+
"senders": [
|
59
|
+
"e8a1474afbed438be8b019c4293b9e01b33075d72757ac715183ae7c7ba77e37",
|
60
|
+
],
|
61
|
+
"type": "OUT",
|
62
|
+
"value": "10010000",
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"accountId": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer",
|
66
|
+
"blockHash": null,
|
67
|
+
"blockHeight": 25132352,
|
68
|
+
"extra": {
|
69
|
+
"memo": "3544580464453892600",
|
70
|
+
},
|
71
|
+
"fee": "10000",
|
72
|
+
"hash": "8ee53474525de27a357f728d1486c7cc6cead11bb4025b62f2154b4d7652789b",
|
73
|
+
"id": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer-8ee53474525de27a357f728d1486c7cc6cead11bb4025b62f2154b4d7652789b-OUT",
|
74
|
+
"recipients": [
|
75
|
+
"5442dcadb1de34824e0a3000db6228ab21f3ad298caa1d910da0bd56d7f892a5",
|
76
|
+
],
|
77
|
+
"senders": [
|
78
|
+
"e8a1474afbed438be8b019c4293b9e01b33075d72757ac715183ae7c7ba77e37",
|
79
|
+
],
|
80
|
+
"type": "OUT",
|
81
|
+
"value": "100010000",
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"accountId": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer",
|
85
|
+
"blockHash": null,
|
86
|
+
"blockHeight": 25132338,
|
87
|
+
"extra": {
|
88
|
+
"memo": "0",
|
89
|
+
},
|
90
|
+
"fee": "10000",
|
91
|
+
"hash": "c2550a82c2885719fb2de48ac0cfa5d1f22b9d754df7adaf939dfa6da7a85a30",
|
92
|
+
"id": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer-c2550a82c2885719fb2de48ac0cfa5d1f22b9d754df7adaf939dfa6da7a85a30-IN",
|
93
|
+
"recipients": [
|
94
|
+
"e8a1474afbed438be8b019c4293b9e01b33075d72757ac715183ae7c7ba77e37",
|
95
|
+
],
|
96
|
+
"senders": [
|
97
|
+
"e018d81c6da0016f94b6119a3195d87b9e2fbd1ee72ac00f518ddfacfa9e44bd",
|
98
|
+
],
|
99
|
+
"type": "IN",
|
100
|
+
"value": "200000000",
|
101
|
+
},
|
45
102
|
{
|
46
103
|
"accountId": "js:2:internet_computer:046f08828871028b6e3cb5c13b2e2a8fa6e93f0b3ca7379171f6b7b45877955a2430925f76ec69ccb3cd8738859a8e29dcd0f9a357f1d009d2b497c6c8f63aa7cf:internet_computer",
|
47
104
|
"blockHash": null,
|
@@ -2,4 +2,7 @@ import "../../__tests__/test-helpers/setup";
|
|
2
2
|
import { testBridge } from "../../__tests__/test-helpers/bridge";
|
3
3
|
import { dataset } from "@ledgerhq/coin-kaspa/test/index";
|
4
4
|
|
5
|
-
|
5
|
+
// FIXME: Disabled due to live blockchain data changes (blockHash)
|
6
|
+
describe.skip("kaspa integration", () => {
|
7
|
+
testBridge(dataset);
|
8
|
+
});
|
@@ -2,4 +2,7 @@ import "../../__tests__/test-helpers/setup";
|
|
2
2
|
import { testBridge } from "../../__tests__/test-helpers/bridge";
|
3
3
|
import { dataset } from "@ledgerhq/coin-mina/test/index";
|
4
4
|
|
5
|
-
|
5
|
+
// FIXME: Disabled due to blockchain state changes causing sync operation mismatches
|
6
|
+
describe.skip("mina integration", () => {
|
7
|
+
testBridge(dataset);
|
8
|
+
});
|
@@ -8,7 +8,7 @@ import { multiversx1 } from "./datasets/multiversx1";
|
|
8
8
|
import { firstValueFrom } from "rxjs";
|
9
9
|
|
10
10
|
describe("ESDT tokens sync functionality", () => {
|
11
|
-
|
11
|
+
let account: Account;
|
12
12
|
const localCache = {};
|
13
13
|
const cache = makeBridgeCacheSystem({
|
14
14
|
saveData(c, d) {
|
@@ -21,6 +21,10 @@ describe("ESDT tokens sync functionality", () => {
|
|
21
21
|
},
|
22
22
|
});
|
23
23
|
|
24
|
+
beforeAll(async () => {
|
25
|
+
account = await fromAccountRaw(multiversx1);
|
26
|
+
});
|
27
|
+
|
24
28
|
test("initial raw account contains no token accounts", async () => {
|
25
29
|
await cache.prepareCurrency(account.currency);
|
26
30
|
expect(multiversx1.subAccounts?.length).toBeFalsy();
|
@@ -27,25 +27,25 @@ exports[`polkadot currency bridge scanAccounts polkadot seed 1 1`] = `
|
|
27
27
|
"used": true,
|
28
28
|
},
|
29
29
|
{
|
30
|
-
"balance": "
|
30
|
+
"balance": "12485600000",
|
31
31
|
"currencyId": "polkadot",
|
32
32
|
"derivationMode": "polkadotbip44",
|
33
33
|
"freshAddress": "12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds",
|
34
34
|
"freshAddressPath": "44'/354'/1'/0'/0'",
|
35
35
|
"id": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44",
|
36
36
|
"index": 1,
|
37
|
-
"operationsCount":
|
37
|
+
"operationsCount": 77,
|
38
38
|
"pendingOperations": [],
|
39
39
|
"polkadotResources": {
|
40
40
|
"controller": "12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds",
|
41
|
-
"lockedBalance": "
|
41
|
+
"lockedBalance": "2485600000",
|
42
42
|
"nonce": 4,
|
43
43
|
"numSlashingSpans": 0,
|
44
44
|
"stash": "12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds",
|
45
45
|
"unlockingBalance": "0",
|
46
46
|
},
|
47
47
|
"seedIdentifier": "c71b1e00ca34fdd14ea065917a67168675828927e3adc3b68f444bf85b4d24be",
|
48
|
-
"spendableBalance": "
|
48
|
+
"spendableBalance": "0",
|
49
49
|
"swapHistory": [],
|
50
50
|
"syncHash": undefined,
|
51
51
|
"used": true,
|
@@ -2407,6 +2407,29 @@ exports[`polkadot currency bridge scanAccounts polkadot seed 1 2`] = `
|
|
2407
2407
|
"type": "REWARD_PAYOUT",
|
2408
2408
|
"value": "0",
|
2409
2409
|
},
|
2410
|
+
{
|
2411
|
+
"accountId": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44",
|
2412
|
+
"blockHash": null,
|
2413
|
+
"blockHeight": 26172112,
|
2414
|
+
"extra": {
|
2415
|
+
"palletMethod": "balances.transferKeepAlive",
|
2416
|
+
"transferAmount": "100000000",
|
2417
|
+
"validatorStash": undefined,
|
2418
|
+
"validators": undefined,
|
2419
|
+
},
|
2420
|
+
"fee": "159701852",
|
2421
|
+
"hasFailed": false,
|
2422
|
+
"hash": "0x26a0c76a962ca361e9c8ba0ac48eb9ebbc7aba1d86d838e9f6b4c3903068c26a",
|
2423
|
+
"id": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44-0x26a0c76a962ca361e9c8ba0ac48eb9ebbc7aba1d86d838e9f6b4c3903068c26a-IN",
|
2424
|
+
"recipients": [
|
2425
|
+
"12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds",
|
2426
|
+
],
|
2427
|
+
"senders": [
|
2428
|
+
"12kcG9SpgiaUHbpktq7mGfFnvdMsmk26d1RKQohdZFmv2Way",
|
2429
|
+
],
|
2430
|
+
"type": "IN",
|
2431
|
+
"value": "100000000",
|
2432
|
+
},
|
2410
2433
|
{
|
2411
2434
|
"accountId": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44",
|
2412
2435
|
"blockHash": null,
|
@@ -3521,6 +3544,29 @@ exports[`polkadot currency bridge scanAccounts polkadot seed 1 2`] = `
|
|
3521
3544
|
"type": "BOND",
|
3522
3545
|
"value": "155000000",
|
3523
3546
|
},
|
3547
|
+
{
|
3548
|
+
"accountId": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44",
|
3549
|
+
"blockHash": null,
|
3550
|
+
"blockHeight": 26173001,
|
3551
|
+
"extra": {
|
3552
|
+
"palletMethod": "balances.transferKeepAlive",
|
3553
|
+
"transferAmount": "10000000",
|
3554
|
+
"validatorStash": undefined,
|
3555
|
+
"validators": undefined,
|
3556
|
+
},
|
3557
|
+
"fee": "159701852",
|
3558
|
+
"hasFailed": false,
|
3559
|
+
"hash": "0xf160345cf7b7a38034472b13deeb1c8a14ca7bbc6c86c7ba633eebcda2a4d3e6",
|
3560
|
+
"id": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44-0xf160345cf7b7a38034472b13deeb1c8a14ca7bbc6c86c7ba633eebcda2a4d3e6-IN",
|
3561
|
+
"recipients": [
|
3562
|
+
"12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds",
|
3563
|
+
],
|
3564
|
+
"senders": [
|
3565
|
+
"12kcG9SpgiaUHbpktq7mGfFnvdMsmk26d1RKQohdZFmv2Way",
|
3566
|
+
],
|
3567
|
+
"type": "IN",
|
3568
|
+
"value": "10000000",
|
3569
|
+
},
|
3524
3570
|
{
|
3525
3571
|
"accountId": "js:2:polkadot:12KUB3Rr4ac4di5JGpzTY5GNQkDVNkPUkcj2MGFTmzazMSds:polkadotbip44",
|
3526
3572
|
"blockHash": null,
|
@@ -3,17 +3,17 @@
|
|
3
3
|
exports[`stacks currency bridge scanAccounts stacks seed 1 1`] = `
|
4
4
|
[
|
5
5
|
{
|
6
|
-
"balance": "
|
6
|
+
"balance": "2084969",
|
7
7
|
"currencyId": "stacks",
|
8
8
|
"derivationMode": "",
|
9
9
|
"freshAddress": "SP3KS7VMY2ZNE6SB88PHR4SKRK2EEPHS8N8MCCBR9",
|
10
10
|
"freshAddressPath": "44'/5757'/0'/0/0",
|
11
11
|
"id": "js:2:stacks:022a460decc9dba8c452927fecb33d7ae25a8d79dc5442b84feaf8f3aa0e2b575d:",
|
12
12
|
"index": 0,
|
13
|
-
"operationsCount":
|
13
|
+
"operationsCount": 4,
|
14
14
|
"pendingOperations": [],
|
15
15
|
"seedIdentifier": "022a460decc9dba8c452927fecb33d7ae25a8d79dc5442b84feaf8f3aa0e2b575d",
|
16
|
-
"spendableBalance": "
|
16
|
+
"spendableBalance": "2084969",
|
17
17
|
"swapHistory": [],
|
18
18
|
"syncHash": undefined,
|
19
19
|
"used": true,
|
@@ -219,6 +219,26 @@ exports[`stacks currency bridge scanAccounts stacks seed 1 2`] = `
|
|
219
219
|
"type": "IN",
|
220
220
|
"value": "100000",
|
221
221
|
},
|
222
|
+
{
|
223
|
+
"accountId": "js:2:stacks:022a460decc9dba8c452927fecb33d7ae25a8d79dc5442b84feaf8f3aa0e2b575d:",
|
224
|
+
"blockHash": "0x1f55e0b680d0651989d171e41949b4d83d28149838ca304cadcfcbd09ed57654",
|
225
|
+
"blockHeight": 989216,
|
226
|
+
"extra": {
|
227
|
+
"memo": "",
|
228
|
+
},
|
229
|
+
"fee": "400",
|
230
|
+
"hash": "0xf6ffba28055e50744b886982d03c58f7f9bb3ebe42607e80548dbaf06850a407",
|
231
|
+
"id": "js:2:stacks:022a460decc9dba8c452927fecb33d7ae25a8d79dc5442b84feaf8f3aa0e2b575d:-0xf6ffba28055e50744b886982d03c58f7f9bb3ebe42607e80548dbaf06850a407-IN",
|
232
|
+
"recipients": [
|
233
|
+
"SP3KS7VMY2ZNE6SB88PHR4SKRK2EEPHS8N8MCCBR9",
|
234
|
+
],
|
235
|
+
"senders": [
|
236
|
+
"SP2417H88DQFN7FNDMSKM9N0B3Q6GNGEM40W7ZAZW",
|
237
|
+
],
|
238
|
+
"transactionSequenceNumber": 372,
|
239
|
+
"type": "IN",
|
240
|
+
"value": "10000",
|
241
|
+
},
|
222
242
|
],
|
223
243
|
[
|
224
244
|
{
|