New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/types-live

Package Overview
Dependencies
Maintainers
20
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/types-live - npm Package Compare versions

Comparing version 6.25.1 to 6.25.2-nightly.0

6

CHANGELOG.md
# @ledgerhq/types-live
## 6.25.2-nightly.0
### Patch Changes
- [#1141](https://github.com/LedgerHQ/ledger-live/pull/1141) [`24ea9cd15f`](https://github.com/LedgerHQ/ledger-live/commit/24ea9cd15f92d5a2c74c4b936bacb89d5d4d36fd) Thanks [@valpinkman](https://github.com/valpinkman)! - Collateral changes due to solving all LLM typescript/eslint issues/warnings.
## 6.25.1

@@ -4,0 +10,0 @@

3

lib-es/account.d.ts

@@ -106,4 +106,3 @@ import type { BigNumber } from "bignumber.js";

*/
export declare type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
export declare type AccountLikeArray = AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/** */

@@ -110,0 +109,0 @@ export declare type TokenAccountRaw = {

@@ -93,3 +93,3 @@ import { BigNumber } from "bignumber.js";

}>;
createTransaction(account: Account): T;
createTransaction(account: AccountLike): T;
updateTransaction(t: T, patch: Partial<T>): T;

@@ -96,0 +96,0 @@ prepareTransaction(account: Account, transaction: T): Promise<T>;

/** Add others with union (e.g. "learn" | "market" | "foo") */
export declare type FeatureId = "learn" | "pushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner";
export declare type FeatureId = "learn" | "pushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea";
/** We use objects instead of direct booleans for potential future improvements

@@ -4,0 +4,0 @@ like feature versioning etc */

@@ -12,2 +12,18 @@ import { DeviceModelId } from "@ledgerhq/types-devices";

}
export declare type WithNavigationParams = {
/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
};
declare type WithStartActionFunction = {
/**
* The function to call when the user presses the button for this action
*/
startAction: () => void;
};
/**

@@ -25,10 +41,2 @@ * All necessary information for complete integration of a post onboarding

/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
/**
* Icon displayed for this action in the post onboarding hub.

@@ -70,3 +78,3 @@ */

startEventProperties?: any;
};
} & (WithNavigationParams | WithStartActionFunction);
/**

@@ -125,2 +133,3 @@ * State of a post onboarding action.

};
export {};
//# sourceMappingURL=postOnboarding.d.ts.map
import type { BigNumber } from "bignumber.js";
import type { Unit } from "@ledgerhq/types-cryptoassets";
import type { Operation, OperationRaw } from "./operation";
import type { Unit } from "@ledgerhq/types-cryptoassets";
/**

@@ -5,0 +5,0 @@ *

@@ -106,4 +106,3 @@ import type { BigNumber } from "bignumber.js";

*/
export declare type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
export declare type AccountLikeArray = AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/** */

@@ -110,0 +109,0 @@ export declare type TokenAccountRaw = {

@@ -93,3 +93,3 @@ import { BigNumber } from "bignumber.js";

}>;
createTransaction(account: Account): T;
createTransaction(account: AccountLike): T;
updateTransaction(t: T, patch: Partial<T>): T;

@@ -96,0 +96,0 @@ prepareTransaction(account: Account, transaction: T): Promise<T>;

/** Add others with union (e.g. "learn" | "market" | "foo") */
export declare type FeatureId = "learn" | "pushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner";
export declare type FeatureId = "learn" | "pushNotifications" | "llmNewDeviceSelection" | "llmUsbFirmwareUpdate" | "ratings" | "counterValue" | "deviceLocalization" | "deviceInitialApps" | "buyDeviceFromLive" | "ptxSmartRouting" | "currencyOsmosis" | "currencyOsmosisMobile" | "currencyFantom" | "currencyMoonbeam" | "currencyCronos" | "currencySongbird" | "currencyFlare" | "currencyFantomMobile" | "currencyMoonbeamMobile" | "currencyCronosMobile" | "currencySongbirdMobile" | "currencyFlareMobile" | "ptxSmartRoutingMobile" | "mockFeature" | "syncOnboarding" | "walletConnectLiveApp" | "customImage" | "referralProgramDiscoverCard" | "referralProgramDesktopBanner" | "disableNftSend" | "disableNftLedgerMarket" | "disableNftRaribleOpensea";
/** We use objects instead of direct booleans for potential future improvements

@@ -4,0 +4,0 @@ like feature versioning etc */

