@ledgerhq/types-live
Advanced tools
Comparing version 6.36.0 to 6.37.0-next.0
# @ledgerhq/types-live | ||
## 6.37.0-next.0 | ||
### Minor Changes | ||
- [#3924](https://github.com/LedgerHQ/ledger-live/pull/3924) [`14cce73003`](https://github.com/LedgerHQ/ledger-live/commit/14cce7300333c51cbcdbd5a7e290ddc600c9f3a1) Thanks [@lambertkevin](https://github.com/lambertkevin)! - Add EVM messages types | ||
- [#3825](https://github.com/LedgerHQ/ledger-live/pull/3825) [`9692adc2a6`](https://github.com/LedgerHQ/ledger-live/commit/9692adc2a6774feb4424fc7a984810918c946b1b) Thanks [@hedi-edelbloute](https://github.com/hedi-edelbloute)! - Cosmos chains : stargaze, desmos, umee, secret network | ||
## 6.36.0 | ||
@@ -4,0 +12,0 @@ |
/** Add others with union (e.g. "learn" | "market" | "foo") */ | ||
export type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmNewFirmwareUpdateUx" | "ratingsPrompt" | "counterValue" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "ptxEarn" | "currencyAvalancheCChain" | "currencyOptimism" | "currencyOptimismGoerli" | "currencyArbitrum" | "currencyArbitrumGoerli" | "currencyRsk" | "currencyBittorrent" | "currencyKavaEvm" | "currencyEvmosEvm" | "currencyEnergyWeb" | "currencyAstar" | "currencyMetis" | "currencyBoba" | "currencyMoonriver" | "currencyVelasEvm" | "currencySyscoin" | "currencyAxelar" | "currencyOnomy" | "currencyPersistence" | "currencyQuicksilver" | "ptxSmartRoutingMobile" | "mockFeature" | "multibuyNavigation" | "syncOnboarding" | "walletConnectLiveApp" | "walletConnectEntryPoint" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "referralProgramDesktopSidebar" | "referralProgramMobile" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "protectServicesDesktop" | "swapShowDexQuotes" | "swapWalletApiPartnerList" | "stakePrograms" | "portfolioExchangeBanner" | "objkt" | "editEthTx" | "stakeAccountBanner" | "newsfeedPage" | "domainInputResolution" | "discover" | "protectServicesDiscoverDesktop" | "protectServicesDesktop" | "transactionsAlerts" | "listAppsV2"; | ||
export type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmNewFirmwareUpdateUx" | "ratingsPrompt" | "counterValue" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "ptxEarn" | "currencyAvalancheCChain" | "currencyStacks" | "currencyOptimism" | "currencyOptimismGoerli" | "currencyArbitrum" | "currencyArbitrumGoerli" | "currencyRsk" | "currencyBittorrent" | "currencyKavaEvm" | "currencyEvmosEvm" | "currencyEnergyWeb" | "currencyAstar" | "currencyMetis" | "currencyBoba" | "currencyMoonriver" | "currencyVelasEvm" | "currencySyscoin" | "currencyAxelar" | "currencySecretNetwork" | "currencyDesmos" | "currencyUmee" | "currencyStargaze" | "currencyOnomy" | "currencyPersistence" | "currencyQuicksilver" | "currencyInternetComputer" | "ptxSmartRoutingMobile" | "mockFeature" | "multibuyNavigation" | "syncOnboarding" | "walletConnectLiveApp" | "walletConnectEntryPoint" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "referralProgramDesktopSidebar" | "referralProgramMobile" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "protectServicesDesktop" | "swapWalletApiPartnerList" | "stakePrograms" | "portfolioExchangeBanner" | "objkt" | "editEthTx" | "stakeAccountBanner" | "newsfeedPage" | "domainInputResolution" | "discover" | "protectServicesDiscoverDesktop" | "protectServicesDesktop" | "transactionsAlerts" | "listAppsV2" | "editEthTx"; | ||
/** We use objects instead of direct booleans for potential future improvements | ||
@@ -4,0 +4,0 @@ like feature versioning etc */ |
@@ -16,2 +16,3 @@ export * from "./account"; | ||
export * from "./chainwatch"; | ||
export * from "./messages"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,2 +16,3 @@ export * from "./account"; | ||
export * from "./chainwatch"; | ||
export * from "./messages"; | ||
//# sourceMappingURL=index.js.map |
/** Add others with union (e.g. "learn" | "market" | "foo") */ | ||
export type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmNewFirmwareUpdateUx" | "ratingsPrompt" | "counterValue" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "ptxEarn" | "currencyAvalancheCChain" | "currencyOptimism" | "currencyOptimismGoerli" | "currencyArbitrum" | "currencyArbitrumGoerli" | "currencyRsk" | "currencyBittorrent" | "currencyKavaEvm" | "currencyEvmosEvm" | "currencyEnergyWeb" | "currencyAstar" | "currencyMetis" | "currencyBoba" | "currencyMoonriver" | "currencyVelasEvm" | "currencySyscoin" | "currencyAxelar" | "currencyOnomy" | "currencyPersistence" | "currencyQuicksilver" | "ptxSmartRoutingMobile" | "mockFeature" | "multibuyNavigation" | "syncOnboarding" | "walletConnectLiveApp" | "walletConnectEntryPoint" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "referralProgramDesktopSidebar" | "referralProgramMobile" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "protectServicesDesktop" | "swapShowDexQuotes" | "swapWalletApiPartnerList" | "stakePrograms" | "portfolioExchangeBanner" | "objkt" | "editEthTx" | "stakeAccountBanner" | "newsfeedPage" | "domainInputResolution" | "discover" | "protectServicesDiscoverDesktop" | "protectServicesDesktop" | "transactionsAlerts" | "listAppsV2"; | ||
export type FeatureId = "learn" | "brazePushNotifications" | "brazeLearn" | "llmNewDeviceSelection" | "llmNewFirmwareUpdateUx" | "ratingsPrompt" | "counterValue" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "ptxEarn" | "currencyAvalancheCChain" | "currencyStacks" | "currencyOptimism" | "currencyOptimismGoerli" | "currencyArbitrum" | "currencyArbitrumGoerli" | "currencyRsk" | "currencyBittorrent" | "currencyKavaEvm" | "currencyEvmosEvm" | "currencyEnergyWeb" | "currencyAstar" | "currencyMetis" | "currencyBoba" | "currencyMoonriver" | "currencyVelasEvm" | "currencySyscoin" | "currencyAxelar" | "currencySecretNetwork" | "currencyDesmos" | "currencyUmee" | "currencyStargaze" | "currencyOnomy" | "currencyPersistence" | "currencyQuicksilver" | "currencyInternetComputer" | "ptxSmartRoutingMobile" | "mockFeature" | "multibuyNavigation" | "syncOnboarding" | "walletConnectLiveApp" | "walletConnectEntryPoint" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "referralProgramDesktopSidebar" | "referralProgramMobile" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea" | "walletNftGallery" | "receiveStakingFlowConfigDesktop" | "ethStakingProviders" | "storyly" | "staxWelcomeScreen" | "postOnboardingClaimNft" | "postOnboardingAssetsTransfer" | "firebaseEnvironmentReadOnly" | "protectServicesMobile" | "protectServicesDesktop" | "swapWalletApiPartnerList" | "stakePrograms" | "portfolioExchangeBanner" | "objkt" | "editEthTx" | "stakeAccountBanner" | "newsfeedPage" | "domainInputResolution" | "discover" | "protectServicesDiscoverDesktop" | "protectServicesDesktop" | "transactionsAlerts" | "listAppsV2" | "editEthTx"; | ||
/** We use objects instead of direct booleans for potential future improvements | ||
@@ -4,0 +4,0 @@ like feature versioning etc */ |
@@ -16,2 +16,3 @@ export * from "./account"; | ||
export * from "./chainwatch"; | ||
export * from "./messages"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -32,2 +32,3 @@ "use strict"; | ||
__exportStar(require("./chainwatch"), exports); | ||
__exportStar(require("./messages"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ledgerhq/types-live", | ||
"version": "6.36.0", | ||
"version": "6.37.0-next.0", | ||
"description": "Ledger Live main types.", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"@types/node": "^18.15.3", | ||
"documentation": "13.2.4", | ||
"documentation": "13.2.5", | ||
"jest": "^28.1.1", | ||
@@ -37,3 +37,3 @@ "rimraf": "^4.4.1", | ||
"ts-node": "^10.4.0", | ||
"@ledgerhq/types-cryptoassets": "^7.3.0", | ||
"@ledgerhq/types-cryptoassets": "^7.3.1-next.0", | ||
"@ledgerhq/types-devices": "^6.22.4" | ||
@@ -40,0 +40,0 @@ }, |
@@ -146,2 +146,4 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas | ||
createTransaction(account: AccountLike): T; | ||
// NOTE: because of a dependency to React at the moment, if updateTransaction doesn't modify the transaction | ||
// it must return the unmodified input transaction object (reference stability) | ||
updateTransaction(t: T, patch: Partial<T>): T; | ||
@@ -151,2 +153,4 @@ // prepare the remaining missing part of a transaction typically from network (e.g. fees) | ||
// It can fails if the the network is down. | ||
// NOTE: because of a dependency to React at the moment, if prepareTransaction doesn't modify the transaction | ||
// it must return the unmodified input transaction object (reference stability) | ||
prepareTransaction(account: Account, transaction: T): Promise<T>; | ||
@@ -153,0 +157,0 @@ // calculate derived state of the Transaction, useful to display summary / errors / warnings. tells if the transaction is ready. |
@@ -15,2 +15,3 @@ /** Add others with union (e.g. "learn" | "market" | "foo") */ | ||
| "currencyAvalancheCChain" | ||
| "currencyStacks" | ||
| "currencyOptimism" | ||
@@ -32,5 +33,10 @@ | "currencyOptimismGoerli" | ||
| "currencyAxelar" | ||
| "currencySecretNetwork" | ||
| "currencyDesmos" | ||
| "currencyUmee" | ||
| "currencyStargaze" | ||
| "currencyOnomy" | ||
| "currencyPersistence" | ||
| "currencyQuicksilver" | ||
| "currencyInternetComputer" | ||
| "ptxSmartRoutingMobile" | ||
@@ -60,3 +66,2 @@ | "mockFeature" | ||
| "protectServicesDesktop" | ||
| "swapShowDexQuotes" | ||
| "swapWalletApiPartnerList" | ||
@@ -74,3 +79,4 @@ | "stakePrograms" | ||
| "transactionsAlerts" | ||
| "listAppsV2"; | ||
| "listAppsV2" | ||
| "editEthTx"; | ||
@@ -77,0 +83,0 @@ /** We use objects instead of direct booleans for potential future improvements |
@@ -16,1 +16,2 @@ export * from "./account"; | ||
export * from "./chainwatch"; | ||
export * from "./messages"; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
864324
177
4764
6275
1