@ledgerhq/types-live
Advanced tools
Comparing version 6.45.0 to 6.46.0-nightly.0
# @ledgerhq/types-live | ||
## 6.46.0-nightly.0 | ||
### Minor Changes | ||
- [#6378](https://github.com/LedgerHQ/ledger-live/pull/6378) [`9ada63a`](https://github.com/LedgerHQ/ledger-live/commit/9ada63a05b2d2518af09a9c07937cf94b5b2ea67) Thanks [@ofreyssinet-ledger](https://github.com/ofreyssinet-ledger)! - Post-onboarding: add "deviceModelId" to startAction() | ||
## 6.45.0 | ||
@@ -11,2 +17,4 @@ | ||
- [#6238](https://github.com/LedgerHQ/ledger-live/pull/6238) [`6de15bc`](https://github.com/LedgerHQ/ledger-live/commit/6de15bc96e8b97a2a6815cf3fb1da874f7044b49) Thanks [@mle-gall](https://github.com/mle-gall)! - Adding new analytics opt in prompt for existing users | ||
- [#5974](https://github.com/LedgerHQ/ledger-live/pull/5974) [`b34f5cd`](https://github.com/LedgerHQ/ledger-live/commit/b34f5cdda0b7bf34750d258cc8b1c91304516360) Thanks [@cng-ledger](https://github.com/cng-ledger)! - feat(LIVE-10989): dynamic manifest id for swap live app in feature flag | ||
@@ -16,2 +24,32 @@ | ||
## 6.45.0-next.0 | ||
### Minor Changes | ||
- [#6195](https://github.com/LedgerHQ/ledger-live/pull/6195) [`dfac39b`](https://github.com/LedgerHQ/ledger-live/commit/dfac39b2086f0475d1bc8065032bfe27cbf424f6) Thanks [@lambertkevin](https://github.com/lambertkevin)! - Add support for Base Sepolia & Arbitrum Sepolia | ||
### Patch Changes | ||
- [#6238](https://github.com/LedgerHQ/ledger-live/pull/6238) [`6de15bc`](https://github.com/LedgerHQ/ledger-live/commit/6de15bc96e8b97a2a6815cf3fb1da874f7044b49) Thanks [@mle-gall](https://github.com/mle-gall)! - Adding new analytics opt in prompt for existing users | ||
- [#5974](https://github.com/LedgerHQ/ledger-live/pull/5974) [`b34f5cd`](https://github.com/LedgerHQ/ledger-live/commit/b34f5cdda0b7bf34750d258cc8b1c91304516360) Thanks [@cng-ledger](https://github.com/cng-ledger)! - feat(LIVE-10989): dynamic manifest id for swap live app in feature flag | ||
- [#6144](https://github.com/LedgerHQ/ledger-live/pull/6144) [`d870e90`](https://github.com/LedgerHQ/ledger-live/commit/d870e904a0dde5f8abf05f930f5f545828eccbc9) Thanks [@mcayuelas-ledger](https://github.com/mcayuelas-ledger)! - Update Feature flag to handle threshold spam filter directly from FF | ||
## 6.44.1 | ||
### Patch Changes | ||
- [#6165](https://github.com/LedgerHQ/ledger-live/pull/6165) [`1cb83b5`](https://github.com/LedgerHQ/ledger-live/commit/1cb83b5baa4603e22f391609438e349ca0ce9b0e) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - feat(LIVE-10989): dynamic manifest id for swap live app in feature flag | ||
- [#6165](https://github.com/LedgerHQ/ledger-live/pull/6165) [`c217a6c`](https://github.com/LedgerHQ/ledger-live/commit/c217a6cfa59218278d25d2d987a06dfb33977cd9) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Update Feature flag to handle threshold spam filter directly from FF | ||
## 6.44.1-next.0 | ||
### Patch Changes | ||
- [#5974](https://github.com/LedgerHQ/ledger-live/pull/5974) [`b34f5cd`](https://github.com/LedgerHQ/ledger-live/commit/b34f5cdda0b7bf34750d258cc8b1c91304516360) Thanks [@cng-ledger](https://github.com/cng-ledger)! - feat(LIVE-10989): dynamic manifest id for swap live app in feature flag | ||
- [#6144](https://github.com/LedgerHQ/ledger-live/pull/6144) [`d870e90`](https://github.com/LedgerHQ/ledger-live/commit/d870e904a0dde5f8abf05f930f5f545828eccbc9) Thanks [@mcayuelas-ledger](https://github.com/mcayuelas-ledger)! - Update Feature flag to handle threshold spam filter directly from FF | ||
## 6.44.0 | ||
@@ -18,0 +56,0 @@ |
@@ -92,3 +92,2 @@ import type { BigNumber } from "bignumber.js"; | ||
lastSyncDate: Date; | ||
endpointConfig?: string | null | undefined; | ||
subAccounts?: SubAccount[]; | ||
@@ -169,3 +168,2 @@ balanceHistoryCache: BalanceHistoryCache; | ||
lastSyncDate: string; | ||
endpointConfig?: string | null | undefined; | ||
subAccounts?: SubAccountRaw[]; | ||
@@ -172,0 +170,0 @@ balanceHistoryCache?: BalanceHistoryCache; |
@@ -34,3 +34,3 @@ import { BigNumber } from "bignumber.js"; | ||
*/ | ||
export type BroadcastArg0 = { | ||
export type BroadcastArg = { | ||
account: Account; | ||
@@ -51,3 +51,3 @@ signedOperation: SignedOperation; | ||
export type SignOperationFnSignature<T> = (arg0: SignOperationArg0<T>) => Observable<SignOperationEvent>; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg0) => Promise<Operation>; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg) => Promise<Operation>; | ||
export type Bridge<T extends TransactionCommon> = { | ||
@@ -54,0 +54,0 @@ currencyBridge: CurrencyBridge; |
/** | ||
* DerivationMode is a string identifier of a specific derivation scheme in a list defined in live-common derivation.ts | ||
*/ | ||
export type DerivationMode = string; | ||
export type DerivationMode = "" | "ethM" | "ethMM" | "bch_on_bitcoin_segwit" | "legacy_on_bch" | "vertcoin_128" | "vertcoin_128_segwit" | "etcM" | "aeternity" | "tezbox" | "tezosbip44h" | "galleonL" | "tezboxL" | "taproot" | "native_segwit" | "segwit" | "segwit_on_legacy" | "legacy_on_segwit" | "legacy_on_native_segwit" | "segwit_unsplit" | "sep5" | "unsplit" | "polkadotbip44" | "glifLegacy" | "glif" | "filecoinBIP44" | "casper_wallet" | "solanaMain" | "solanaSub" | "hederaBip44" | "cardano" | "nearbip44h" | "vechain" | "internet_computer" | "stacks_wallet"; | ||
//# sourceMappingURL=derivation.d.ts.map |
import { ABTestingVariants } from "./ABTesting"; | ||
import { CexDepositEntryPointsLocationsDesktop, CexDepositEntryPointsLocationsMobile } from "./cexDeposit"; | ||
import { ChainwatchNetwork } from "./chainwatch"; | ||
@@ -73,4 +72,2 @@ import { StorylyInstanceID, StorylyInstanceType } from "./storyly"; | ||
currencyBittorrent: DefaultFeature; | ||
currencyKavaEvm: DefaultFeature; | ||
currencyEvmosEvm: DefaultFeature; | ||
currencyEnergyWeb: DefaultFeature; | ||
@@ -115,7 +112,4 @@ currencyAstar: DefaultFeature; | ||
export type Features = CurrencyFeatures & { | ||
learn: Feature_Learn; | ||
brazePushNotifications: Feature_BrazePushNotifications; | ||
brazeLearn: Feature_BrazeLearn; | ||
llmNewDeviceSelection: Feature_LlmNewDeviceSelection; | ||
llmNewFirmwareUpdateUx: Feature_LlmNewFirmwareUpdateUx; | ||
ratingsPrompt: Feature_RatingsPrompt; | ||
@@ -126,12 +120,4 @@ npsRatingsPrompt: Feature_NpsRatingsPrompt; | ||
buyDeviceFromLive: Feature_BuyDeviceFromLive; | ||
ptxEarn: Feature_PtxEarn; | ||
depositNetworkBannerMobile: Feature_DepositNetworkBannerMobile; | ||
depositWithdrawBannerMobile: Feature_DepositWithdrawBannerMobile; | ||
mockFeature: Feature_MockFeature; | ||
multibuyNavigation: Feature_MultibuyNavigation; | ||
syncOnboarding: Feature_SyncOnboarding; | ||
walletConnectEntryPoint: Feature_WalletConnectEntryPoint; | ||
customImage: Feature_CustomImage; | ||
referralProgramDiscoverCard: Feature_ReferralProgramDiscoverCard; | ||
referralProgramDesktopBanner: Feature_ReferralProgramDesktopBanner; | ||
referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar; | ||
@@ -142,3 +128,2 @@ referralProgramMobile: Feature_ReferralProgramMobile; | ||
disableNftRaribleOpensea: Feature_DisableNftRaribleOpensea; | ||
walletNftGallery: Feature_WalletNftGallery; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
@@ -148,3 +133,2 @@ ethStakingProviders: Feature_EthStakingProviders; | ||
staxWelcomeScreen: Feature_StaxWelcomeScreen; | ||
postOnboardingClaimNft: Feature_PostOnboardingClaimNft; | ||
postOnboardingAssetsTransfer: Feature_PostOnboardingAssetsTransfer; | ||
@@ -165,8 +149,4 @@ firebaseEnvironmentReadOnly: Feature_FirebaseEnvironmentReadOnly; | ||
discover: Feature_Discover; | ||
protectServicesDiscoverDesktop: Feature_ProtectServicesDiscoverDesktop; | ||
transactionsAlerts: Feature_TransactionsAlerts; | ||
listAppsV2minor1: Feature_ListAppsV2minor1; | ||
llmWalletQuickActions: Feature_LlmWalletQuickActions; | ||
cexDepositEntryPointsDesktop: Feature_CexDepositEntryPointsDesktop; | ||
cexDepositEntryPointsMobile: Feature_CexDepositEntryPointsMobile; | ||
fetchAdditionalCoins: Feature_FetchAdditionalCoins; | ||
@@ -179,6 +159,11 @@ ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
llmAnalyticsOptInPrompt: Feature_LlmAnalyticsOptInPrompt; | ||
lldAnalyticsOptInPrompt: Feature_LldAnalyticsOptInPrompt; | ||
lldChatbotSupport: Feature_LldChatbotSupport; | ||
llmChatbotSupport: Feature_LlmChatbotSupport; | ||
myLedgerDisplayAppDeveloperName: Feature_MyLedgerDisplayAppDeveloperName; | ||
nftsFromSimplehash: Feature_NftsFromSimpleHash; | ||
lldPortfolioCarousel: Feature_LldPortfolioCarousel; | ||
llmMarketNewArch: Feature_LlmMarketNewArch; | ||
lldActionCarousel: Feature_lldActionCarousel; | ||
marketperformanceWidgetDesktop: Feature_MarketperformanceWidgetDesktop; | ||
supportDeviceStax: Feature_SupportDeviceStax; | ||
supportDeviceEuropa: Feature_SupportDeviceEuropa; | ||
}; | ||
@@ -202,5 +187,2 @@ /** | ||
}>; | ||
export type Feature_WalletNftGallery = Feature<{ | ||
lazyLoadScreens: boolean; | ||
}>; | ||
export type Feature_TransactionsAlerts = Feature<{ | ||
@@ -222,5 +204,2 @@ chainwatchBaseUrl: string; | ||
}>; | ||
export type Feature_ReferralProgramDiscoverCard = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_ReferralProgramDesktopSidebar = Feature<{ | ||
@@ -270,14 +249,2 @@ path: string; | ||
}>; | ||
export type Feature_Learn = Feature<{ | ||
mobile: { | ||
url: string; | ||
}; | ||
desktop: { | ||
url: string; | ||
}; | ||
}>; | ||
export type Feature_PtxEarn = Feature<{ | ||
liveAppId: string; | ||
isNew: boolean; | ||
}>; | ||
export type Feature_Storyly = Feature<{ | ||
@@ -359,8 +326,2 @@ stories: { | ||
}>; | ||
export type Feature_DepositNetworkBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_DepositWithdrawBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_Discover = Feature<{ | ||
@@ -431,14 +392,2 @@ version: string; | ||
}>; | ||
export type Feature_CexDepositEntryPointsDesktop = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsDesktop]: boolean; | ||
}; | ||
}>; | ||
export type Feature_CexDepositEntryPointsMobile = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsMobile]: boolean; | ||
}; | ||
}>; | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
@@ -458,17 +407,20 @@ currencies?: Array<string>; | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_LldPortfolioCarousel = Feature<{ | ||
export type Feature_LldAnalyticsOptInPrompt = Feature<{ | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_lldActionCarousel = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_MarketperformanceWidgetDesktop = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_NftsFromSimpleHash = Feature<{ | ||
threshold: number; | ||
}>; | ||
export type Feature_LlmNewFirmwareUpdateUx = DefaultFeature; | ||
export type Feature_CounterValue = DefaultFeature; | ||
export type Feature_MockFeature = DefaultFeature; | ||
export type Feature_MultibuyNavigation = DefaultFeature; | ||
export type Feature_SyncOnboarding = DefaultFeature; | ||
export type Feature_WalletConnectEntryPoint = DefaultFeature; | ||
export type Feature_CustomImage = DefaultFeature; | ||
export type Feature_ReferralProgramDesktopBanner = DefaultFeature; | ||
export type Feature_DisableNftSend = DefaultFeature; | ||
@@ -478,3 +430,2 @@ export type Feature_DisableNftLedgerMarket = DefaultFeature; | ||
export type Feature_StaxWelcomeScreen = DefaultFeature; | ||
export type Feature_PostOnboardingClaimNft = DefaultFeature; | ||
export type Feature_PostOnboardingAssetsTransfer = DefaultFeature; | ||
@@ -485,11 +436,11 @@ export type Feature_PtxServiceCtaExchangeDrawer = DefaultFeature; | ||
export type Feature_Objkt = DefaultFeature; | ||
export type Feature_ProtectServicesDiscoverDesktop = DefaultFeature; | ||
export type Feature_ListAppsV2minor1 = DefaultFeature; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_LlmNewDeviceSelection = DefaultFeature; | ||
export type Feature_LlmWalletQuickActions = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_FlexibleContentCards = DefaultFeature; | ||
export type Feature_MyLedgerDisplayAppDeveloperName = DefaultFeature; | ||
export type Feature_LlmMarketNewArch = DefaultFeature; | ||
export type Feature_SupportDeviceStax = DefaultFeature; | ||
export type Feature_SupportDeviceEuropa = DefaultFeature; | ||
export type Feature_LldChatbotSupport = DefaultFeature; | ||
export type Feature_LlmChatbotSupport = DefaultFeature; | ||
/** | ||
@@ -496,0 +447,0 @@ * Utils types. |
@@ -17,5 +17,4 @@ export * from "./account"; | ||
export * from "./messages"; | ||
export * from "./cexDeposit"; | ||
export * from "./storyly"; | ||
export * from "./swap"; | ||
export * from "./ABTesting"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,5 +17,4 @@ export * from "./account"; | ||
export * from "./messages"; | ||
export * from "./cexDeposit"; | ||
export * from "./storyly"; | ||
export * from "./swap"; | ||
export * from "./ABTesting"; | ||
//# sourceMappingURL=index.js.map |
@@ -11,3 +11,2 @@ import { DeviceModelId } from "@ledgerhq/types-devices"; | ||
customImage = "customImage", | ||
claimNft = "claimNft", | ||
assetsTransfer = "assetsTransfer", | ||
@@ -20,7 +19,7 @@ buyCrypto = "buyCrypto" | ||
* - In LLM, this will be used like this: | ||
* `navigation.navigate(...navigationParams)` | ||
* - In LLD, this will be used like this: | ||
* `history.push(...navigationParams)` | ||
* `navigation.navigate(...getNavigationParams)` | ||
*/ | ||
navigationParams?: any[]; | ||
getNavigationParams: (options: { | ||
deviceModelId: DeviceModelId; | ||
}) => [screen: any] | [screen: any, navigationParams: any]; | ||
}; | ||
@@ -31,3 +30,7 @@ type WithStartActionFunction = { | ||
*/ | ||
startAction: (openModalCallback?: any, navigationCallback?: any) => void; | ||
startAction: (args: { | ||
openModalCallback: (modalName: any) => void; | ||
navigationCallback: (route: string) => void; | ||
deviceModelId: DeviceModelId; | ||
}) => void; | ||
}; | ||
@@ -34,0 +37,0 @@ /** |
@@ -10,3 +10,2 @@ /** | ||
PostOnboardingActionId["customImage"] = "customImage"; | ||
PostOnboardingActionId["claimNft"] = "claimNft"; | ||
PostOnboardingActionId["assetsTransfer"] = "assetsTransfer"; | ||
@@ -13,0 +12,0 @@ PostOnboardingActionId["buyCrypto"] = "buyCrypto"; |
@@ -92,3 +92,2 @@ import type { BigNumber } from "bignumber.js"; | ||
lastSyncDate: Date; | ||
endpointConfig?: string | null | undefined; | ||
subAccounts?: SubAccount[]; | ||
@@ -169,3 +168,2 @@ balanceHistoryCache: BalanceHistoryCache; | ||
lastSyncDate: string; | ||
endpointConfig?: string | null | undefined; | ||
subAccounts?: SubAccountRaw[]; | ||
@@ -172,0 +170,0 @@ balanceHistoryCache?: BalanceHistoryCache; |
@@ -34,3 +34,3 @@ import { BigNumber } from "bignumber.js"; | ||
*/ | ||
export type BroadcastArg0 = { | ||
export type BroadcastArg = { | ||
account: Account; | ||
@@ -51,3 +51,3 @@ signedOperation: SignedOperation; | ||
export type SignOperationFnSignature<T> = (arg0: SignOperationArg0<T>) => Observable<SignOperationEvent>; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg0) => Promise<Operation>; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg) => Promise<Operation>; | ||
export type Bridge<T extends TransactionCommon> = { | ||
@@ -54,0 +54,0 @@ currencyBridge: CurrencyBridge; |
/** | ||
* DerivationMode is a string identifier of a specific derivation scheme in a list defined in live-common derivation.ts | ||
*/ | ||
export type DerivationMode = string; | ||
export type DerivationMode = "" | "ethM" | "ethMM" | "bch_on_bitcoin_segwit" | "legacy_on_bch" | "vertcoin_128" | "vertcoin_128_segwit" | "etcM" | "aeternity" | "tezbox" | "tezosbip44h" | "galleonL" | "tezboxL" | "taproot" | "native_segwit" | "segwit" | "segwit_on_legacy" | "legacy_on_segwit" | "legacy_on_native_segwit" | "segwit_unsplit" | "sep5" | "unsplit" | "polkadotbip44" | "glifLegacy" | "glif" | "filecoinBIP44" | "casper_wallet" | "solanaMain" | "solanaSub" | "hederaBip44" | "cardano" | "nearbip44h" | "vechain" | "internet_computer" | "stacks_wallet"; | ||
//# sourceMappingURL=derivation.d.ts.map |
import { ABTestingVariants } from "./ABTesting"; | ||
import { CexDepositEntryPointsLocationsDesktop, CexDepositEntryPointsLocationsMobile } from "./cexDeposit"; | ||
import { ChainwatchNetwork } from "./chainwatch"; | ||
@@ -73,4 +72,2 @@ import { StorylyInstanceID, StorylyInstanceType } from "./storyly"; | ||
currencyBittorrent: DefaultFeature; | ||
currencyKavaEvm: DefaultFeature; | ||
currencyEvmosEvm: DefaultFeature; | ||
currencyEnergyWeb: DefaultFeature; | ||
@@ -115,7 +112,4 @@ currencyAstar: DefaultFeature; | ||
export type Features = CurrencyFeatures & { | ||
learn: Feature_Learn; | ||
brazePushNotifications: Feature_BrazePushNotifications; | ||
brazeLearn: Feature_BrazeLearn; | ||
llmNewDeviceSelection: Feature_LlmNewDeviceSelection; | ||
llmNewFirmwareUpdateUx: Feature_LlmNewFirmwareUpdateUx; | ||
ratingsPrompt: Feature_RatingsPrompt; | ||
@@ -126,12 +120,4 @@ npsRatingsPrompt: Feature_NpsRatingsPrompt; | ||
buyDeviceFromLive: Feature_BuyDeviceFromLive; | ||
ptxEarn: Feature_PtxEarn; | ||
depositNetworkBannerMobile: Feature_DepositNetworkBannerMobile; | ||
depositWithdrawBannerMobile: Feature_DepositWithdrawBannerMobile; | ||
mockFeature: Feature_MockFeature; | ||
multibuyNavigation: Feature_MultibuyNavigation; | ||
syncOnboarding: Feature_SyncOnboarding; | ||
walletConnectEntryPoint: Feature_WalletConnectEntryPoint; | ||
customImage: Feature_CustomImage; | ||
referralProgramDiscoverCard: Feature_ReferralProgramDiscoverCard; | ||
referralProgramDesktopBanner: Feature_ReferralProgramDesktopBanner; | ||
referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar; | ||
@@ -142,3 +128,2 @@ referralProgramMobile: Feature_ReferralProgramMobile; | ||
disableNftRaribleOpensea: Feature_DisableNftRaribleOpensea; | ||
walletNftGallery: Feature_WalletNftGallery; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
@@ -148,3 +133,2 @@ ethStakingProviders: Feature_EthStakingProviders; | ||
staxWelcomeScreen: Feature_StaxWelcomeScreen; | ||
postOnboardingClaimNft: Feature_PostOnboardingClaimNft; | ||
postOnboardingAssetsTransfer: Feature_PostOnboardingAssetsTransfer; | ||
@@ -165,8 +149,4 @@ firebaseEnvironmentReadOnly: Feature_FirebaseEnvironmentReadOnly; | ||
discover: Feature_Discover; | ||
protectServicesDiscoverDesktop: Feature_ProtectServicesDiscoverDesktop; | ||
transactionsAlerts: Feature_TransactionsAlerts; | ||
listAppsV2minor1: Feature_ListAppsV2minor1; | ||
llmWalletQuickActions: Feature_LlmWalletQuickActions; | ||
cexDepositEntryPointsDesktop: Feature_CexDepositEntryPointsDesktop; | ||
cexDepositEntryPointsMobile: Feature_CexDepositEntryPointsMobile; | ||
fetchAdditionalCoins: Feature_FetchAdditionalCoins; | ||
@@ -179,6 +159,11 @@ ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
llmAnalyticsOptInPrompt: Feature_LlmAnalyticsOptInPrompt; | ||
lldAnalyticsOptInPrompt: Feature_LldAnalyticsOptInPrompt; | ||
lldChatbotSupport: Feature_LldChatbotSupport; | ||
llmChatbotSupport: Feature_LlmChatbotSupport; | ||
myLedgerDisplayAppDeveloperName: Feature_MyLedgerDisplayAppDeveloperName; | ||
nftsFromSimplehash: Feature_NftsFromSimpleHash; | ||
lldPortfolioCarousel: Feature_LldPortfolioCarousel; | ||
llmMarketNewArch: Feature_LlmMarketNewArch; | ||
lldActionCarousel: Feature_lldActionCarousel; | ||
marketperformanceWidgetDesktop: Feature_MarketperformanceWidgetDesktop; | ||
supportDeviceStax: Feature_SupportDeviceStax; | ||
supportDeviceEuropa: Feature_SupportDeviceEuropa; | ||
}; | ||
@@ -202,5 +187,2 @@ /** | ||
}>; | ||
export type Feature_WalletNftGallery = Feature<{ | ||
lazyLoadScreens: boolean; | ||
}>; | ||
export type Feature_TransactionsAlerts = Feature<{ | ||
@@ -222,5 +204,2 @@ chainwatchBaseUrl: string; | ||
}>; | ||
export type Feature_ReferralProgramDiscoverCard = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_ReferralProgramDesktopSidebar = Feature<{ | ||
@@ -270,14 +249,2 @@ path: string; | ||
}>; | ||
export type Feature_Learn = Feature<{ | ||
mobile: { | ||
url: string; | ||
}; | ||
desktop: { | ||
url: string; | ||
}; | ||
}>; | ||
export type Feature_PtxEarn = Feature<{ | ||
liveAppId: string; | ||
isNew: boolean; | ||
}>; | ||
export type Feature_Storyly = Feature<{ | ||
@@ -359,8 +326,2 @@ stories: { | ||
}>; | ||
export type Feature_DepositNetworkBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_DepositWithdrawBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_Discover = Feature<{ | ||
@@ -431,14 +392,2 @@ version: string; | ||
}>; | ||
export type Feature_CexDepositEntryPointsDesktop = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsDesktop]: boolean; | ||
}; | ||
}>; | ||
export type Feature_CexDepositEntryPointsMobile = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsMobile]: boolean; | ||
}; | ||
}>; | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
@@ -458,17 +407,20 @@ currencies?: Array<string>; | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_LldPortfolioCarousel = Feature<{ | ||
export type Feature_LldAnalyticsOptInPrompt = Feature<{ | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_lldActionCarousel = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_MarketperformanceWidgetDesktop = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_NftsFromSimpleHash = Feature<{ | ||
threshold: number; | ||
}>; | ||
export type Feature_LlmNewFirmwareUpdateUx = DefaultFeature; | ||
export type Feature_CounterValue = DefaultFeature; | ||
export type Feature_MockFeature = DefaultFeature; | ||
export type Feature_MultibuyNavigation = DefaultFeature; | ||
export type Feature_SyncOnboarding = DefaultFeature; | ||
export type Feature_WalletConnectEntryPoint = DefaultFeature; | ||
export type Feature_CustomImage = DefaultFeature; | ||
export type Feature_ReferralProgramDesktopBanner = DefaultFeature; | ||
export type Feature_DisableNftSend = DefaultFeature; | ||
@@ -478,3 +430,2 @@ export type Feature_DisableNftLedgerMarket = DefaultFeature; | ||
export type Feature_StaxWelcomeScreen = DefaultFeature; | ||
export type Feature_PostOnboardingClaimNft = DefaultFeature; | ||
export type Feature_PostOnboardingAssetsTransfer = DefaultFeature; | ||
@@ -485,11 +436,11 @@ export type Feature_PtxServiceCtaExchangeDrawer = DefaultFeature; | ||
export type Feature_Objkt = DefaultFeature; | ||
export type Feature_ProtectServicesDiscoverDesktop = DefaultFeature; | ||
export type Feature_ListAppsV2minor1 = DefaultFeature; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_LlmNewDeviceSelection = DefaultFeature; | ||
export type Feature_LlmWalletQuickActions = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_FlexibleContentCards = DefaultFeature; | ||
export type Feature_MyLedgerDisplayAppDeveloperName = DefaultFeature; | ||
export type Feature_LlmMarketNewArch = DefaultFeature; | ||
export type Feature_SupportDeviceStax = DefaultFeature; | ||
export type Feature_SupportDeviceEuropa = DefaultFeature; | ||
export type Feature_LldChatbotSupport = DefaultFeature; | ||
export type Feature_LlmChatbotSupport = DefaultFeature; | ||
/** | ||
@@ -496,0 +447,0 @@ * Utils types. |
@@ -17,5 +17,4 @@ export * from "./account"; | ||
export * from "./messages"; | ||
export * from "./cexDeposit"; | ||
export * from "./storyly"; | ||
export * from "./swap"; | ||
export * from "./ABTesting"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -33,5 +33,4 @@ "use strict"; | ||
__exportStar(require("./messages"), exports); | ||
__exportStar(require("./cexDeposit"), exports); | ||
__exportStar(require("./storyly"), exports); | ||
__exportStar(require("./swap"), exports); | ||
__exportStar(require("./ABTesting"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -11,3 +11,2 @@ import { DeviceModelId } from "@ledgerhq/types-devices"; | ||
customImage = "customImage", | ||
claimNft = "claimNft", | ||
assetsTransfer = "assetsTransfer", | ||
@@ -20,7 +19,7 @@ buyCrypto = "buyCrypto" | ||
* - In LLM, this will be used like this: | ||
* `navigation.navigate(...navigationParams)` | ||
* - In LLD, this will be used like this: | ||
* `history.push(...navigationParams)` | ||
* `navigation.navigate(...getNavigationParams)` | ||
*/ | ||
navigationParams?: any[]; | ||
getNavigationParams: (options: { | ||
deviceModelId: DeviceModelId; | ||
}) => [screen: any] | [screen: any, navigationParams: any]; | ||
}; | ||
@@ -31,3 +30,7 @@ type WithStartActionFunction = { | ||
*/ | ||
startAction: (openModalCallback?: any, navigationCallback?: any) => void; | ||
startAction: (args: { | ||
openModalCallback: (modalName: any) => void; | ||
navigationCallback: (route: string) => void; | ||
deviceModelId: DeviceModelId; | ||
}) => void; | ||
}; | ||
@@ -34,0 +37,0 @@ /** |
@@ -13,3 +13,2 @@ "use strict"; | ||
PostOnboardingActionId["customImage"] = "customImage"; | ||
PostOnboardingActionId["claimNft"] = "claimNft"; | ||
PostOnboardingActionId["assetsTransfer"] = "assetsTransfer"; | ||
@@ -16,0 +15,0 @@ PostOnboardingActionId["buyCrypto"] = "buyCrypto"; |
{ | ||
"name": "@ledgerhq/types-live", | ||
"version": "6.45.0", | ||
"version": "6.46.0-nightly.0", | ||
"description": "Ledger Live main types.", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"@ledgerhq/types-cryptoassets": "^7.10.0", | ||
"@ledgerhq/types-devices": "^6.23.0" | ||
"@ledgerhq/types-devices": "^6.24.0-nightly.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "scripts": { |
@@ -157,5 +157,2 @@ import type { BigNumber } from "bignumber.js"; | ||
lastSyncDate: Date; | ||
// A configuration for the endpoint to use. (usecase: Ripple node) | ||
// FIXME drop and introduce a config{} object | ||
endpointConfig?: string | null | undefined; | ||
// An account can have sub accounts. | ||
@@ -263,3 +260,2 @@ // A sub account can be either a token account or a child account in some blockchain. | ||
lastSyncDate: string; | ||
endpointConfig?: string | null | undefined; | ||
subAccounts?: SubAccountRaw[]; | ||
@@ -266,0 +262,0 @@ balanceHistoryCache?: BalanceHistoryCache; |
@@ -54,3 +54,3 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas | ||
*/ | ||
export type BroadcastArg0 = { | ||
export type BroadcastArg = { | ||
account: Account; | ||
@@ -76,3 +76,3 @@ signedOperation: SignedOperation; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg0) => Promise<Operation>; | ||
export type BroadcastFnSignature = (arg0: BroadcastArg) => Promise<Operation>; | ||
@@ -79,0 +79,0 @@ export type Bridge<T extends TransactionCommon> = { |
/** | ||
* DerivationMode is a string identifier of a specific derivation scheme in a list defined in live-common derivation.ts | ||
*/ | ||
export type DerivationMode = string; | ||
export type DerivationMode = | ||
| "" | ||
| "ethM" | ||
| "ethMM" | ||
| "bch_on_bitcoin_segwit" | ||
| "legacy_on_bch" | ||
| "vertcoin_128" | ||
| "vertcoin_128_segwit" | ||
| "etcM" | ||
| "aeternity" | ||
| "tezbox" | ||
| "tezosbip44h" | ||
| "galleonL" | ||
| "tezboxL" | ||
| "taproot" | ||
| "native_segwit" | ||
| "segwit" | ||
| "segwit_on_legacy" | ||
| "legacy_on_segwit" | ||
| "legacy_on_native_segwit" | ||
| "segwit_unsplit" | ||
| "sep5" | ||
| "unsplit" | ||
| "polkadotbip44" | ||
| "glifLegacy" | ||
| "glif" | ||
| "filecoinBIP44" | ||
| "casper_wallet" | ||
| "solanaMain" | ||
| "solanaSub" | ||
| "hederaBip44" | ||
| "cardano" | ||
| "nearbip44h" | ||
| "vechain" | ||
| "internet_computer" | ||
| "stacks_wallet"; |
import { ABTestingVariants } from "./ABTesting"; | ||
import { | ||
CexDepositEntryPointsLocationsDesktop, | ||
CexDepositEntryPointsLocationsMobile, | ||
} from "./cexDeposit"; | ||
import { ChainwatchNetwork } from "./chainwatch"; | ||
@@ -88,4 +84,2 @@ import { StorylyInstanceID, StorylyInstanceType } from "./storyly"; | ||
currencyBittorrent: DefaultFeature; | ||
currencyKavaEvm: DefaultFeature; | ||
currencyEvmosEvm: DefaultFeature; | ||
currencyEnergyWeb: DefaultFeature; | ||
@@ -131,7 +125,4 @@ currencyAstar: DefaultFeature; | ||
export type Features = CurrencyFeatures & { | ||
learn: Feature_Learn; | ||
brazePushNotifications: Feature_BrazePushNotifications; | ||
brazeLearn: Feature_BrazeLearn; | ||
llmNewDeviceSelection: Feature_LlmNewDeviceSelection; | ||
llmNewFirmwareUpdateUx: Feature_LlmNewFirmwareUpdateUx; | ||
ratingsPrompt: Feature_RatingsPrompt; | ||
@@ -142,12 +133,4 @@ npsRatingsPrompt: Feature_NpsRatingsPrompt; | ||
buyDeviceFromLive: Feature_BuyDeviceFromLive; | ||
ptxEarn: Feature_PtxEarn; | ||
depositNetworkBannerMobile: Feature_DepositNetworkBannerMobile; | ||
depositWithdrawBannerMobile: Feature_DepositWithdrawBannerMobile; | ||
mockFeature: Feature_MockFeature; | ||
multibuyNavigation: Feature_MultibuyNavigation; | ||
syncOnboarding: Feature_SyncOnboarding; | ||
walletConnectEntryPoint: Feature_WalletConnectEntryPoint; | ||
customImage: Feature_CustomImage; | ||
referralProgramDiscoverCard: Feature_ReferralProgramDiscoverCard; | ||
referralProgramDesktopBanner: Feature_ReferralProgramDesktopBanner; | ||
referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar; | ||
@@ -158,3 +141,2 @@ referralProgramMobile: Feature_ReferralProgramMobile; | ||
disableNftRaribleOpensea: Feature_DisableNftRaribleOpensea; | ||
walletNftGallery: Feature_WalletNftGallery; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
@@ -164,3 +146,2 @@ ethStakingProviders: Feature_EthStakingProviders; | ||
staxWelcomeScreen: Feature_StaxWelcomeScreen; | ||
postOnboardingClaimNft: Feature_PostOnboardingClaimNft; | ||
postOnboardingAssetsTransfer: Feature_PostOnboardingAssetsTransfer; | ||
@@ -181,8 +162,4 @@ firebaseEnvironmentReadOnly: Feature_FirebaseEnvironmentReadOnly; | ||
discover: Feature_Discover; | ||
protectServicesDiscoverDesktop: Feature_ProtectServicesDiscoverDesktop; | ||
transactionsAlerts: Feature_TransactionsAlerts; | ||
listAppsV2minor1: Feature_ListAppsV2minor1; | ||
llmWalletQuickActions: Feature_LlmWalletQuickActions; | ||
cexDepositEntryPointsDesktop: Feature_CexDepositEntryPointsDesktop; | ||
cexDepositEntryPointsMobile: Feature_CexDepositEntryPointsMobile; | ||
fetchAdditionalCoins: Feature_FetchAdditionalCoins; | ||
@@ -195,6 +172,11 @@ ptxSwapLiveApp: Feature_PtxSwapLiveApp; | ||
llmAnalyticsOptInPrompt: Feature_LlmAnalyticsOptInPrompt; | ||
lldAnalyticsOptInPrompt: Feature_LldAnalyticsOptInPrompt; | ||
lldChatbotSupport: Feature_LldChatbotSupport; | ||
llmChatbotSupport: Feature_LlmChatbotSupport; | ||
myLedgerDisplayAppDeveloperName: Feature_MyLedgerDisplayAppDeveloperName; | ||
nftsFromSimplehash: Feature_NftsFromSimpleHash; | ||
lldPortfolioCarousel: Feature_LldPortfolioCarousel; | ||
llmMarketNewArch: Feature_LlmMarketNewArch; | ||
lldActionCarousel: Feature_lldActionCarousel; | ||
marketperformanceWidgetDesktop: Feature_MarketperformanceWidgetDesktop; | ||
supportDeviceStax: Feature_SupportDeviceStax; | ||
supportDeviceEuropa: Feature_SupportDeviceEuropa; | ||
}; | ||
@@ -221,6 +203,2 @@ | ||
export type Feature_WalletNftGallery = Feature<{ | ||
lazyLoadScreens: boolean; | ||
}>; | ||
export type Feature_TransactionsAlerts = Feature<{ | ||
@@ -245,6 +223,2 @@ chainwatchBaseUrl: string; | ||
export type Feature_ReferralProgramDiscoverCard = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_ReferralProgramDesktopSidebar = Feature<{ | ||
@@ -297,12 +271,2 @@ path: string; | ||
export type Feature_Learn = Feature<{ | ||
mobile: { url: string }; | ||
desktop: { url: string }; | ||
}>; | ||
export type Feature_PtxEarn = Feature<{ | ||
liveAppId: string; | ||
isNew: boolean; | ||
}>; | ||
export type Feature_Storyly = Feature<{ | ||
@@ -391,10 +355,2 @@ stories: { | ||
export type Feature_DepositNetworkBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_DepositWithdrawBannerMobile = Feature<{ | ||
url: string; | ||
}>; | ||
export type Feature_Discover = Feature<{ | ||
@@ -471,16 +427,2 @@ version: string; | ||
export type Feature_CexDepositEntryPointsDesktop = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsDesktop]: boolean; | ||
}; | ||
}>; | ||
export type Feature_CexDepositEntryPointsMobile = Feature<{ | ||
path: string; | ||
locations: { | ||
[key in CexDepositEntryPointsLocationsMobile]: boolean; | ||
}; | ||
}>; | ||
export type Feature_PtxSwapLiveApp = Feature<{ | ||
@@ -503,8 +445,18 @@ currencies?: Array<string>; | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_LldPortfolioCarousel = Feature<{ | ||
export type Feature_LldAnalyticsOptInPrompt = Feature<{ | ||
variant: ABTestingVariants; | ||
entryPoints: Array<string>; | ||
}>; | ||
export type Feature_lldActionCarousel = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_MarketperformanceWidgetDesktop = Feature<{ | ||
variant: ABTestingVariants; | ||
}>; | ||
export type Feature_NftsFromSimpleHash = Feature<{ | ||
@@ -514,10 +466,5 @@ threshold: number; | ||
export type Feature_LlmNewFirmwareUpdateUx = DefaultFeature; | ||
export type Feature_CounterValue = DefaultFeature; | ||
export type Feature_MockFeature = DefaultFeature; | ||
export type Feature_MultibuyNavigation = DefaultFeature; | ||
export type Feature_SyncOnboarding = DefaultFeature; | ||
export type Feature_WalletConnectEntryPoint = DefaultFeature; | ||
export type Feature_CustomImage = DefaultFeature; | ||
export type Feature_ReferralProgramDesktopBanner = DefaultFeature; | ||
export type Feature_DisableNftSend = DefaultFeature; | ||
@@ -527,3 +474,2 @@ export type Feature_DisableNftLedgerMarket = DefaultFeature; | ||
export type Feature_StaxWelcomeScreen = DefaultFeature; | ||
export type Feature_PostOnboardingClaimNft = DefaultFeature; | ||
export type Feature_PostOnboardingAssetsTransfer = DefaultFeature; | ||
@@ -534,12 +480,12 @@ export type Feature_PtxServiceCtaExchangeDrawer = DefaultFeature; | ||
export type Feature_Objkt = DefaultFeature; | ||
export type Feature_ProtectServicesDiscoverDesktop = DefaultFeature; | ||
export type Feature_ListAppsV2minor1 = DefaultFeature; | ||
export type Feature_BrazeLearn = DefaultFeature; | ||
export type Feature_LlmNewDeviceSelection = DefaultFeature; | ||
export type Feature_LlmWalletQuickActions = DefaultFeature; | ||
export type Feature_PtxSwapMoonpayProvider = DefaultFeature; | ||
export type Feature_FlexibleContentCards = DefaultFeature; | ||
export type Feature_MyLedgerDisplayAppDeveloperName = DefaultFeature; | ||
export type Feature_SupportDeviceStax = DefaultFeature; | ||
export type Feature_SupportDeviceEuropa = DefaultFeature; | ||
export type Feature_LldChatbotSupport = DefaultFeature; | ||
export type Feature_LlmChatbotSupport = DefaultFeature; | ||
export type Feature_LlmMarketNewArch = DefaultFeature; | ||
/** | ||
@@ -546,0 +492,0 @@ * Utils types. |
@@ -17,4 +17,3 @@ export * from "./account"; | ||
export * from "./messages"; | ||
export * from "./cexDeposit"; | ||
export * from "./storyly"; | ||
export * from "./swap"; | ||
export * from "./ABTesting"; |
@@ -12,3 +12,2 @@ import { DeviceModelId } from "@ledgerhq/types-devices"; | ||
customImage = "customImage", | ||
claimNft = "claimNft", | ||
assetsTransfer = "assetsTransfer", | ||
@@ -22,7 +21,7 @@ buyCrypto = "buyCrypto", | ||
* - In LLM, this will be used like this: | ||
* `navigation.navigate(...navigationParams)` | ||
* - In LLD, this will be used like this: | ||
* `history.push(...navigationParams)` | ||
* `navigation.navigate(...getNavigationParams)` | ||
*/ | ||
navigationParams?: any[]; | ||
getNavigationParams: (options: { | ||
deviceModelId: DeviceModelId; | ||
}) => [screen: any] | [screen: any, navigationParams: any]; | ||
}; | ||
@@ -34,3 +33,7 @@ | ||
*/ | ||
startAction: (openModalCallback?: any, navigationCallback?: any) => void; | ||
startAction: (args: { | ||
openModalCallback: (modalName: any) => void; | ||
navigationCallback: (route: string) => void; | ||
deviceModelId: DeviceModelId; | ||
}) => void; | ||
/** | ||
@@ -37,0 +40,0 @@ * Optional Redux dispatch function |
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
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
469245
188
5974
1
1479