@ledgerhq/live-common 34.45.0 → 34.45.1-nightly.0
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/__tests__/test-helpers/bridge.d.ts.map +1 -1
- package/lib/__tests__/test-helpers/bridge.js +3 -1
- package/lib/__tests__/test-helpers/bridge.js.map +1 -1
- package/lib/bridge/generic-alpaca/accountBridge.d.ts +1 -1
- package/lib/bridge/generic-alpaca/accountBridge.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/accountBridge.js.map +1 -1
- package/lib/bridge/generic-alpaca/alpaca/index.d.ts +1 -1
- package/lib/bridge/generic-alpaca/alpaca/index.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/alpaca/index.js +4 -2
- package/lib/bridge/generic-alpaca/alpaca/index.js.map +1 -1
- package/lib/bridge/generic-alpaca/alpaca/network/network-alpaca.d.ts +4 -4
- package/lib/bridge/generic-alpaca/alpaca/network/network-alpaca.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/alpaca/network/network-alpaca.js +10 -10
- package/lib/bridge/generic-alpaca/alpaca/network/network-alpaca.js.map +1 -1
- package/lib/bridge/generic-alpaca/broadcast.d.ts +1 -1
- package/lib/bridge/generic-alpaca/broadcast.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/broadcast.js.map +1 -1
- package/lib/bridge/generic-alpaca/buildSubAccounts.d.ts +17 -0
- package/lib/bridge/generic-alpaca/buildSubAccounts.d.ts.map +1 -0
- package/lib/bridge/generic-alpaca/buildSubAccounts.js +75 -0
- package/lib/bridge/generic-alpaca/buildSubAccounts.js.map +1 -0
- package/lib/bridge/generic-alpaca/createTransaction.d.ts +17 -9
- package/lib/bridge/generic-alpaca/createTransaction.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/createTransaction.js +36 -10
- package/lib/bridge/generic-alpaca/createTransaction.js.map +1 -1
- package/lib/bridge/generic-alpaca/currencyBridge.d.ts +1 -1
- package/lib/bridge/generic-alpaca/currencyBridge.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/currencyBridge.js.map +1 -1
- package/lib/bridge/generic-alpaca/estimateMaxSpendable.d.ts +1 -1
- package/lib/bridge/generic-alpaca/estimateMaxSpendable.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/estimateMaxSpendable.js +9 -0
- package/lib/bridge/generic-alpaca/estimateMaxSpendable.js.map +1 -1
- package/lib/bridge/generic-alpaca/getAccountShape.d.ts +1 -1
- package/lib/bridge/generic-alpaca/getAccountShape.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/getAccountShape.js +66 -37
- package/lib/bridge/generic-alpaca/getAccountShape.js.map +1 -1
- package/lib/bridge/generic-alpaca/getTransactionStatus.d.ts +1 -1
- package/lib/bridge/generic-alpaca/getTransactionStatus.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/getTransactionStatus.js +27 -15
- package/lib/bridge/generic-alpaca/getTransactionStatus.js.map +1 -1
- package/lib/bridge/generic-alpaca/prepareTransaction.d.ts +5 -1
- package/lib/bridge/generic-alpaca/prepareTransaction.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/prepareTransaction.js +28 -5
- package/lib/bridge/generic-alpaca/prepareTransaction.js.map +1 -1
- package/lib/bridge/generic-alpaca/signOperation.d.ts +1 -1
- package/lib/bridge/generic-alpaca/signOperation.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/signOperation.js +68 -13
- package/lib/bridge/generic-alpaca/signOperation.js.map +1 -1
- package/lib/bridge/generic-alpaca/signer/index.d.ts +1 -1
- package/lib/bridge/generic-alpaca/signer/index.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/signer/index.js +38 -5
- package/lib/bridge/generic-alpaca/signer/index.js.map +1 -1
- package/lib/bridge/generic-alpaca/signer/signTransaction.d.ts +2 -0
- package/lib/bridge/generic-alpaca/signer/signTransaction.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/signer/signTransaction.js +8 -1
- package/lib/bridge/generic-alpaca/signer/signTransaction.js.map +1 -1
- package/lib/bridge/generic-alpaca/signer/types.d.ts +3 -0
- package/lib/bridge/generic-alpaca/signer/types.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/tests/estimateMaxSpendable.test.js +70 -46
- package/lib/bridge/generic-alpaca/tests/estimateMaxSpendable.test.js.map +1 -1
- package/lib/bridge/generic-alpaca/tests/prepareTransaction.test.js +1 -1
- package/lib/bridge/generic-alpaca/tests/prepareTransaction.test.js.map +1 -1
- package/lib/bridge/generic-alpaca/tests/signOperation.test.js +25 -22
- package/lib/bridge/generic-alpaca/tests/signOperation.test.js.map +1 -1
- package/lib/bridge/generic-alpaca/tests/utils.test.d.ts.map +1 -0
- package/lib/bridge/generic-alpaca/{utils.test.js → tests/utils.test.js} +1 -1
- package/lib/bridge/generic-alpaca/tests/utils.test.js.map +1 -0
- package/lib/bridge/generic-alpaca/utils.d.ts +36 -1
- package/lib/bridge/generic-alpaca/utils.d.ts.map +1 -1
- package/lib/bridge/generic-alpaca/utils.js +130 -14
- package/lib/bridge/generic-alpaca/utils.js.map +1 -1
- package/lib/bridge/impl.d.ts.map +1 -1
- package/lib/bridge/impl.js +5 -4
- package/lib/bridge/impl.js.map +1 -1
- package/lib/e2e/enum/Account.js +4 -4
- package/lib/e2e/enum/Account.js.map +1 -1
- package/lib/e2e/enum/AppInfos.d.ts +1 -1
- package/lib/e2e/enum/AppInfos.d.ts.map +1 -1
- package/lib/e2e/enum/AppInfos.js +1 -1
- package/lib/e2e/enum/AppInfos.js.map +1 -1
- package/lib/e2e/enum/Currency.d.ts +3 -1
- package/lib/e2e/enum/Currency.d.ts.map +1 -1
- package/lib/e2e/enum/Currency.js +102 -42
- package/lib/e2e/enum/Currency.js.map +1 -1
- package/lib/e2e/enum/Network.d.ts +34 -0
- package/lib/e2e/enum/Network.d.ts.map +1 -0
- package/lib/e2e/enum/Network.js +38 -0
- package/lib/e2e/enum/Network.js.map +1 -0
- package/lib/e2e/speculos.js +2 -2
- package/lib/e2e/speculos.js.map +1 -1
- package/lib/exchange/index.d.ts.map +1 -1
- package/lib/exchange/index.js +1 -0
- package/lib/exchange/index.js.map +1 -1
- package/lib/families/evm/config.js +1 -1
- package/lib/families/evm/config.js.map +1 -1
- package/lib/families/stellar/bridge/logic.d.ts +1 -1
- package/lib/families/stellar/bridge/logic.d.ts.map +1 -1
- package/lib/families/stellar/bridge/logic.js +1 -1
- package/lib/families/stellar/bridge/logic.js.map +1 -1
- package/lib/families/stellar/bridge/mock.js +2 -2
- package/lib/families/stellar/bridge/mock.js.map +1 -1
- package/lib/families/stellar/setup.d.ts +3 -6
- package/lib/families/stellar/setup.d.ts.map +1 -1
- package/lib/families/stellar/setup.js +3 -12
- package/lib/families/stellar/setup.js.map +1 -1
- package/lib/families/xrp/bridge/mock.js +2 -2
- package/lib/families/xrp/bridge/mock.js.map +1 -1
- package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib/featureFlags/defaultFeatures.js +4 -2
- package/lib/featureFlags/defaultFeatures.js.map +1 -1
- package/lib/generated/bridge/js.d.ts +0 -1
- package/lib/generated/bridge/js.d.ts.map +1 -1
- package/lib/generated/bridge/js.js +12 -14
- package/lib/generated/bridge/js.js.map +1 -1
- package/lib/generated/transaction.d.ts +1 -1
- package/lib/modularDrawer/__test__/useModularDrawerVisibility.test.js +229 -14
- package/lib/modularDrawer/__test__/useModularDrawerVisibility.test.js.map +1 -1
- package/lib/modularDrawer/enums.d.ts +0 -1
- package/lib/modularDrawer/enums.d.ts.map +1 -1
- package/lib/modularDrawer/enums.js +0 -1
- package/lib/modularDrawer/enums.js.map +1 -1
- package/lib/modularDrawer/useModularDrawerVisibility.d.ts +7 -1
- package/lib/modularDrawer/useModularDrawerVisibility.d.ts.map +1 -1
- package/lib/modularDrawer/useModularDrawerVisibility.js +18 -2
- package/lib/modularDrawer/useModularDrawerVisibility.js.map +1 -1
- package/lib-es/__tests__/test-helpers/bridge.d.ts.map +1 -1
- package/lib-es/__tests__/test-helpers/bridge.js +3 -1
- package/lib-es/__tests__/test-helpers/bridge.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/accountBridge.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/accountBridge.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/accountBridge.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/alpaca/index.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/alpaca/index.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/alpaca/index.js +4 -2
- package/lib-es/bridge/generic-alpaca/alpaca/index.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/alpaca/network/network-alpaca.d.ts +4 -4
- package/lib-es/bridge/generic-alpaca/alpaca/network/network-alpaca.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/alpaca/network/network-alpaca.js +10 -10
- package/lib-es/bridge/generic-alpaca/alpaca/network/network-alpaca.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/broadcast.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/broadcast.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/broadcast.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/buildSubAccounts.d.ts +17 -0
- package/lib-es/bridge/generic-alpaca/buildSubAccounts.d.ts.map +1 -0
- package/lib-es/bridge/generic-alpaca/buildSubAccounts.js +65 -0
- package/lib-es/bridge/generic-alpaca/buildSubAccounts.js.map +1 -0
- package/lib-es/bridge/generic-alpaca/createTransaction.d.ts +17 -9
- package/lib-es/bridge/generic-alpaca/createTransaction.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/createTransaction.js +35 -9
- package/lib-es/bridge/generic-alpaca/createTransaction.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/currencyBridge.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/currencyBridge.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/currencyBridge.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/estimateMaxSpendable.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/estimateMaxSpendable.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/estimateMaxSpendable.js +9 -0
- package/lib-es/bridge/generic-alpaca/estimateMaxSpendable.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/getAccountShape.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/getAccountShape.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/getAccountShape.js +66 -37
- package/lib-es/bridge/generic-alpaca/getAccountShape.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/getTransactionStatus.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/getTransactionStatus.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/getTransactionStatus.js +27 -15
- package/lib-es/bridge/generic-alpaca/getTransactionStatus.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/prepareTransaction.d.ts +5 -1
- package/lib-es/bridge/generic-alpaca/prepareTransaction.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/prepareTransaction.js +26 -4
- package/lib-es/bridge/generic-alpaca/prepareTransaction.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/signOperation.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/signOperation.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/signOperation.js +65 -13
- package/lib-es/bridge/generic-alpaca/signOperation.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/signer/index.d.ts +1 -1
- package/lib-es/bridge/generic-alpaca/signer/index.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/signer/index.js +39 -6
- package/lib-es/bridge/generic-alpaca/signer/index.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/signer/signTransaction.d.ts +2 -0
- package/lib-es/bridge/generic-alpaca/signer/signTransaction.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/signer/signTransaction.js +6 -0
- package/lib-es/bridge/generic-alpaca/signer/signTransaction.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/signer/types.d.ts +3 -0
- package/lib-es/bridge/generic-alpaca/signer/types.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/tests/estimateMaxSpendable.test.js +70 -46
- package/lib-es/bridge/generic-alpaca/tests/estimateMaxSpendable.test.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/tests/prepareTransaction.test.js +1 -1
- package/lib-es/bridge/generic-alpaca/tests/prepareTransaction.test.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/tests/signOperation.test.js +25 -22
- package/lib-es/bridge/generic-alpaca/tests/signOperation.test.js.map +1 -1
- package/lib-es/bridge/generic-alpaca/tests/utils.test.d.ts.map +1 -0
- package/lib-es/bridge/generic-alpaca/{utils.test.js → tests/utils.test.js} +1 -1
- package/lib-es/bridge/generic-alpaca/tests/utils.test.js.map +1 -0
- package/lib-es/bridge/generic-alpaca/utils.d.ts +36 -1
- package/lib-es/bridge/generic-alpaca/utils.d.ts.map +1 -1
- package/lib-es/bridge/generic-alpaca/utils.js +130 -14
- package/lib-es/bridge/generic-alpaca/utils.js.map +1 -1
- package/lib-es/bridge/impl.d.ts.map +1 -1
- package/lib-es/bridge/impl.js +5 -4
- package/lib-es/bridge/impl.js.map +1 -1
- package/lib-es/e2e/enum/Account.js +4 -4
- package/lib-es/e2e/enum/Account.js.map +1 -1
- package/lib-es/e2e/enum/AppInfos.d.ts +1 -1
- package/lib-es/e2e/enum/AppInfos.d.ts.map +1 -1
- package/lib-es/e2e/enum/AppInfos.js +1 -1
- package/lib-es/e2e/enum/AppInfos.js.map +1 -1
- package/lib-es/e2e/enum/Currency.d.ts +3 -1
- package/lib-es/e2e/enum/Currency.d.ts.map +1 -1
- package/lib-es/e2e/enum/Currency.js +102 -42
- package/lib-es/e2e/enum/Currency.js.map +1 -1
- package/lib-es/e2e/enum/Network.d.ts +34 -0
- package/lib-es/e2e/enum/Network.d.ts.map +1 -0
- package/lib-es/e2e/enum/Network.js +35 -0
- package/lib-es/e2e/enum/Network.js.map +1 -0
- package/lib-es/e2e/speculos.js +2 -2
- package/lib-es/e2e/speculos.js.map +1 -1
- package/lib-es/exchange/index.d.ts.map +1 -1
- package/lib-es/exchange/index.js +1 -0
- package/lib-es/exchange/index.js.map +1 -1
- package/lib-es/families/evm/config.js +1 -1
- package/lib-es/families/evm/config.js.map +1 -1
- package/lib-es/families/stellar/bridge/logic.d.ts +1 -1
- package/lib-es/families/stellar/bridge/logic.d.ts.map +1 -1
- package/lib-es/families/stellar/bridge/logic.js +1 -1
- package/lib-es/families/stellar/bridge/logic.js.map +1 -1
- package/lib-es/families/stellar/bridge/mock.js +2 -2
- package/lib-es/families/stellar/bridge/mock.js.map +1 -1
- package/lib-es/families/stellar/setup.d.ts +3 -6
- package/lib-es/families/stellar/setup.d.ts.map +1 -1
- package/lib-es/families/stellar/setup.js +2 -10
- package/lib-es/families/stellar/setup.js.map +1 -1
- package/lib-es/families/xrp/bridge/mock.js +2 -2
- package/lib-es/families/xrp/bridge/mock.js.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
- package/lib-es/featureFlags/defaultFeatures.js +4 -2
- package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
- package/lib-es/generated/bridge/js.d.ts +0 -1
- package/lib-es/generated/bridge/js.d.ts.map +1 -1
- package/lib-es/generated/bridge/js.js +0 -2
- package/lib-es/generated/bridge/js.js.map +1 -1
- package/lib-es/generated/transaction.d.ts +1 -1
- package/lib-es/modularDrawer/__test__/useModularDrawerVisibility.test.js +229 -14
- package/lib-es/modularDrawer/__test__/useModularDrawerVisibility.test.js.map +1 -1
- package/lib-es/modularDrawer/enums.d.ts +0 -1
- package/lib-es/modularDrawer/enums.d.ts.map +1 -1
- package/lib-es/modularDrawer/enums.js +0 -1
- package/lib-es/modularDrawer/enums.js.map +1 -1
- package/lib-es/modularDrawer/useModularDrawerVisibility.d.ts +7 -1
- package/lib-es/modularDrawer/useModularDrawerVisibility.d.ts.map +1 -1
- package/lib-es/modularDrawer/useModularDrawerVisibility.js +18 -2
- package/lib-es/modularDrawer/useModularDrawerVisibility.js.map +1 -1
- package/package.json +7 -5
- package/src/__tests__/test-helpers/bridge.ts +3 -1
- package/src/bridge/generic-alpaca/accountBridge.ts +1 -4
- package/src/bridge/generic-alpaca/alpaca/index.ts +7 -2
- package/src/bridge/generic-alpaca/alpaca/network/network-alpaca.ts +17 -22
- package/src/bridge/generic-alpaca/broadcast.ts +1 -4
- package/src/bridge/generic-alpaca/buildSubAccounts.ts +110 -0
- package/src/bridge/generic-alpaca/createTransaction.ts +48 -18
- package/src/bridge/generic-alpaca/currencyBridge.ts +1 -1
- package/src/bridge/generic-alpaca/estimateMaxSpendable.ts +13 -4
- package/src/bridge/generic-alpaca/getAccountShape.ts +84 -46
- package/src/bridge/generic-alpaca/getTransactionStatus.ts +46 -22
- package/src/bridge/generic-alpaca/prepareTransaction.ts +41 -7
- package/src/bridge/generic-alpaca/signOperation.ts +88 -18
- package/src/bridge/generic-alpaca/signer/index.ts +43 -7
- package/src/bridge/generic-alpaca/signer/signTransaction.ts +11 -0
- package/src/bridge/generic-alpaca/signer/types.ts +1 -0
- package/src/bridge/generic-alpaca/tests/estimateMaxSpendable.test.ts +72 -47
- package/src/bridge/generic-alpaca/tests/prepareTransaction.test.ts +1 -1
- package/src/bridge/generic-alpaca/tests/signOperation.test.ts +28 -26
- package/src/bridge/generic-alpaca/{utils.test.ts → tests/utils.test.ts} +1 -1
- package/src/bridge/generic-alpaca/utils.ts +158 -18
- package/src/bridge/impl.ts +5 -4
- package/src/e2e/enum/Account.ts +4 -4
- package/src/e2e/enum/AppInfos.ts +1 -1
- package/src/e2e/enum/Currency.ts +102 -40
- package/src/e2e/enum/Network.ts +33 -0
- package/src/e2e/speculos.ts +2 -2
- package/src/exchange/index.ts +1 -0
- package/src/families/evm/config.ts +1 -1
- package/src/families/stellar/__snapshots__/bridge.integration.test.ts.snap +184 -1887
- package/src/families/stellar/bridge/logic.ts +1 -1
- package/src/families/stellar/bridge/mock.ts +2 -2
- package/src/families/stellar/setup.ts +2 -22
- package/src/families/xrp/bridge/mock.ts +2 -2
- package/src/featureFlags/defaultFeatures.ts +4 -2
- package/src/generated/bridge/js.ts +0 -2
- package/src/modularDrawer/__test__/useModularDrawerVisibility.test.ts +345 -14
- package/src/modularDrawer/enums.ts +0 -1
- package/src/modularDrawer/useModularDrawerVisibility.ts +26 -2
- package/lib/bridge/generic-alpaca/utils.test.d.ts.map +0 -1
- package/lib/bridge/generic-alpaca/utils.test.js.map +0 -1
- package/lib/families/canton/bridge.integration.test.d.ts +0 -2
- package/lib/families/canton/bridge.integration.test.d.ts.map +0 -1
- package/lib/families/canton/bridge.integration.test.js +0 -7
- package/lib/families/canton/bridge.integration.test.js.map +0 -1
- package/lib-es/bridge/generic-alpaca/utils.test.d.ts.map +0 -1
- package/lib-es/bridge/generic-alpaca/utils.test.js.map +0 -1
- package/lib-es/families/canton/bridge.integration.test.d.ts +0 -2
- package/lib-es/families/canton/bridge.integration.test.d.ts.map +0 -1
- package/lib-es/families/canton/bridge.integration.test.js +0 -5
- package/lib-es/families/canton/bridge.integration.test.js.map +0 -1
- package/src/families/canton/bridge.integration.test.ts +0 -6
- /package/lib/bridge/generic-alpaca/{utils.test.d.ts → tests/utils.test.d.ts} +0 -0
- /package/lib-es/bridge/generic-alpaca/{utils.test.d.ts → tests/utils.test.d.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
export * from "@ledgerhq/coin-stellar/
|
1
|
+
export * from "@ledgerhq/coin-stellar/logic";
|
@@ -1,37 +1,17 @@
|
|
1
1
|
// Goal of this file is to inject all necessary device/signer dependency to coin-modules
|
2
|
-
import { createBridges } from "@ledgerhq/coin-stellar/bridge/index";
|
3
2
|
import makeCliTools from "@ledgerhq/coin-stellar/test/cli";
|
4
|
-
import { StellarCoinConfig } from "@ledgerhq/coin-stellar/config";
|
5
3
|
import stellarResolver from "@ledgerhq/coin-stellar/signer/index";
|
6
|
-
import type {
|
7
|
-
StellarAccount,
|
8
|
-
Transaction,
|
9
|
-
TransactionStatus,
|
10
|
-
} from "@ledgerhq/coin-stellar/types/index";
|
11
|
-
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";
|
12
4
|
import Stellar from "@ledgerhq/hw-app-str";
|
13
5
|
import Transport from "@ledgerhq/hw-transport";
|
14
|
-
import
|
15
|
-
import { CreateSigner, createResolver, executeWithSigner } from "../../bridge/setup";
|
16
|
-
import { getCurrencyConfiguration } from "../../config";
|
6
|
+
import { CreateSigner, createResolver } from "../../bridge/setup";
|
17
7
|
import { Resolver } from "../../hw/getAddress/types";
|
18
8
|
|
19
9
|
const createSigner: CreateSigner<Stellar> = (transport: Transport) => {
|
20
10
|
return new Stellar(transport);
|
21
11
|
};
|
22
12
|
|
23
|
-
const stellar = getCryptoCurrencyById("stellar");
|
24
|
-
function getCurrencyConfig(): StellarCoinConfig {
|
25
|
-
return getCurrencyConfiguration(stellar);
|
26
|
-
}
|
27
|
-
|
28
|
-
const bridge: Bridge<Transaction, StellarAccount, TransactionStatus> = createBridges(
|
29
|
-
executeWithSigner(createSigner),
|
30
|
-
getCurrencyConfig,
|
31
|
-
);
|
32
|
-
|
33
13
|
const resolver: Resolver = createResolver(createSigner, stellarResolver);
|
34
14
|
|
35
15
|
const cliTools = makeCliTools();
|
36
16
|
|
37
|
-
export {
|
17
|
+
export { cliTools, resolver };
|
@@ -33,13 +33,13 @@ export function addNotCreatedRippleMockAddress(addr: string) {
|
|
33
33
|
notCreatedAddresses.push(addr);
|
34
34
|
}
|
35
35
|
|
36
|
-
const defaultGetFees = (a: Account, t: any) => t.
|
36
|
+
const defaultGetFees = (a: Account, t: any) => t.fees;
|
37
37
|
|
38
38
|
const createTransaction = (): Transaction => ({
|
39
39
|
family: "xrp",
|
40
40
|
amount: new BigNumber(0),
|
41
41
|
recipient: "",
|
42
|
-
|
42
|
+
fees: new BigNumber(10),
|
43
43
|
feeCustomUnit: getCryptoCurrencyById("ripple").units[1],
|
44
44
|
tag: undefined,
|
45
45
|
networkInfo: null,
|
@@ -616,8 +616,9 @@ export const DEFAULT_FEATURES: Features = {
|
|
616
616
|
...DEFAULT_FEATURE,
|
617
617
|
params: {
|
618
618
|
add_account: true,
|
619
|
-
earn_flow: true,
|
620
619
|
live_app: true,
|
620
|
+
live_apps_allowlist: [],
|
621
|
+
live_apps_blocklist: [],
|
621
622
|
receive_flow: true,
|
622
623
|
send_flow: true,
|
623
624
|
enableModularization: false,
|
@@ -628,8 +629,9 @@ export const DEFAULT_FEATURES: Features = {
|
|
628
629
|
...DEFAULT_FEATURE,
|
629
630
|
params: {
|
630
631
|
add_account: true,
|
631
|
-
earn_flow: true,
|
632
632
|
live_app: true,
|
633
|
+
live_apps_allowlist: [],
|
634
|
+
live_apps_blocklist: [],
|
633
635
|
receive_flow: true,
|
634
636
|
send_flow: true,
|
635
637
|
enableModularization: false,
|
@@ -16,7 +16,6 @@ import { bridge as near } from "../../families/near/setup";
|
|
16
16
|
import { bridge as polkadot } from "../../families/polkadot/setup";
|
17
17
|
import { bridge as solana } from "../../families/solana/setup";
|
18
18
|
import { bridge as stacks } from "../../families/stacks/setup";
|
19
|
-
import { bridge as stellar } from "../../families/stellar/setup";
|
20
19
|
import { bridge as tezos } from "../../families/tezos/setup";
|
21
20
|
import { bridge as ton } from "../../families/ton/setup";
|
22
21
|
import { bridge as tron } from "../../families/tron/setup";
|
@@ -43,7 +42,6 @@ export default {
|
|
43
42
|
polkadot,
|
44
43
|
solana,
|
45
44
|
stacks,
|
46
|
-
stellar,
|
47
45
|
tezos,
|
48
46
|
ton,
|
49
47
|
tron,
|
@@ -29,7 +29,9 @@ describe("useModularDrawerVisibility", () => {
|
|
29
29
|
},
|
30
30
|
);
|
31
31
|
|
32
|
-
expect(
|
32
|
+
expect(
|
33
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
34
|
+
).toBe(false);
|
33
35
|
});
|
34
36
|
|
35
37
|
it("should return false if the location param is not set", () => {
|
@@ -47,7 +49,9 @@ describe("useModularDrawerVisibility", () => {
|
|
47
49
|
},
|
48
50
|
);
|
49
51
|
|
50
|
-
expect(
|
52
|
+
expect(
|
53
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
54
|
+
).toBe(false);
|
51
55
|
});
|
52
56
|
|
53
57
|
it("should return the correct visibility for each location", () => {
|
@@ -56,7 +60,6 @@ describe("useModularDrawerVisibility", () => {
|
|
56
60
|
enabled: true,
|
57
61
|
params: {
|
58
62
|
[ModularDrawerLocation.ADD_ACCOUNT]: true,
|
59
|
-
[ModularDrawerLocation.EARN_FLOW]: false,
|
60
63
|
},
|
61
64
|
},
|
62
65
|
};
|
@@ -71,9 +74,15 @@ describe("useModularDrawerVisibility", () => {
|
|
71
74
|
},
|
72
75
|
);
|
73
76
|
|
74
|
-
expect(
|
75
|
-
|
76
|
-
|
77
|
+
expect(
|
78
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
79
|
+
).toBe(true);
|
80
|
+
expect(
|
81
|
+
result.current.isModularDrawerVisible({
|
82
|
+
location: ModularDrawerLocation.LIVE_APP,
|
83
|
+
liveAppId: "earn",
|
84
|
+
}),
|
85
|
+
).toBe(false);
|
77
86
|
});
|
78
87
|
});
|
79
88
|
|
@@ -96,7 +105,9 @@ describe("useModularDrawerVisibility", () => {
|
|
96
105
|
},
|
97
106
|
);
|
98
107
|
|
99
|
-
expect(
|
108
|
+
expect(
|
109
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
110
|
+
).toBe(false);
|
100
111
|
});
|
101
112
|
|
102
113
|
it("should return false if the location param is not set", () => {
|
@@ -114,7 +125,9 @@ describe("useModularDrawerVisibility", () => {
|
|
114
125
|
},
|
115
126
|
);
|
116
127
|
|
117
|
-
expect(
|
128
|
+
expect(
|
129
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
130
|
+
).toBe(false);
|
118
131
|
});
|
119
132
|
|
120
133
|
it("should return the correct visibility for each location", () => {
|
@@ -123,7 +136,6 @@ describe("useModularDrawerVisibility", () => {
|
|
123
136
|
enabled: true,
|
124
137
|
params: {
|
125
138
|
[ModularDrawerLocation.ADD_ACCOUNT]: false,
|
126
|
-
[ModularDrawerLocation.EARN_FLOW]: true,
|
127
139
|
[ModularDrawerLocation.RECEIVE_FLOW]: true,
|
128
140
|
},
|
129
141
|
},
|
@@ -139,11 +151,330 @@ describe("useModularDrawerVisibility", () => {
|
|
139
151
|
},
|
140
152
|
);
|
141
153
|
|
142
|
-
expect(
|
143
|
-
|
144
|
-
|
145
|
-
expect(
|
146
|
-
|
154
|
+
expect(
|
155
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.ADD_ACCOUNT }),
|
156
|
+
).toBe(false);
|
157
|
+
expect(
|
158
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.RECEIVE_FLOW }),
|
159
|
+
).toBe(true);
|
160
|
+
expect(
|
161
|
+
result.current.isModularDrawerVisible({
|
162
|
+
location: ModularDrawerLocation.LIVE_APP,
|
163
|
+
liveAppId: "earn",
|
164
|
+
}),
|
165
|
+
).toBe(false);
|
166
|
+
expect(
|
167
|
+
result.current.isModularDrawerVisible({ location: ModularDrawerLocation.SEND_FLOW }),
|
168
|
+
).toBe(false);
|
169
|
+
});
|
170
|
+
});
|
171
|
+
|
172
|
+
describe("Live app whitelist and blacklist logic", () => {
|
173
|
+
describe("lldModularDrawer", () => {
|
174
|
+
it("should return false if live_app location is not enabled", () => {
|
175
|
+
const mockedFeatures = {
|
176
|
+
lldModularDrawer: {
|
177
|
+
enabled: true,
|
178
|
+
params: {
|
179
|
+
[ModularDrawerLocation.LIVE_APP]: false,
|
180
|
+
live_apps_allowlist: ["earn"],
|
181
|
+
live_apps_blocklist: [],
|
182
|
+
},
|
183
|
+
},
|
184
|
+
};
|
185
|
+
|
186
|
+
const { result } = renderHook(
|
187
|
+
() =>
|
188
|
+
useModularDrawerVisibility({
|
189
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
190
|
+
}),
|
191
|
+
{
|
192
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
193
|
+
},
|
194
|
+
);
|
195
|
+
|
196
|
+
expect(
|
197
|
+
result.current.isModularDrawerVisible({
|
198
|
+
location: ModularDrawerLocation.LIVE_APP,
|
199
|
+
liveAppId: "earn",
|
200
|
+
}),
|
201
|
+
).toBe(false);
|
202
|
+
});
|
203
|
+
|
204
|
+
it("should return true for whitelisted apps when whitelist is provided", () => {
|
205
|
+
const mockedFeatures = {
|
206
|
+
lldModularDrawer: {
|
207
|
+
enabled: true,
|
208
|
+
params: {
|
209
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
210
|
+
live_apps_allowlist: ["earn", "swap"],
|
211
|
+
live_apps_blocklist: [],
|
212
|
+
},
|
213
|
+
},
|
214
|
+
};
|
215
|
+
|
216
|
+
const { result } = renderHook(
|
217
|
+
() =>
|
218
|
+
useModularDrawerVisibility({
|
219
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
220
|
+
}),
|
221
|
+
{
|
222
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
223
|
+
},
|
224
|
+
);
|
225
|
+
|
226
|
+
expect(
|
227
|
+
result.current.isModularDrawerVisible({
|
228
|
+
location: ModularDrawerLocation.LIVE_APP,
|
229
|
+
liveAppId: "earn",
|
230
|
+
}),
|
231
|
+
).toBe(true);
|
232
|
+
|
233
|
+
expect(
|
234
|
+
result.current.isModularDrawerVisible({
|
235
|
+
location: ModularDrawerLocation.LIVE_APP,
|
236
|
+
liveAppId: "swap",
|
237
|
+
}),
|
238
|
+
).toBe(true);
|
239
|
+
});
|
240
|
+
|
241
|
+
it("should return false for non-whitelisted apps when whitelist is provided", () => {
|
242
|
+
const mockedFeatures = {
|
243
|
+
lldModularDrawer: {
|
244
|
+
enabled: true,
|
245
|
+
params: {
|
246
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
247
|
+
live_apps_allowlist: ["earn"],
|
248
|
+
live_apps_blocklist: [],
|
249
|
+
},
|
250
|
+
},
|
251
|
+
};
|
252
|
+
|
253
|
+
const { result } = renderHook(
|
254
|
+
() =>
|
255
|
+
useModularDrawerVisibility({
|
256
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
257
|
+
}),
|
258
|
+
{
|
259
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
260
|
+
},
|
261
|
+
);
|
262
|
+
|
263
|
+
expect(
|
264
|
+
result.current.isModularDrawerVisible({
|
265
|
+
location: ModularDrawerLocation.LIVE_APP,
|
266
|
+
liveAppId: "swap",
|
267
|
+
}),
|
268
|
+
).toBe(false);
|
269
|
+
|
270
|
+
expect(
|
271
|
+
result.current.isModularDrawerVisible({
|
272
|
+
location: ModularDrawerLocation.LIVE_APP,
|
273
|
+
liveAppId: "unknown-app",
|
274
|
+
}),
|
275
|
+
).toBe(false);
|
276
|
+
});
|
277
|
+
|
278
|
+
it("should return false for blacklisted apps", () => {
|
279
|
+
const mockedFeatures = {
|
280
|
+
lldModularDrawer: {
|
281
|
+
enabled: true,
|
282
|
+
params: {
|
283
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
284
|
+
live_apps_allowlist: [],
|
285
|
+
live_apps_blocklist: ["blocked-app", "another-blocked-app"],
|
286
|
+
},
|
287
|
+
},
|
288
|
+
};
|
289
|
+
|
290
|
+
const { result } = renderHook(
|
291
|
+
() =>
|
292
|
+
useModularDrawerVisibility({
|
293
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
294
|
+
}),
|
295
|
+
{
|
296
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
297
|
+
},
|
298
|
+
);
|
299
|
+
|
300
|
+
expect(
|
301
|
+
result.current.isModularDrawerVisible({
|
302
|
+
location: ModularDrawerLocation.LIVE_APP,
|
303
|
+
liveAppId: "blocked-app",
|
304
|
+
}),
|
305
|
+
).toBe(false);
|
306
|
+
|
307
|
+
expect(
|
308
|
+
result.current.isModularDrawerVisible({
|
309
|
+
location: ModularDrawerLocation.LIVE_APP,
|
310
|
+
liveAppId: "another-blocked-app",
|
311
|
+
}),
|
312
|
+
).toBe(false);
|
313
|
+
});
|
314
|
+
|
315
|
+
it("should return true for non-blacklisted apps when no whitelist is provided", () => {
|
316
|
+
const mockedFeatures = {
|
317
|
+
lldModularDrawer: {
|
318
|
+
enabled: true,
|
319
|
+
params: {
|
320
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
321
|
+
live_apps_allowlist: [],
|
322
|
+
live_apps_blocklist: ["blocked-app"],
|
323
|
+
},
|
324
|
+
},
|
325
|
+
};
|
326
|
+
|
327
|
+
const { result } = renderHook(
|
328
|
+
() =>
|
329
|
+
useModularDrawerVisibility({
|
330
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
331
|
+
}),
|
332
|
+
{
|
333
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
334
|
+
},
|
335
|
+
);
|
336
|
+
|
337
|
+
expect(
|
338
|
+
result.current.isModularDrawerVisible({
|
339
|
+
location: ModularDrawerLocation.LIVE_APP,
|
340
|
+
liveAppId: "allowed-app",
|
341
|
+
}),
|
342
|
+
).toBe(true);
|
343
|
+
|
344
|
+
expect(
|
345
|
+
result.current.isModularDrawerVisible({
|
346
|
+
location: ModularDrawerLocation.LIVE_APP,
|
347
|
+
liveAppId: "earn",
|
348
|
+
}),
|
349
|
+
).toBe(true);
|
350
|
+
});
|
351
|
+
|
352
|
+
it("should prioritize blacklist over whitelist", () => {
|
353
|
+
const mockedFeatures = {
|
354
|
+
lldModularDrawer: {
|
355
|
+
enabled: true,
|
356
|
+
params: {
|
357
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
358
|
+
live_apps_allowlist: ["earn", "swap"],
|
359
|
+
live_apps_blocklist: ["swap"],
|
360
|
+
},
|
361
|
+
},
|
362
|
+
};
|
363
|
+
|
364
|
+
const { result } = renderHook(
|
365
|
+
() =>
|
366
|
+
useModularDrawerVisibility({
|
367
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
368
|
+
}),
|
369
|
+
{
|
370
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
371
|
+
},
|
372
|
+
);
|
373
|
+
|
374
|
+
expect(
|
375
|
+
result.current.isModularDrawerVisible({
|
376
|
+
location: ModularDrawerLocation.LIVE_APP,
|
377
|
+
liveAppId: "earn",
|
378
|
+
}),
|
379
|
+
).toBe(true);
|
380
|
+
|
381
|
+
expect(
|
382
|
+
result.current.isModularDrawerVisible({
|
383
|
+
location: ModularDrawerLocation.LIVE_APP,
|
384
|
+
liveAppId: "swap",
|
385
|
+
}),
|
386
|
+
).toBe(false);
|
387
|
+
});
|
388
|
+
|
389
|
+
it("should handle missing whitelist and blacklist arrays", () => {
|
390
|
+
const mockedFeatures = {
|
391
|
+
lldModularDrawer: {
|
392
|
+
enabled: true,
|
393
|
+
params: {
|
394
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
395
|
+
},
|
396
|
+
},
|
397
|
+
};
|
398
|
+
|
399
|
+
const { result } = renderHook(
|
400
|
+
() =>
|
401
|
+
useModularDrawerVisibility({
|
402
|
+
modularDrawerFeatureFlagKey: "lldModularDrawer",
|
403
|
+
}),
|
404
|
+
{
|
405
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
406
|
+
},
|
407
|
+
);
|
408
|
+
|
409
|
+
expect(
|
410
|
+
result.current.isModularDrawerVisible({
|
411
|
+
location: ModularDrawerLocation.LIVE_APP,
|
412
|
+
liveAppId: "any-app",
|
413
|
+
}),
|
414
|
+
).toBe(true);
|
415
|
+
});
|
416
|
+
});
|
417
|
+
|
418
|
+
describe("llmModularDrawer", () => {
|
419
|
+
it("should return true for whitelisted apps", () => {
|
420
|
+
const mockedFeatures = {
|
421
|
+
llmModularDrawer: {
|
422
|
+
enabled: true,
|
423
|
+
params: {
|
424
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
425
|
+
live_apps_allowlist: ["earn", "swap"],
|
426
|
+
live_apps_blocklist: [],
|
427
|
+
},
|
428
|
+
},
|
429
|
+
};
|
430
|
+
|
431
|
+
const { result } = renderHook(
|
432
|
+
() =>
|
433
|
+
useModularDrawerVisibility({
|
434
|
+
modularDrawerFeatureFlagKey: "llmModularDrawer",
|
435
|
+
}),
|
436
|
+
{
|
437
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
438
|
+
},
|
439
|
+
);
|
440
|
+
|
441
|
+
expect(
|
442
|
+
result.current.isModularDrawerVisible({
|
443
|
+
location: ModularDrawerLocation.LIVE_APP,
|
444
|
+
liveAppId: "earn",
|
445
|
+
}),
|
446
|
+
).toBe(true);
|
447
|
+
});
|
448
|
+
|
449
|
+
it("should return false for blacklisted apps even if whitelisted", () => {
|
450
|
+
const mockedFeatures = {
|
451
|
+
llmModularDrawer: {
|
452
|
+
enabled: true,
|
453
|
+
params: {
|
454
|
+
[ModularDrawerLocation.LIVE_APP]: true,
|
455
|
+
live_apps_allowlist: ["earn", "swap"],
|
456
|
+
live_apps_blocklist: ["swap"],
|
457
|
+
},
|
458
|
+
},
|
459
|
+
};
|
460
|
+
|
461
|
+
const { result } = renderHook(
|
462
|
+
() =>
|
463
|
+
useModularDrawerVisibility({
|
464
|
+
modularDrawerFeatureFlagKey: "llmModularDrawer",
|
465
|
+
}),
|
466
|
+
{
|
467
|
+
wrapper: makeMockedFeatureFlagsProviderWrapper(makeMockedContextValue(mockedFeatures)),
|
468
|
+
},
|
469
|
+
);
|
470
|
+
|
471
|
+
expect(
|
472
|
+
result.current.isModularDrawerVisible({
|
473
|
+
location: ModularDrawerLocation.LIVE_APP,
|
474
|
+
liveAppId: "swap",
|
475
|
+
}),
|
476
|
+
).toBe(false);
|
477
|
+
});
|
147
478
|
});
|
148
479
|
});
|
149
480
|
});
|
@@ -4,6 +4,10 @@ import { ModularDrawerLocation } from "./enums";
|
|
4
4
|
|
5
5
|
type ModularDrawerFeatureFlagKey = "lldModularDrawer" | "llmModularDrawer";
|
6
6
|
|
7
|
+
export type ModularDrawerVisibleParams =
|
8
|
+
| { location: ModularDrawerLocation.LIVE_APP; liveAppId: string }
|
9
|
+
| { location: Exclude<ModularDrawerLocation, ModularDrawerLocation.LIVE_APP> };
|
10
|
+
|
7
11
|
export function useModularDrawerVisibility({
|
8
12
|
modularDrawerFeatureFlagKey,
|
9
13
|
}: {
|
@@ -12,9 +16,29 @@ export function useModularDrawerVisibility({
|
|
12
16
|
const featureModularDrawer = useFeature(modularDrawerFeatureFlagKey);
|
13
17
|
|
14
18
|
const isModularDrawerVisible = useCallback(
|
15
|
-
(
|
19
|
+
(params: ModularDrawerVisibleParams) => {
|
16
20
|
if (!featureModularDrawer?.enabled) return false;
|
17
|
-
|
21
|
+
|
22
|
+
if (params.location === ModularDrawerLocation.LIVE_APP) {
|
23
|
+
const isLiveAppEnabled = featureModularDrawer.params?.[params.location] ?? false;
|
24
|
+
if (!isLiveAppEnabled) return false;
|
25
|
+
|
26
|
+
const { liveAppId } = params;
|
27
|
+
const allowed = featureModularDrawer.params?.live_apps_allowlist ?? [];
|
28
|
+
const blocked = featureModularDrawer.params?.live_apps_blocklist ?? [];
|
29
|
+
|
30
|
+
if (allowed.length > 0 && !allowed.includes(liveAppId)) {
|
31
|
+
return false;
|
32
|
+
}
|
33
|
+
|
34
|
+
if (blocked.includes(liveAppId)) {
|
35
|
+
return false;
|
36
|
+
}
|
37
|
+
|
38
|
+
return true;
|
39
|
+
}
|
40
|
+
|
41
|
+
return featureModularDrawer.params?.[params.location] ?? false;
|
18
42
|
},
|
19
43
|
[featureModularDrawer],
|
20
44
|
);
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"utils.test.d.ts","sourceRoot":"","sources":["../../../src/bridge/generic-alpaca/utils.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../../../src/bridge/generic-alpaca/utils.test.ts"],"names":[],"mappings":";;AAAA,mCAAyC;AAEzC,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC9B,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,CAAC,IAAA,sBAAc,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;gBACjF,KAAK,EAAE,EAAE;gBACT,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;aACzB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;YACvD,MAAM,CAAC,IAAA,sBAAc,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;gBACjF,KAAK,EAAE,EAAE;gBACT,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;aACzB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bridge.integration.test.d.ts","sourceRoot":"","sources":["../../../src/families/canton/bridge.integration.test.ts"],"names":[],"mappings":"AAAA,OAAO,oCAAoC,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
require("../../__tests__/test-helpers/setup");
|
4
|
-
const index_1 = require("@ledgerhq/coin-canton/test/index");
|
5
|
-
const bridge_1 = require("../../__tests__/test-helpers/bridge");
|
6
|
-
(0, bridge_1.testBridge)(index_1.dataset);
|
7
|
-
//# sourceMappingURL=bridge.integration.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bridge.integration.test.js","sourceRoot":"","sources":["../../../src/families/canton/bridge.integration.test.ts"],"names":[],"mappings":";;AAAA,8CAA4C;AAE5C,4DAA2D;AAC3D,gEAAiE;AAEjE,IAAA,mBAAU,EAAC,eAAO,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"utils.test.d.ts","sourceRoot":"","sources":["../../../src/bridge/generic-alpaca/utils.test.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../../../src/bridge/generic-alpaca/utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC9B,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;YACtC,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;gBACjF,KAAK,EAAE,EAAE;gBACT,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;aACzB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;YACvD,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;gBACjF,KAAK,EAAE,EAAE;gBACT,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;aACzB,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bridge.integration.test.d.ts","sourceRoot":"","sources":["../../../src/families/canton/bridge.integration.test.ts"],"names":[],"mappings":"AAAA,OAAO,oCAAoC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bridge.integration.test.js","sourceRoot":"","sources":["../../../src/families/canton/bridge.integration.test.ts"],"names":[],"mappings":"AAAA,OAAO,oCAAoC,CAAC;AAE5C,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEjE,UAAU,CAAC,OAAO,CAAC,CAAC"}
|
File without changes
|
File without changes
|