Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/types-live

Package Overview
Dependencies
Maintainers
7
Versions
249
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.47.0-nightly.4 to 6.47.0

20

lib-es/account.d.ts
import type { BigNumber } from "bignumber.js";
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets";
import type { CryptoCurrency, TokenCurrency, Unit } from "@ledgerhq/types-cryptoassets";
import type { OperationRaw, Operation } from "./operation";

@@ -25,2 +25,3 @@ import type { DerivationMode } from "./derivation";

pendingOperations: Operation[];
starred: boolean;
balanceHistoryCache: BalanceHistoryCache;

@@ -60,2 +61,5 @@ swapHistory: SwapOperation[];

freshAddressPath: string;
freshAddresses: Address[];
name: string;
starred: boolean;
used: boolean;

@@ -68,2 +72,3 @@ balance: BigNumber;

feesCurrency?: CryptoCurrency | TokenCurrency;
unit: Unit;
operationsCount: number;

@@ -118,3 +123,4 @@ operations: Operation[];

freshAddressPath: string;
name?: string;
freshAddresses: Address[];
name: string;
starred?: boolean;

@@ -131,2 +137,3 @@ used?: boolean;

pendingOperations: OperationRaw[];
unitMagnitude: number;
lastSyncDate: string;

@@ -149,11 +156,2 @@ subAccounts?: TokenAccountRaw[];

};
/**
* This represent the user's data part of an account which contains all user's custom information that aren't part of on-chain data
* The object is serializable.
*/
export type AccountUserData = {
id: string;
name: string;
starredIds: string[];
};
//# sourceMappingURL=account.d.ts.map

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

};
/**
*
*/
export type BridgeCacheSystem = {
hydrateCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
prepareCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
};
export {};
//# sourceMappingURL=bridge.d.ts.map

@@ -120,3 +120,2 @@ import { ABTestingVariants } from "./ABTesting";

buySellUi: Feature_BuySellUiManifest;
buySellShortcut: DefaultFeature;
multibuyNavigation: Feature_MultibuyNavigation;

@@ -167,3 +166,2 @@ referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar;

spamReportNfts: Feature_SpamReportNfts;
lldWalletSync: Feature_LldWalletSync;
};

@@ -447,3 +445,2 @@ /**

export type Feature_LlmChatbotSupport = DefaultFeature;
export type Feature_LldWalletSync = DefaultFeature;
export type Feature_SpamReportNfts = DefaultFeature;

@@ -450,0 +447,0 @@ /**

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

/**
* Date of when the PostOnboarding banner was first displayed to the user
* Used to dismiss it automatically after some time
*/
entryPointFirstDisplayedDate: Date | null;
/**
* List of all actions that have to be completed in this post onboarding

@@ -137,0 +132,0 @@ * (whether they are completed or).

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

@@ -25,2 +25,3 @@ import type { DerivationMode } from "./derivation";

pendingOperations: Operation[];
starred: boolean;
balanceHistoryCache: BalanceHistoryCache;

@@ -60,2 +61,5 @@ swapHistory: SwapOperation[];

freshAddressPath: string;
freshAddresses: Address[];
name: string;
starred: boolean;
used: boolean;

@@ -68,2 +72,3 @@ balance: BigNumber;

feesCurrency?: CryptoCurrency | TokenCurrency;
unit: Unit;
operationsCount: number;

@@ -118,3 +123,4 @@ operations: Operation[];

freshAddressPath: string;
name?: string;
freshAddresses: Address[];
name: string;
starred?: boolean;

@@ -131,2 +137,3 @@ used?: boolean;

pendingOperations: OperationRaw[];
unitMagnitude: number;
lastSyncDate: string;

@@ -149,11 +156,2 @@ subAccounts?: TokenAccountRaw[];

};
/**
* This represent the user's data part of an account which contains all user's custom information that aren't part of on-chain data
* The object is serializable.
*/
export type AccountUserData = {
id: string;
name: string;
starredIds: string[];
};
//# sourceMappingURL=account.d.ts.map

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

};
/**
*
*/
export type BridgeCacheSystem = {
hydrateCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
prepareCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
};
export {};
//# sourceMappingURL=bridge.d.ts.map

@@ -120,3 +120,2 @@ import { ABTestingVariants } from "./ABTesting";

buySellUi: Feature_BuySellUiManifest;
buySellShortcut: DefaultFeature;
multibuyNavigation: Feature_MultibuyNavigation;

@@ -167,3 +166,2 @@ referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar;