@@ -12,2 +12,18 @@ import { DeviceModelId } from "@ledgerhq/types-devices";

}
export declare type WithNavigationParams = {
/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
};
declare type WithStartActionFunction = {
/**
* The function to call when the user presses the button for this action
*/
startAction: () => void;
};
/**

@@ -25,10 +41,2 @@ * All necessary information for complete integration of a post onboarding

/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
/**
* Icon displayed for this action in the post onboarding hub.

@@ -70,3 +78,3 @@ */

startEventProperties?: any;
};
} & (WithNavigationParams | WithStartActionFunction);
/**

@@ -125,2 +133,3 @@ * State of a post onboarding action.

};
export {};
//# sourceMappingURL=postOnboarding.d.ts.map
import type { BigNumber } from "bignumber.js";
import type { Unit } from "@ledgerhq/types-cryptoassets";
import type { Operation, OperationRaw } from "./operation";
import type { Unit } from "@ledgerhq/types-cryptoassets";
/**

@@ -5,0 +5,0 @@ *

{
"name": "@ledgerhq/types-live",
"version": "6.25.1",
"version": "6.25.2-nightly.0",
"description": "Ledger Live main types.",

@@ -24,7 +24,7 @@ "keywords": [

"dependencies": {
"bignumber.js": "9",
"bignumber.js": "^9.1.0",
"rxjs": "6"
},
"devDependencies": {
"@ledgerhq/types-cryptoassets": "^6.23.2",
"@ledgerhq/types-cryptoassets": "^6.23.3-nightly.0",
"@ledgerhq/types-devices": "^6.22.3"

@@ -31,0 +31,0 @@ },

@@ -202,4 +202,7 @@ import type { BigNumber } from "bignumber.js";

*/
export type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
export type AccountLikeArray =
| AccountLike[]
| TokenAccount[]
| ChildAccount[]
| Account[];

@@ -206,0 +209,0 @@ /** */

@@ -141,3 +141,3 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas

// it needs to be a serializable JS object
createTransaction(account: Account): T;
createTransaction(account: AccountLike): T;
updateTransaction(t: T, patch: Partial<T>): T;

@@ -144,0 +144,0 @@ // prepare the remaining missing part of a transaction typically from network (e.g. fees)

@@ -31,3 +31,6 @@ /** Add others with union (e.g. "learn" | "market" | "foo") */

| "referralProgramDiscoverCard"
| "referralProgramDesktopBanner";
| "referralProgramDesktopBanner"
| "disableNftSend"
| "disableNftLedgerMarket"
| "disableNftRaribleOpensea";

@@ -34,0 +37,0 @@ /** We use objects instead of direct booleans for potential future improvements

@@ -14,2 +14,20 @@ import { DeviceModelId } from "@ledgerhq/types-devices";

export type WithNavigationParams = {
/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
};
type WithStartActionFunction = {
/**
* The function to call when the user presses the button for this action
*/
startAction: () => void;
};
/**

@@ -29,11 +47,2 @@ * All necessary information for complete integration of a post onboarding

/**
* Navigation params when the user presses the button for this action
* - In LLM, this will be used like this:
* `navigation.navigate(...navigationParams)`
* - In LLD, this will be used like this:
* `history.push(...navigationParams)`
*/
navigationParams?: any[];
/**
* Icon displayed for this action in the post onboarding hub.

@@ -79,3 +88,3 @@ */

startEventProperties?: any;
};
} & (WithNavigationParams | WithStartActionFunction);

@@ -82,0 +91,0 @@ /**

import type { BigNumber } from "bignumber.js";
import type { Unit } from "@ledgerhq/types-cryptoassets";
import type { Operation, OperationRaw } from "./operation";
import type { Unit } from "@ledgerhq/types-cryptoassets";

@@ -5,0 +5,0 @@ /**

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc