@ledgerhq/types-live
Advanced tools
Comparing version 6.55.0 to 6.56.0-next.0
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { BigNumber } from "bignumber.js"; | ||
@@ -91,3 +92,3 @@ import type { Observable } from "rxjs"; | ||
*/ | ||
export interface AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> { | ||
interface SendReceiveAccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> { | ||
sync(initialAccount: A, syncConfig: SyncConfig): Observable<(arg0: A) => A>; | ||
@@ -143,2 +144,6 @@ receive(account: A, arg1: { | ||
} | ||
type AccountBridgeWithExchange<A extends Account = Account> = { | ||
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer; | ||
}; | ||
export type AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>; | ||
type ExpectFn = (...args: Array<any>) => any; | ||
@@ -145,0 +150,0 @@ type CurrencyTransaction<T extends TransactionCommon> = { |
@@ -115,2 +115,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyMantra: DefaultFeature; | ||
currencyXion: DefaultFeature; | ||
}; | ||
@@ -159,8 +160,3 @@ /** | ||
ptxSwapLiveAppMobile: DefaultFeature; | ||
ptxSwapLiveAppDemoZero: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoOne: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoThree: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapCoreExperiment: Feature_PtxSwapCoreExperiment; | ||
ptxSwapMoonpayProvider: Feature_PtxSwapMoonpayProvider; | ||
ptxSwapExodusProvider: Feature_PtxSwapExodusProvider; | ||
ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
ptxSwapReceiveTRC20WithoutTrx: Feature_PtxSwapReceiveTRC20WithoutTrx; | ||
@@ -194,2 +190,3 @@ flexibleContentCards: Feature_FlexibleContentCards; | ||
llmRebornLP: Feature_LlmRebornLP; | ||
llmAccountListUI: DefaultFeature; | ||
}; | ||
@@ -433,6 +430,2 @@ /** | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
currencies?: Array<string>; | ||
families?: Array<string>; | ||
}>; | ||
export type Feature_PtxSwapLiveAppDemoZero = Feature<{ | ||
manifest_id: string; | ||
@@ -442,8 +435,2 @@ currencies?: string[]; | ||
}>; | ||
export type Feature_PtxSwapCoreExperiment = Feature<{ | ||
variant: "Demo0" | "Demo3" | "Demo3Thorswap"; | ||
manifest_id: string; | ||
currencies?: string[]; | ||
families?: string[]; | ||
}>; | ||
export type Feature_FetchAdditionalCoins = Feature<{ | ||
@@ -508,4 +495,2 @@ batch: number; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_PtxSwapExodusProvider = DefaultFeature; | ||
export type Feature_PtxSwapReceiveTRC20WithoutTrx = DefaultFeature; | ||
@@ -512,0 +497,0 @@ export type Feature_FlexibleContentCards = DefaultFeature; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { BigNumber } from "bignumber.js"; | ||
@@ -91,3 +92,3 @@ import type { Observable } from "rxjs"; | ||
*/ | ||
export interface AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> { | ||
interface SendReceiveAccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> { | ||
sync(initialAccount: A, syncConfig: SyncConfig): Observable<(arg0: A) => A>; | ||
@@ -143,2 +144,6 @@ receive(account: A, arg1: { | ||
} | ||
type AccountBridgeWithExchange<A extends Account = Account> = { | ||
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer; | ||
}; | ||
export type AccountBridge<T extends TransactionCommon, A extends Account = Account, U extends TransactionStatusCommon = TransactionStatusCommon, R extends AccountRaw = AccountRaw> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>; | ||
type ExpectFn = (...args: Array<any>) => any; | ||
@@ -145,0 +150,0 @@ type CurrencyTransaction<T extends TransactionCommon> = { |
@@ -115,2 +115,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyMantra: DefaultFeature; | ||
currencyXion: DefaultFeature; | ||
}; | ||
@@ -159,8 +160,3 @@ /** | ||
ptxSwapLiveAppMobile: DefaultFeature; | ||
ptxSwapLiveAppDemoZero: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoOne: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoThree: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapCoreExperiment: Feature_PtxSwapCoreExperiment; | ||
ptxSwapMoonpayProvider: Feature_PtxSwapMoonpayProvider; | ||
ptxSwapExodusProvider: Feature_PtxSwapExodusProvider; | ||
ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
ptxSwapReceiveTRC20WithoutTrx: Feature_PtxSwapReceiveTRC20WithoutTrx; | ||
@@ -194,2 +190,3 @@ flexibleContentCards: Feature_FlexibleContentCards; | ||
llmRebornLP: Feature_LlmRebornLP; | ||
llmAccountListUI: DefaultFeature; | ||
}; | ||
@@ -433,6 +430,2 @@ /** | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
currencies?: Array<string>; | ||
families?: Array<string>; | ||
}>; | ||
export type Feature_PtxSwapLiveAppDemoZero = Feature<{ | ||
manifest_id: string; | ||
@@ -442,8 +435,2 @@ currencies?: string[]; | ||
}>; | ||
export type Feature_PtxSwapCoreExperiment = Feature<{ | ||
variant: "Demo0" | "Demo3" | "Demo3Thorswap"; | ||
manifest_id: string; | ||
currencies?: string[]; | ||
families?: string[]; | ||
}>; | ||
export type Feature_FetchAdditionalCoins = Feature<{ | ||
@@ -508,4 +495,2 @@ batch: number; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_PtxSwapExodusProvider = DefaultFeature; | ||
export type Feature_PtxSwapReceiveTRC20WithoutTrx = DefaultFeature; | ||
@@ -512,0 +497,0 @@ export type Feature_FlexibleContentCards = DefaultFeature; |
{ | ||
"name": "@ledgerhq/types-live", | ||
"version": "6.55.0", | ||
"version": "6.56.0-next.0", | ||
"description": "Ledger Live main types.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"ts-node": "^10.4.0", | ||
"@ledgerhq/types-cryptoassets": "^7.17.0", | ||
"@ledgerhq/types-cryptoassets": "^7.18.0-next.0", | ||
"@ledgerhq/types-devices": "^6.25.3" | ||
@@ -39,0 +39,0 @@ }, |
@@ -135,3 +135,3 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas | ||
*/ | ||
export interface AccountBridge< | ||
interface SendReceiveAccountBridge< | ||
T extends TransactionCommon, | ||
@@ -224,2 +224,13 @@ A extends Account = Account, | ||
type AccountBridgeWithExchange<A extends Account = Account> = { | ||
getSerializedAddressParameters: (account: A, addressFormat?: string) => Buffer; | ||
}; | ||
export type AccountBridge< | ||
T extends TransactionCommon, | ||
A extends Account = Account, | ||
U extends TransactionStatusCommon = TransactionStatusCommon, | ||
R extends AccountRaw = AccountRaw, | ||
> = SendReceiveAccountBridge<T, A, U, R> & AccountBridgeWithExchange<A>; | ||
type ExpectFn = (...args: Array<any>) => any; | ||
@@ -226,0 +237,0 @@ |
@@ -127,2 +127,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyMantra: DefaultFeature; | ||
currencyXion: DefaultFeature; | ||
}; | ||
@@ -172,8 +173,3 @@ | ||
ptxSwapLiveAppMobile: DefaultFeature; | ||
ptxSwapLiveAppDemoZero: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoOne: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapLiveAppDemoThree: Feature_PtxSwapLiveAppDemoZero; | ||
ptxSwapCoreExperiment: Feature_PtxSwapCoreExperiment; | ||
ptxSwapMoonpayProvider: Feature_PtxSwapMoonpayProvider; | ||
ptxSwapExodusProvider: Feature_PtxSwapExodusProvider; | ||
ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
ptxSwapReceiveTRC20WithoutTrx: Feature_PtxSwapReceiveTRC20WithoutTrx; | ||
@@ -207,2 +203,3 @@ flexibleContentCards: Feature_FlexibleContentCards; | ||
llmRebornLP: Feature_LlmRebornLP; | ||
llmAccountListUI: DefaultFeature; | ||
}; | ||
@@ -476,7 +473,2 @@ | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
currencies?: Array<string>; | ||
families?: Array<string>; | ||
}>; | ||
export type Feature_PtxSwapLiveAppDemoZero = Feature<{ | ||
manifest_id: string; | ||
@@ -487,9 +479,2 @@ currencies?: string[]; | ||
export type Feature_PtxSwapCoreExperiment = Feature<{ | ||
variant: "Demo0" | "Demo3" | "Demo3Thorswap"; | ||
manifest_id: string; | ||
currencies?: string[]; | ||
families?: string[]; | ||
}>; | ||
export type Feature_FetchAdditionalCoins = Feature<{ | ||
@@ -564,4 +549,2 @@ batch: number; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_PtxSwapExodusProvider = DefaultFeature; | ||
export type Feature_PtxSwapReceiveTRC20WithoutTrx = DefaultFeature; | ||
@@ -568,0 +551,0 @@ export type Feature_FlexibleContentCards = DefaultFeature; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
399071
6294
1