spamReportNfts: Feature_SpamReportNfts;
lldWalletSync: Feature_LldWalletSync;
};

@@ -447,3 +445,2 @@ /**

export type Feature_LlmChatbotSupport = DefaultFeature;
export type Feature_LldWalletSync = DefaultFeature;
export type Feature_SpamReportNfts = DefaultFeature;

@@ -450,0 +447,0 @@ /**

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

/**
* Date of when the PostOnboarding banner was first displayed to the user
* Used to dismiss it automatically after some time
*/
entryPointFirstDisplayedDate: Date | null;
/**
* List of all actions that have to be completed in this post onboarding

@@ -137,0 +132,0 @@ * (whether they are completed or).

{
"name": "@ledgerhq/types-live",
"version": "6.47.0-nightly.4",
"version": "6.47.0",
"description": "Ledger Live main types.",

@@ -36,3 +36,3 @@ "keywords": [

"ts-node": "^10.4.0",
"@ledgerhq/types-cryptoassets": "^7.11.0",
"@ledgerhq/types-cryptoassets": "^7.12.0",
"@ledgerhq/types-devices": "^6.24.0"

@@ -39,0 +39,0 @@ },

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

@@ -38,2 +38,3 @@ import type { DerivationMode } from "./derivation";

pendingOperations: Operation[];
starred: boolean;
// Cache of balance history that allows a performant portfolio calculation.

@@ -90,6 +91,15 @@ // currently there are no "raw" version of it because no need to at this stage.

// next receive address. to be used to display to user.
// (deprecated - corresponds to freshAddresses[0].address)
freshAddress: string;
// The path linked to freshAddress. to be used to validate with the device if it corresponds to freshAddress.
// example: 44'/0'/0'/0/0
// (deprecated - corresponds to freshAddresses[0].derivationPath)
freshAddressPath: string;
// an array containing all fresh addresses and paths
// may be empty if no sync has occurred
freshAddresses: Address[];
// account name
name: string;
// starred
starred: boolean;
// says if the account essentially "exists". an account has been used in the past, but for some reason the blockchain finds it empty (no ops, no balance,..)

@@ -111,2 +121,4 @@ used: boolean;

feesCurrency?: CryptoCurrency | TokenCurrency;
// user preferred unit to use. unit is coming from currency.units. You can assume currency.units.indexOf(unit) will work. (make sure to preserve reference)
unit: Unit;
// The total number of operations (operations[] can be partial)

@@ -194,3 +206,4 @@ operationsCount: number;

freshAddressPath: string;
name?: string;
freshAddresses: Address[];
name: string;
starred?: boolean;

@@ -209,2 +222,3 @@ used?: boolean;

pendingOperations: OperationRaw[];
unitMagnitude: number;
lastSyncDate: string;

@@ -229,14 +243,1 @@ subAccounts?: TokenAccountRaw[];

};
/**
* This represent the user's data part of an account which contains all user's custom information that aren't part of on-chain data
* The object is serializable.
*/
export type AccountUserData = {
// the Account#id
id: string;
// user's name for this account
name: string;
// user's starred account ids: it can be more than the account.id because token accounts can also be starred
starredIds: string[];
};

@@ -261,9 +261,1 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas

};
/**
*
*/
export type BridgeCacheSystem = {
hydrateCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
prepareCurrency: (currency: CryptoCurrency) => Promise<unknown | null | undefined>;
};

@@ -133,3 +133,2 @@ import { ABTestingVariants } from "./ABTesting";

buySellUi: Feature_BuySellUiManifest;
buySellShortcut: DefaultFeature;
multibuyNavigation: Feature_MultibuyNavigation;

@@ -180,3 +179,2 @@ referralProgramDesktopSidebar: Feature_ReferralProgramDesktopSidebar;

spamReportNfts: Feature_SpamReportNfts;
lldWalletSync: Feature_LldWalletSync;
};

@@ -492,5 +490,3 @@

export type Feature_LlmChatbotSupport = DefaultFeature;
export type Feature_LldWalletSync = DefaultFeature;
export type Feature_SpamReportNfts = DefaultFeature;
/**

@@ -497,0 +493,0 @@ * Utils types.

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

/**
* Date of when the PostOnboarding banner was first displayed to the user
* Used to dismiss it automatically after some time
*/
entryPointFirstDisplayedDate: Date | null;
/**
* List of all actions that have to be completed in this post onboarding

@@ -154,0 +148,0 @@ * (whether they are completed or).

Sorry, the diff of this file is not supported yet

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

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