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

@ledgerhq/types-live

Package Overview
Dependencies
Maintainers
20
Versions
248
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.22.1-nightly.0 to 6.23.0-next.0

lib-es/feature.d.ts

10

CHANGELOG.md
# @ledgerhq/types-live
## 6.22.1-nightly.0
## 6.23.0-next.0
### Patch Changes
### Minor Changes
- f6f2d8f15: add dummy changesets
- Updated dependencies [f6f2d8f15]
- @ledgerhq/types-cryptoassets@6.22.1-nightly.0
- [#764](https://github.com/LedgerHQ/ledger-live/pull/764) [`ebe1adfb7`](https://github.com/LedgerHQ/ledger-live/commit/ebe1adfb7d264da0f8c9e30b84c188eaa931d1e6) Thanks [@juan-cortes](https://github.com/juan-cortes)! - Added development firmware detection to getDeviceInfo
* [#451](https://github.com/LedgerHQ/ledger-live/pull/451) [`134355d56`](https://github.com/LedgerHQ/ledger-live/commit/134355d561bd8d576123d51f99cb5058be5721a4) Thanks [@hedi-edelbloute](https://github.com/hedi-edelbloute)! - Type libraries usage in LLC, LLD, LLM, CLI

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

import type { SwapOperation, SwapOperationRaw } from "./swap";
import type { NFT, NFTRaw } from "./nft";
import { ProtoNFT, ProtoNFTRaw } from "./nft";
export declare type GranularityId = "HOUR" | "DAY" | "WEEK";

@@ -14,5 +14,3 @@ export declare type BalanceHistoryCache = Record<GranularityId, BalanceHistoryDataCache>;

};
/**
* A token belongs to an Account and share the parent account address
*/
/** A token belongs to an Account and share the parent account address */
export declare type TokenAccount = {

@@ -38,5 +36,3 @@ type: "TokenAccount";

};
/**
* A child account belongs to an Account but has its own address.
*/
/** A child account belongs to an Account but has its own address */
export declare type ChildAccount = {

@@ -58,5 +54,3 @@ type: "ChildAccount";

};
/**
*
*/
/** */
export declare type Address = {

@@ -102,2 +96,3 @@ address: string;

lastSyncDate: Date;
endpointConfig?: string | null | undefined;
subAccounts?: SubAccount[];

@@ -107,19 +102,14 @@ balanceHistoryCache: BalanceHistoryCache;

syncHash?: string;
nfts?: NFT[];
nfts?: ProtoNFT[];
};
/**
* super type that is either a token or a child account
*/
/** super type that is either a token or a child account */
export declare type SubAccount = TokenAccount | ChildAccount;
/**
* One of the Account type
*/
/** One of the Account type */
export declare type AccountLike = Account | SubAccount;
/**
* an array of AccountLikes
* An array of AccountLikes
*/
export declare type AccountLikeArray = AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/**
*
*/
export declare type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/** */
export declare type TokenAccountRaw = {

@@ -145,5 +135,3 @@ type: "TokenAccountRaw";

};
/**
*
*/
/** */
export declare type ChildAccountRaw = {

@@ -165,5 +153,3 @@ type: "ChildAccountRaw";

};
/**
*
*/
/** */
export declare type AccountRaw = {

@@ -196,12 +182,16 @@ id: string;

syncHash?: string;
nfts?: NFTRaw[];
nfts?: ProtoNFTRaw[];
};
/**
*
*/
/** */
export declare type SubAccountRaw = TokenAccountRaw | ChildAccountRaw;
/**
*
*/
/** */
export declare type AccountRawLike = AccountRaw | SubAccountRaw;
/** */
export declare type AccountIdParams = {
type: string;
version: string;
currencyId: string;
xpubOrAddress: string;
derivationMode: DerivationMode;
};
//# sourceMappingURL=account.d.ts.map

@@ -5,9 +5,7 @@ import { BigNumber } from "bignumber.js";

import type { AccountLike, Account, AccountRaw } from "./account";
import type { TransactionStatus, SignOperationEvent, SignedOperation } from "./transaction";
import type { SignOperationEvent, SignedOperation, TransactionCommon, TransactionStatusCommon } from "./transaction";
import type { Operation } from "./operation";
import type { DerivationMode } from "./derivation";
import type { SyncConfig } from "./pagination";
/**
*
*/
import { CryptoCurrencyIds, NFTCollectionMetadata, NFTCollectionMetadataResponse, NFTMetadata, NFTMetadataResponse } from "./nft";
export declare type ScanAccountEvent = {

@@ -18,3 +16,3 @@ type: "discovered";

/**
* more events will come in the future
* More events will come in the future
*/

@@ -26,3 +24,3 @@ export declare type ScanAccountEventRaw = {

/**
* unique identifier of a device. it will depends on the underlying implementation.
* Unique identifier of a device. It will depend on the underlying implementation.
*/

@@ -57,3 +55,3 @@ export declare type DeviceId = string;

/**
*
* Abstraction related to a currency
*/

@@ -71,4 +69,20 @@ export interface CurrencyBridge {

getPreloadStrategy?: (currency: CryptoCurrency) => PreloadStrategy;
nftResolvers?: {
nftMetadata: (arg: {
contract: string;
tokenId: string;
currencyId: string;
metadata?: NFTMetadata;
}) => Promise<NFTMetadataResponse>;
collectionMetadata: (arg: {
contract: string;
currencyId: string;
metadata?: NFTCollectionMetadata;
}) => Promise<NFTCollectionMetadataResponse>;
};
}
export interface AccountBridge<T> {
/**
* Abstraction related to an account
*/
export interface AccountBridge<T extends TransactionCommon> {
sync(initialAccount: Account, syncConfig: SyncConfig): Observable<(arg0: Account) => Account>;

@@ -87,3 +101,3 @@ receive(account: Account, arg1: {

prepareTransaction(account: Account, transaction: T): Promise<T>;
getTransactionStatus(account: Account, transaction: T): Promise<TransactionStatus>;
getTransactionStatus(account: Account, transaction: T): Promise<TransactionStatusCommon>;
estimateMaxSpendable(arg0: {

@@ -97,2 +111,41 @@ account: AccountLike;

}
declare type ExpectFn = (...args: Array<any>) => any;
/**
*
*/
export declare type CurrenciesData<T extends TransactionCommon> = {
FIXME_ignoreAccountFields?: string[];
FIXME_ignoreOperationFields?: string[];
FIXME_ignorePreloadFields?: string[];
mockDeviceOptions?: any;
scanAccounts?: Array<{
name: string;
apdus: string;
unstableAccounts?: boolean;
test?: (expect: ExpectFn, scanned: Account[], bridge: CurrencyBridge) => any;
}>;
accounts?: Array<{
implementations?: string[];
raw: AccountRaw;
FIXME_tests?: Array<string | RegExp>;
transactions?: Array<{
name: string;
transaction: T | ((arg0: T, arg1: Account, arg2: AccountBridge<T>) => T);
expectedStatus?: Partial<TransactionStatusCommon> | ((arg0: Account, arg1: T, arg2: TransactionStatusCommon) => Partial<TransactionStatusCommon>);
test?: (arg0: ExpectFn, arg1: T, arg2: TransactionStatusCommon, arg3: AccountBridge<T>) => any;
apdus?: string;
testSignedOperation?: (arg0: ExpectFn, arg1: SignedOperation, arg2: Account, arg3: T, arg4: TransactionStatusCommon, arg5: AccountBridge<T>) => any;
}>;
test?: (arg0: ExpectFn, arg1: Account, arg2: AccountBridge<T>) => any;
}>;
test?: (arg0: ExpectFn, arg1: CurrencyBridge) => any;
};
/**
*
*/
export declare type DatasetTest<T extends TransactionCommon> = {
implementations: string[];
currencies: Record<CryptoCurrencyIds, CurrenciesData<T>> | Record<string, never>;
};
export {};
//# sourceMappingURL=bridge.d.ts.map

@@ -0,9 +1,11 @@

export * from "./account";
export * from "./bridge";
export * from "./derivation";
export * from "./account";
export * from "./feature";
export * from "./manager";
export * from "./nft";
export * from "./operation";
export * from "./pagination";
export * from "./portfolio";
export * from "./transaction";
export * from "./bridge";
export * from "./pagination";
export * from "./nft";
//# sourceMappingURL=index.d.ts.map

@@ -0,9 +1,11 @@

export * from "./account";
export * from "./bridge";
export * from "./derivation";
export * from "./account";
export * from "./feature";
export * from "./manager";
export * from "./nft";
export * from "./operation";
export * from "./pagination";
export * from "./portfolio";
export * from "./transaction";
export * from "./bridge";
export * from "./pagination";
export * from "./nft";
//# sourceMappingURL=index.js.map
import type BigNumber from "bignumber.js";
export declare type CryptoCurrencyIds = string;
/**
*
*/
export declare type NFTStandards = "ERC721" | "ERC1155";
export declare type NFTStandard = "ERC721" | "ERC1155";
/**
*
*/
export declare type NFT = {
export declare type NFTMediaSize = "preview" | "big" | "original";
/**
*
*/
export declare type NFTMedias = Record<NFTMediaSize, {
uri: string;
mediaType: string;
}>;
/**
*
*/
export declare type NFTMetadata = {
tokenName: string | null;
nftName: string | null;
medias: NFTMedias;
description: string | null;
properties: Array<Record<"key" | "value", string>>;
links: Record<NFTMetadataLinksProviders, string>;
};
/**
*
*/
export declare type NFTCollectionMetadata = {
tokenName: string | null;
};
/**
*
*/
export declare type ProtoNFT = {
id: string;
tokenId: string;
amount: BigNumber;
collection: {
contract: string;
standard: NFTStandards | string;
};
contract: string;
standard: NFTStandard;
currencyId: CryptoCurrencyIds;
metadata?: NFTMetadata;
};

@@ -21,3 +50,3 @@ /**

*/
export declare type NFTRaw = Omit<NFT, "amount"> & {
export declare type ProtoNFTRaw = Omit<ProtoNFT, "amount"> & {
amount: string;

@@ -28,6 +57,12 @@ };

*/
export declare type NFTMetadataLinksProviders = "opensea" | "rarible" | "etherscan";
export declare type NFT = Omit<ProtoNFT, "metadata"> & {
metadata: NFTMetadata;
};
/**
*
*/
export declare type NFTMetadataLinksProviders = "opensea" | "rarible" | "explorer";
/**
*
*/
export declare type NFTMetadataResponse = {

@@ -40,3 +75,3 @@ status: 200 | 404 | 500;

nftName: string | null;
media: string | null;
medias: NFTMedias;
description: string | null;

@@ -47,2 +82,19 @@ properties: Array<Record<"key" | "value", string>>;

};
/**
*
*/
export declare type NFTCollectionMetadataResponse = {
status: 200 | 404 | 500;
result?: {
contract: string;
tokenName: string | null;
} | null;
};
/**
*
*/
export declare type FloorPrice = {
ticker: string;
value: number;
};
//# sourceMappingURL=nft.d.ts.map
import type { BigNumber } from "bignumber.js";
import { NFTStandards } from "./nft";
import { NFTStandard } from "./nft";
/**

@@ -22,3 +22,3 @@ *

accountId: string;
standard?: NFTStandards | string;
standard?: NFTStandard | string;
operator?: string;

@@ -50,3 +50,3 @@ contract?: string;

hasFailed?: boolean;
standard?: NFTStandards | string;
standard?: NFTStandard | string;
operator?: string;

@@ -61,2 +61,16 @@ contract?: string;

};
/**
*
*/
export declare type DailyOperationsSection = {
day: Date;
data: Operation[];
};
/**
*
*/
export declare type DailyOperations = {
sections: DailyOperationsSection[];
completed: boolean;
};
//# sourceMappingURL=operation.d.ts.map

@@ -13,2 +13,5 @@ /**

};
/**
*
*/
export declare type SyncConfig = {

@@ -15,0 +18,0 @@ paginationConfig: PaginationConfig;

@@ -1,3 +0,2 @@

import type { BigNumber } from "bignumber.js";
import type { AccountLike, AccountLikeArray } from "./account";
import type { AccountLike, AccountLikeArray, GranularityId } from "./account";
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets";

@@ -9,3 +8,3 @@ /**

date: Date;
value: BigNumber;
value: number;
};

@@ -23,7 +22,5 @@ /**

*/
export declare type BalanceHistoryWithCountervalue = Array<{
date: Date;
value: BigNumber;
countervalue: BigNumber;
}>;
export declare type BalanceHistoryWithCountervalue = (BalanceHistoryData & {
countervalue: number | null | undefined;
})[];
/**

@@ -33,4 +30,4 @@ *

export declare type ValueChange = {
percentage: BigNumber | null | undefined;
value: BigNumber;
percentage: number | null | undefined;
value: number;
};

@@ -43,4 +40,4 @@ /**

countervalueAvailable: boolean;
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
cryptoChange: ValueChange;

@@ -58,2 +55,3 @@ countervalueChange: ValueChange;

cryptoChange: ValueChange;
range: PortfolioRange;
countervalueChange: ValueChange;

@@ -72,4 +70,4 @@ };

histories: BalanceHistoryWithCountervalue[];
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
countervalueChange: ValueChange;

@@ -81,4 +79,4 @@ };

export declare type PortfolioRangeConfig = {
count: number;
granularityId: "HOUR" | "DAY" | "WEEK";
count?: number;
granularityId: GranularityId;
startOf: (arg0: Date) => Date;

@@ -90,3 +88,3 @@ increment: number;

*/
export declare type PortfolioRange = "year" | "month" | "week" | "day";
export declare type PortfolioRange = "all" | "year" | "month" | "week" | "day";
/**

@@ -97,11 +95,11 @@ *

isAvailable: boolean;
list: Array<{
list: {
currency: CryptoCurrency | TokenCurrency;
distribution: number;
amount: BigNumber;
countervalue: BigNumber;
}>;
amount: number;
countervalue: number;
}[];
showFirst: number;
sum: BigNumber;
sum: number;
};
//# sourceMappingURL=portfolio.d.ts.map

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

*/
export declare type BitcoinInput = {
address: string | null | undefined;
value: BigNumber | null | undefined;
previousTxHash: string | null | undefined;
previousOutputIndex: number;
};
/**
*
*/
export declare type BitcoinInputRaw = [
string | null | undefined,
string | null | undefined,
string | null | undefined,
number
];
/**
*
*/
export declare type BitcoinOutput = {
hash: string;
outputIndex: number;
blockHeight: number | null | undefined;
address: string | null | undefined;
path: string | null | undefined;
value: BigNumber;
rbf: boolean;
isChange: boolean;
};
/**
*
*/
export declare type BitcoinOutputRaw = [
string,
number,
number | null | undefined,
string | null | undefined,
string | null | undefined,
string,
number,
number
];
/**
*
*/
export declare type SignedOperation = {

@@ -134,3 +90,3 @@ operation: Operation;

*/
export declare type TransactionStatus = {
export declare type TransactionStatusCommon = {
errors: Record<string, Error>;

@@ -142,4 +98,2 @@ warnings: Record<string, Error>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInput[];
txOutputs?: BitcoinOutput[];
};

@@ -149,3 +103,3 @@ /**

*/
export declare type TransactionStatusRaw = {
export declare type TransactionStatusCommonRaw = {
errors: Record<string, string>;

@@ -158,5 +112,3 @@ warnings: Record<string, string>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInputRaw[];
txOutputs?: BitcoinOutputRaw[];
};
//# sourceMappingURL=transaction.d.ts.map

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

import type { SwapOperation, SwapOperationRaw } from "./swap";
import type { NFT, NFTRaw } from "./nft";
import { ProtoNFT, ProtoNFTRaw } from "./nft";
export declare type GranularityId = "HOUR" | "DAY" | "WEEK";

@@ -14,5 +14,3 @@ export declare type BalanceHistoryCache = Record<GranularityId, BalanceHistoryDataCache>;

};
/**
* A token belongs to an Account and share the parent account address
*/
/** A token belongs to an Account and share the parent account address */
export declare type TokenAccount = {

@@ -38,5 +36,3 @@ type: "TokenAccount";

};
/**
* A child account belongs to an Account but has its own address.
*/
/** A child account belongs to an Account but has its own address */
export declare type ChildAccount = {

@@ -58,5 +54,3 @@ type: "ChildAccount";

};
/**
*
*/
/** */
export declare type Address = {

@@ -102,2 +96,3 @@ address: string;

lastSyncDate: Date;
endpointConfig?: string | null | undefined;
subAccounts?: SubAccount[];

@@ -107,19 +102,14 @@ balanceHistoryCache: BalanceHistoryCache;

syncHash?: string;
nfts?: NFT[];
nfts?: ProtoNFT[];
};
/**
* super type that is either a token or a child account
*/
/** super type that is either a token or a child account */
export declare type SubAccount = TokenAccount | ChildAccount;
/**
* One of the Account type
*/
/** One of the Account type */
export declare type AccountLike = Account | SubAccount;
/**
* an array of AccountLikes
* An array of AccountLikes
*/
export declare type AccountLikeArray = AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/**
*
*/
export declare type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/** */
export declare type TokenAccountRaw = {

@@ -145,5 +135,3 @@ type: "TokenAccountRaw";

};
/**
*
*/
/** */
export declare type ChildAccountRaw = {

@@ -165,5 +153,3 @@ type: "ChildAccountRaw";

};
/**
*
*/
/** */
export declare type AccountRaw = {

@@ -196,12 +182,16 @@ id: string;

syncHash?: string;
nfts?: NFTRaw[];
nfts?: ProtoNFTRaw[];
};
/**
*
*/
/** */
export declare type SubAccountRaw = TokenAccountRaw | ChildAccountRaw;
/**
*
*/
/** */
export declare type AccountRawLike = AccountRaw | SubAccountRaw;
/** */
export declare type AccountIdParams = {
type: string;
version: string;
currencyId: string;
xpubOrAddress: string;
derivationMode: DerivationMode;
};
//# sourceMappingURL=account.d.ts.map

@@ -5,9 +5,7 @@ import { BigNumber } from "bignumber.js";

import type { AccountLike, Account, AccountRaw } from "./account";
import type { TransactionStatus, SignOperationEvent, SignedOperation } from "./transaction";
import type { SignOperationEvent, SignedOperation, TransactionCommon, TransactionStatusCommon } from "./transaction";
import type { Operation } from "./operation";
import type { DerivationMode } from "./derivation";
import type { SyncConfig } from "./pagination";
/**
*
*/
import { CryptoCurrencyIds, NFTCollectionMetadata, NFTCollectionMetadataResponse, NFTMetadata, NFTMetadataResponse } from "./nft";
export declare type ScanAccountEvent = {

@@ -18,3 +16,3 @@ type: "discovered";

/**
* more events will come in the future
* More events will come in the future
*/

@@ -26,3 +24,3 @@ export declare type ScanAccountEventRaw = {

/**
* unique identifier of a device. it will depends on the underlying implementation.
* Unique identifier of a device. It will depend on the underlying implementation.
*/

@@ -57,3 +55,3 @@ export declare type DeviceId = string;

/**
*
* Abstraction related to a currency
*/

@@ -71,4 +69,20 @@ export interface CurrencyBridge {

getPreloadStrategy?: (currency: CryptoCurrency) => PreloadStrategy;
nftResolvers?: {
nftMetadata: (arg: {
contract: string;
tokenId: string;
currencyId: string;
metadata?: NFTMetadata;
}) => Promise<NFTMetadataResponse>;
collectionMetadata: (arg: {
contract: string;
currencyId: string;
metadata?: NFTCollectionMetadata;
}) => Promise<NFTCollectionMetadataResponse>;
};
}
export interface AccountBridge<T> {
/**
* Abstraction related to an account
*/
export interface AccountBridge<T extends TransactionCommon> {
sync(initialAccount: Account, syncConfig: SyncConfig): Observable<(arg0: Account) => Account>;

@@ -87,3 +101,3 @@ receive(account: Account, arg1: {

prepareTransaction(account: Account, transaction: T): Promise<T>;
getTransactionStatus(account: Account, transaction: T): Promise<TransactionStatus>;
getTransactionStatus(account: Account, transaction: T): Promise<TransactionStatusCommon>;
estimateMaxSpendable(arg0: {

@@ -97,2 +111,41 @@ account: AccountLike;

}
declare type ExpectFn = (...args: Array<any>) => any;
/**
*
*/
export declare type CurrenciesData<T extends TransactionCommon> = {
FIXME_ignoreAccountFields?: string[];
FIXME_ignoreOperationFields?: string[];
FIXME_ignorePreloadFields?: string[];
mockDeviceOptions?: any;
scanAccounts?: Array<{
name: string;
apdus: string;
unstableAccounts?: boolean;
test?: (expect: ExpectFn, scanned: Account[], bridge: CurrencyBridge) => any;
}>;
accounts?: Array<{
implementations?: string[];
raw: AccountRaw;
FIXME_tests?: Array<string | RegExp>;
transactions?: Array<{
name: string;
transaction: T | ((arg0: T, arg1: Account, arg2: AccountBridge<T>) => T);
expectedStatus?: Partial<TransactionStatusCommon> | ((arg0: Account, arg1: T, arg2: TransactionStatusCommon) => Partial<TransactionStatusCommon>);
test?: (arg0: ExpectFn, arg1: T, arg2: TransactionStatusCommon, arg3: AccountBridge<T>) => any;
apdus?: string;
testSignedOperation?: (arg0: ExpectFn, arg1: SignedOperation, arg2: Account, arg3: T, arg4: TransactionStatusCommon, arg5: AccountBridge<T>) => any;
}>;
test?: (arg0: ExpectFn, arg1: Account, arg2: AccountBridge<T>) => any;
}>;
test?: (arg0: ExpectFn, arg1: CurrencyBridge) => any;
};
/**
*
*/
export declare type DatasetTest<T extends TransactionCommon> = {
implementations: string[];
currencies: Record<CryptoCurrencyIds, CurrenciesData<T>> | Record<string, never>;
};
export {};
//# sourceMappingURL=bridge.d.ts.map

@@ -0,9 +1,11 @@

export * from "./account";
export * from "./bridge";
export * from "./derivation";
export * from "./account";
export * from "./feature";
export * from "./manager";
export * from "./nft";
export * from "./operation";
export * from "./pagination";
export * from "./portfolio";
export * from "./transaction";
export * from "./bridge";
export * from "./pagination";
export * from "./nft";
//# sourceMappingURL=index.d.ts.map

@@ -17,10 +17,12 @@ "use strict";

exports.__esModule = true;
__exportStar(require("./account"), exports);
__exportStar(require("./bridge"), exports);
__exportStar(require("./derivation"), exports);
__exportStar(require("./account"), exports);
__exportStar(require("./feature"), exports);
__exportStar(require("./manager"), exports);
__exportStar(require("./nft"), exports);
__exportStar(require("./operation"), exports);
__exportStar(require("./pagination"), exports);
__exportStar(require("./portfolio"), exports);
__exportStar(require("./transaction"), exports);
__exportStar(require("./bridge"), exports);
__exportStar(require("./pagination"), exports);
__exportStar(require("./nft"), exports);
//# sourceMappingURL=index.js.map
import type BigNumber from "bignumber.js";
export declare type CryptoCurrencyIds = string;
/**
*
*/
export declare type NFTStandards = "ERC721" | "ERC1155";
export declare type NFTStandard = "ERC721" | "ERC1155";
/**
*
*/
export declare type NFT = {
export declare type NFTMediaSize = "preview" | "big" | "original";
/**
*
*/
export declare type NFTMedias = Record<NFTMediaSize, {
uri: string;
mediaType: string;
}>;
/**
*
*/
export declare type NFTMetadata = {
tokenName: string | null;
nftName: string | null;
medias: NFTMedias;
description: string | null;
properties: Array<Record<"key" | "value", string>>;
links: Record<NFTMetadataLinksProviders, string>;
};
/**
*
*/
export declare type NFTCollectionMetadata = {
tokenName: string | null;
};
/**
*
*/
export declare type ProtoNFT = {
id: string;
tokenId: string;
amount: BigNumber;
collection: {
contract: string;
standard: NFTStandards | string;
};
contract: string;
standard: NFTStandard;
currencyId: CryptoCurrencyIds;
metadata?: NFTMetadata;
};

@@ -21,3 +50,3 @@ /**

*/
export declare type NFTRaw = Omit<NFT, "amount"> & {
export declare type ProtoNFTRaw = Omit<ProtoNFT, "amount"> & {
amount: string;

@@ -28,6 +57,12 @@ };

*/
export declare type NFTMetadataLinksProviders = "opensea" | "rarible" | "etherscan";
export declare type NFT = Omit<ProtoNFT, "metadata"> & {
metadata: NFTMetadata;
};
/**
*
*/
export declare type NFTMetadataLinksProviders = "opensea" | "rarible" | "explorer";
/**
*
*/
export declare type NFTMetadataResponse = {

@@ -40,3 +75,3 @@ status: 200 | 404 | 500;

nftName: string | null;
media: string | null;
medias: NFTMedias;
description: string | null;

@@ -47,2 +82,19 @@ properties: Array<Record<"key" | "value", string>>;

};
/**
*
*/
export declare type NFTCollectionMetadataResponse = {
status: 200 | 404 | 500;
result?: {
contract: string;
tokenName: string | null;
} | null;
};
/**
*
*/
export declare type FloorPrice = {
ticker: string;
value: number;
};
//# sourceMappingURL=nft.d.ts.map
import type { BigNumber } from "bignumber.js";
import { NFTStandards } from "./nft";
import { NFTStandard } from "./nft";
/**

@@ -22,3 +22,3 @@ *

accountId: string;
standard?: NFTStandards | string;
standard?: NFTStandard | string;
operator?: string;

@@ -50,3 +50,3 @@ contract?: string;

hasFailed?: boolean;
standard?: NFTStandards | string;
standard?: NFTStandard | string;
operator?: string;

@@ -61,2 +61,16 @@ contract?: string;

};
/**
*
*/
export declare type DailyOperationsSection = {
day: Date;
data: Operation[];
};
/**
*
*/
export declare type DailyOperations = {
sections: DailyOperationsSection[];
completed: boolean;
};
//# sourceMappingURL=operation.d.ts.map

@@ -13,2 +13,5 @@ /**

};
/**
*
*/
export declare type SyncConfig = {

@@ -15,0 +18,0 @@ paginationConfig: PaginationConfig;

@@ -1,3 +0,2 @@

import type { BigNumber } from "bignumber.js";
import type { AccountLike, AccountLikeArray } from "./account";
import type { AccountLike, AccountLikeArray, GranularityId } from "./account";
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets";

@@ -9,3 +8,3 @@ /**

date: Date;
value: BigNumber;
value: number;
};

@@ -23,7 +22,5 @@ /**

*/
export declare type BalanceHistoryWithCountervalue = Array<{
date: Date;
value: BigNumber;
countervalue: BigNumber;
}>;
export declare type BalanceHistoryWithCountervalue = (BalanceHistoryData & {
countervalue: number | null | undefined;
})[];
/**

@@ -33,4 +30,4 @@ *

export declare type ValueChange = {
percentage: BigNumber | null | undefined;
value: BigNumber;
percentage: number | null | undefined;
value: number;
};

@@ -43,4 +40,4 @@ /**

countervalueAvailable: boolean;
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
cryptoChange: ValueChange;

@@ -58,2 +55,3 @@ countervalueChange: ValueChange;

cryptoChange: ValueChange;
range: PortfolioRange;
countervalueChange: ValueChange;

@@ -72,4 +70,4 @@ };

histories: BalanceHistoryWithCountervalue[];
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
countervalueChange: ValueChange;

@@ -81,4 +79,4 @@ };

export declare type PortfolioRangeConfig = {
count: number;
granularityId: "HOUR" | "DAY" | "WEEK";
count?: number;
granularityId: GranularityId;
startOf: (arg0: Date) => Date;

@@ -90,3 +88,3 @@ increment: number;

*/
export declare type PortfolioRange = "year" | "month" | "week" | "day";
export declare type PortfolioRange = "all" | "year" | "month" | "week" | "day";
/**

@@ -97,11 +95,11 @@ *

isAvailable: boolean;
list: Array<{
list: {
currency: CryptoCurrency | TokenCurrency;
distribution: number;
amount: BigNumber;
countervalue: BigNumber;
}>;
amount: number;
countervalue: number;
}[];
showFirst: number;
sum: BigNumber;
sum: number;
};
//# sourceMappingURL=portfolio.d.ts.map

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

*/
export declare type BitcoinInput = {
address: string | null | undefined;
value: BigNumber | null | undefined;
previousTxHash: string | null | undefined;
previousOutputIndex: number;
};
/**
*
*/
export declare type BitcoinInputRaw = [
string | null | undefined,
string | null | undefined,
string | null | undefined,
number
];
/**
*
*/
export declare type BitcoinOutput = {
hash: string;
outputIndex: number;
blockHeight: number | null | undefined;
address: string | null | undefined;
path: string | null | undefined;
value: BigNumber;
rbf: boolean;
isChange: boolean;
};
/**
*
*/
export declare type BitcoinOutputRaw = [
string,
number,
number | null | undefined,
string | null | undefined,
string | null | undefined,
string,
number,
number
];
/**
*
*/
export declare type SignedOperation = {

@@ -134,3 +90,3 @@ operation: Operation;

*/
export declare type TransactionStatus = {
export declare type TransactionStatusCommon = {
errors: Record<string, Error>;

@@ -142,4 +98,2 @@ warnings: Record<string, Error>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInput[];
txOutputs?: BitcoinOutput[];
};

@@ -149,3 +103,3 @@ /**

*/
export declare type TransactionStatusRaw = {
export declare type TransactionStatusCommonRaw = {
errors: Record<string, string>;

@@ -158,5 +112,3 @@ warnings: Record<string, string>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInputRaw[];
txOutputs?: BitcoinOutputRaw[];
};
//# sourceMappingURL=transaction.d.ts.map
{
"name": "@ledgerhq/types-live",
"version": "6.22.1-nightly.0",
"version": "6.23.0-next.0",
"description": "Ledger Live main types.",

@@ -10,8 +10,8 @@ "keywords": [

"type": "git",
"url": "https://github.com/LedgerHQ/ledgerjs"
"url": "https://github.com/LedgerHQ/ledger-live.git"
},
"bugs": {
"url": "https://github.com/LedgerHQ/ledgerjs/issues"
"url": "https://github.com/LedgerHQ/ledger-live/issues"
},
"homepage": "https://github.com/LedgerHQ/ledgerjs",
"homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/types-live",
"publishConfig": {

@@ -25,11 +25,15 @@ "access": "public"

"dependencies": {
"@ledgerhq/types-cryptoassets": "^6.22.1-nightly.0",
"bignumber.js": "9",
"rxjs": "6"
},
"devDependencies": {
"@ledgerhq/types-cryptoassets": "^6.23.0-next.0",
"@ledgerhq/types-devices": "^6.22.0"
},
"scripts": {
"clean": "bash ../../script/clean.sh",
"build": "bash ../../script/build.sh",
"watch": "bash ../../script/watch.sh",
"doc": "bash ../../script/doc.sh",
"clean": "rimraf lib lib-es",
"build": "tsc && tsc -m ES6 --outDir lib-es",
"prewatch": "pnpm build",
"watch": "tsc --watch",
"doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",

@@ -36,0 +40,0 @@ "lint:fix": "pnpm lint --fix",

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

import type { SwapOperation, SwapOperationRaw } from "./swap";
import type { NFT, NFTRaw } from "./nft";
import { ProtoNFT, ProtoNFTRaw } from "./nft";
// This is the old cache and now DEPRECATED (pre v2 portfoli)
export type GranularityId = "HOUR" | "DAY" | "WEEK";

@@ -34,5 +33,3 @@

/**
* A token belongs to an Account and share the parent account address
*/
/** A token belongs to an Account and share the parent account address */
export type TokenAccount = {

@@ -65,5 +62,3 @@ type: "TokenAccount";

/**
* A child account belongs to an Account but has its own address.
*/
/** A child account belongs to an Account but has its own address */
export type ChildAccount = {

@@ -91,5 +86,3 @@ type: "ChildAccount";

/**
*
*/
/** */
export type Address = {

@@ -175,2 +168,5 @@ address: string;

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.

@@ -193,2 +189,3 @@ // A sub account can be either a token account or a child account in some blockchain.

balanceHistoryCache: BalanceHistoryCache;
// On some blockchain, an account can have resources (gained, delegated, ...)
// Swap operations linked to this account

@@ -199,24 +196,18 @@ swapHistory: SwapOperation[];

// Array of NFTs computed by diffing NFTOperations ordered from newest to oldest
nfts?: NFT[];
nfts?: ProtoNFT[];
};
/**
* super type that is either a token or a child account
*/
/** super type that is either a token or a child account */
export type SubAccount = TokenAccount | ChildAccount;
/**
* One of the Account type
*/
/** One of the Account type */
export type AccountLike = Account | SubAccount;
/**
* an array of AccountLikes
* An array of AccountLikes
*/
export type AccountLikeArray =
| AccountLike[]
| TokenAccount[]
| ChildAccount[]
| Account[];
/**
*
*/
export type AccountLikeArray = // $FlowFixMe wtf mobile
AccountLike[] | TokenAccount[] | ChildAccount[] | Account[];
/** */
export type TokenAccountRaw = {

@@ -242,5 +233,4 @@ type: "TokenAccountRaw";

};
/**
*
*/
/** */
export type ChildAccountRaw = {

@@ -262,5 +252,4 @@ type: "ChildAccountRaw";

};
/**
*
*/
/** */
export type AccountRaw = {

@@ -295,11 +284,18 @@ id: string;

syncHash?: string;
nfts?: NFTRaw[];
nfts?: ProtoNFTRaw[];
};
/**
*
*/
/** */
export type SubAccountRaw = TokenAccountRaw | ChildAccountRaw;
/**
*
*/
/** */
export type AccountRawLike = AccountRaw | SubAccountRaw;
/** */
export type AccountIdParams = {
type: string;
version: string;
currencyId: string;
xpubOrAddress: string;
derivationMode: DerivationMode;
};

@@ -11,5 +11,6 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas

import type {
TransactionStatus,
SignOperationEvent,
SignedOperation,
TransactionCommon,
TransactionStatusCommon,
} from "./transaction";

@@ -19,6 +20,10 @@ import type { Operation } from "./operation";

import type { SyncConfig } from "./pagination";
import {
CryptoCurrencyIds,
NFTCollectionMetadata,
NFTCollectionMetadataResponse,
NFTMetadata,
NFTMetadataResponse,
} from "./nft";
/**
*
*/
export type ScanAccountEvent = {

@@ -29,3 +34,3 @@ type: "discovered";

/**
* more events will come in the future
* More events will come in the future
*/

@@ -38,3 +43,3 @@ export type ScanAccountEventRaw = {

/**
* unique identifier of a device. it will depends on the underlying implementation.
* Unique identifier of a device. It will depend on the underlying implementation.
*/

@@ -73,6 +78,7 @@ export type DeviceId = string;

) => Observable<SignOperationEvent>;
export type BroadcastFnSignature = (arg0: BroadcastArg0) => Promise<Operation>;
/**
*
* Abstraction related to a currency
*/

@@ -97,5 +103,21 @@ export interface CurrencyBridge {

getPreloadStrategy?: (currency: CryptoCurrency) => PreloadStrategy;
nftResolvers?: {
nftMetadata: (arg: {
contract: string;
tokenId: string;
currencyId: string;
metadata?: NFTMetadata;
}) => Promise<NFTMetadataResponse>;
collectionMetadata: (arg: {
contract: string;
currencyId: string;
metadata?: NFTCollectionMetadata;
}) => Promise<NFTCollectionMetadataResponse>;
};
}
// Abstraction related to an account
export interface AccountBridge<T> {
/**
* Abstraction related to an account
*/
export interface AccountBridge<T extends TransactionCommon> {
// synchronizes an account continuously to update with latest blochchains state.

@@ -135,3 +157,3 @@ // The function emits updater functions each time there are data changes (e.g. blockchains updates)

transaction: T
): Promise<TransactionStatus>;
): Promise<TransactionStatusCommon>;
// heuristic that provides the estimated max amount that can be set to a send.

@@ -157,1 +179,66 @@ // this is usually the balance minus the fees, but it really depends between coins (reserve, burn, frozen part of the balance,...).

}
type ExpectFn = (...args: Array<any>) => any;
/**
*
*/
export type CurrenciesData<T extends TransactionCommon> = {
FIXME_ignoreAccountFields?: string[];
FIXME_ignoreOperationFields?: string[];
FIXME_ignorePreloadFields?: string[];
mockDeviceOptions?: any;
scanAccounts?: Array<{
name: string;
apdus: string;
unstableAccounts?: boolean;
test?: (
expect: ExpectFn,
scanned: Account[],
bridge: CurrencyBridge
) => any;
}>;
accounts?: Array<{
implementations?: string[];
raw: AccountRaw;
FIXME_tests?: Array<string | RegExp>;
transactions?: Array<{
name: string;
transaction: T | ((arg0: T, arg1: Account, arg2: AccountBridge<T>) => T);
expectedStatus?:
| Partial<TransactionStatusCommon>
| ((
arg0: Account,
arg1: T,
arg2: TransactionStatusCommon
) => Partial<TransactionStatusCommon>);
test?: (
arg0: ExpectFn,
arg1: T,
arg2: TransactionStatusCommon,
arg3: AccountBridge<T>
) => any;
apdus?: string;
testSignedOperation?: (
arg0: ExpectFn,
arg1: SignedOperation,
arg2: Account,
arg3: T,
arg4: TransactionStatusCommon,
arg5: AccountBridge<T>
) => any;
}>;
test?: (arg0: ExpectFn, arg1: Account, arg2: AccountBridge<T>) => any;
}>;
test?: (arg0: ExpectFn, arg1: CurrencyBridge) => any;
};
/**
*
*/
export type DatasetTest<T extends TransactionCommon> = {
implementations: string[];
currencies:
| Record<CryptoCurrencyIds, CurrenciesData<T>>
| Record<string, never>;
};

@@ -0,8 +1,10 @@

export * from "./account";
export * from "./bridge";
export * from "./derivation";
export * from "./account";
export * from "./feature";
export * from "./manager";
export * from "./nft";
export * from "./operation";
export * from "./pagination";
export * from "./portfolio";
export * from "./transaction";
export * from "./bridge";
export * from "./pagination";
export * from "./nft";
import type BigNumber from "bignumber.js";
// TODO: cryptocurrencyIds should be the one from cryptoassets package
export type CryptoCurrencyIds = string;
/**
*
*/
export type NFTStandards = "ERC721" | "ERC1155";
export type NFTStandard = "ERC721" | "ERC1155";

@@ -11,3 +14,38 @@ /**

*/
export type NFT = {
export type NFTMediaSize = "preview" | "big" | "original";
/**
*
*/
export type NFTMedias = Record<
NFTMediaSize,
{
uri: string;
mediaType: string; // mime-type
}
>;
/**
*
*/
export type NFTMetadata = {
tokenName: string | null;
nftName: string | null;
medias: NFTMedias;
description: string | null;
properties: Array<Record<"key" | "value", string>>;
links: Record<NFTMetadataLinksProviders, string>;
};
/**
*
*/
export type NFTCollectionMetadata = {
tokenName: string | null;
};
/**
*
*/
export type ProtoNFT = {
// id crafted by live

@@ -18,9 +56,6 @@ id: string;

amount: BigNumber;
collection: {
// contract address. Careful 1 contract address != 1 collection as some collections are off-chain
// So 1 contract address from OpenSea for example can reprensent an infinity of collections
contract: string;
// Carefull to non spec compliant NFTs (cryptopunks, cryptokitties, ethrock, and others?)
standard: NFTStandards | string;
};
contract: string;
standard: NFTStandard;
currencyId: CryptoCurrencyIds;
metadata?: NFTMetadata;
};

@@ -31,3 +66,3 @@

*/
export type NFTRaw = Omit<NFT, "amount"> & {
export type ProtoNFTRaw = Omit<ProtoNFT, "amount"> & {
amount: string;

@@ -39,3 +74,5 @@ };

*/
export type NFTMetadataLinksProviders = "opensea" | "rarible" | "etherscan";
export type NFT = Omit<ProtoNFT, "metadata"> & {
metadata: NFTMetadata;
};

@@ -45,2 +82,7 @@ /**

*/
export type NFTMetadataLinksProviders = "opensea" | "rarible" | "explorer";
/**
*
*/
export type NFTMetadataResponse = {

@@ -53,3 +95,3 @@ status: 200 | 404 | 500;

nftName: string | null;
media: string | null;
medias: NFTMedias;
description: string | null;

@@ -60,1 +102,20 @@ properties: Array<Record<"key" | "value", string>>;

};
/**
*
*/
export type NFTCollectionMetadataResponse = {
status: 200 | 404 | 500;
result?: {
contract: string;
tokenName: string | null;
} | null;
};
/**
*
*/
export type FloorPrice = {
ticker: string;
value: number;
};
import type { BigNumber } from "bignumber.js";
import { NFTStandards } from "./nft";
import { NFTStandard } from "./nft";

@@ -75,3 +75,3 @@ /**

// the specification used for the transaction's event
standard?: NFTStandards | string;
standard?: NFTStandard | string;
// address of an account/contract that is approved to make the transfer

@@ -117,3 +117,3 @@ operator?: string;

// --------------------------------------------- properties related to NFTs
standard?: NFTStandards | string;
standard?: NFTStandard | string;
operator?: string;

@@ -133,1 +133,19 @@ contract?: string;

};
/**
*
*/
export type DailyOperationsSection = {
day: Date;
data: Operation[];
};
/**
*
*/
export type DailyOperations = {
// operations grouped by day
sections: DailyOperationsSection[];
// Is the sections complete? means there is no more operations to pull
completed: boolean;
};

@@ -16,2 +16,6 @@ /**

};
/**
*
*/
export type SyncConfig = {

@@ -18,0 +22,0 @@ paginationConfig: PaginationConfig;

@@ -1,3 +0,2 @@

import type { BigNumber } from "bignumber.js";
import type { AccountLike, AccountLikeArray } from "./account";
import type { AccountLike, AccountLikeArray, GranularityId } from "./account";
import type {

@@ -13,3 +12,3 @@ CryptoCurrency,

date: Date;
value: BigNumber;
value: number;
};

@@ -28,7 +27,5 @@ /**

*/
export type BalanceHistoryWithCountervalue = Array<{
date: Date;
value: BigNumber;
countervalue: BigNumber;
}>;
export type BalanceHistoryWithCountervalue = (BalanceHistoryData & {
countervalue: number | null | undefined;
})[];

@@ -39,5 +36,5 @@ /**

export type ValueChange = {
percentage: BigNumber | null | undefined;
percentage: number | null | undefined;
// value from 0 to 1. not defined if not meaningful
value: BigNumber; // delta of change
value: number; // delta of change
};

@@ -51,4 +48,4 @@

countervalueAvailable: boolean;
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
cryptoChange: ValueChange;

@@ -68,2 +65,3 @@ // how much the account changes. value is in the account currency

cryptoChange: ValueChange;
range: PortfolioRange;
// how much the account changes. value is in the account currency

@@ -84,4 +82,4 @@ countervalueChange: ValueChange; // calculates the ROI. value in the countervalue unit.

histories: BalanceHistoryWithCountervalue[];
countervalueReceiveSum: BigNumber;
countervalueSendSum: BigNumber;
countervalueReceiveSum: number;
countervalueSendSum: number;
countervalueChange: ValueChange; // calculates the ROI. value in the countervalue unit.

@@ -94,7 +92,6 @@ };

export type PortfolioRangeConfig = {
count: number;
granularityId: "HOUR" | "DAY" | "WEEK";
// only supported here atm
count?: number;
granularityId: GranularityId;
startOf: (arg0: Date) => Date;
increment: number;
increment: number; // FIXME it should be a Date=>Date
};

@@ -105,3 +102,3 @@

*/
export type PortfolioRange = "year" | "month" | "week" | "day";
export type PortfolioRange = "all" | "year" | "month" | "week" | "day";

@@ -115,13 +112,13 @@ /**

// a sorted list of assets with data
list: Array<{
list: {
currency: CryptoCurrency | TokenCurrency;
distribution: number;
// % of the total (normalized in 0-1)
amount: BigNumber;
countervalue: BigNumber; // countervalue of the amount that was calculated based of the rate provided
}>;
amount: number;
countervalue: number; // countervalue of the amount that was calculated based of the rate provided
}[];
// number of accounts to show first (before the see all)
showFirst: number;
// sum of all countervalues
sum: BigNumber;
sum: number;
};

@@ -8,50 +8,2 @@ import type { BigNumber } from "bignumber.js";

*/
export type BitcoinInput = {
address: string | null | undefined;
value: BigNumber | null | undefined;
previousTxHash: string | null | undefined;
previousOutputIndex: number;
};
/**
*
*/
export type BitcoinInputRaw = [
string | null | undefined,
string | null | undefined,
string | null | undefined,
number
];
/**
*
*/
export type BitcoinOutput = {
hash: string;
outputIndex: number;
blockHeight: number | null | undefined;
address: string | null | undefined;
path: string | null | undefined; // DEPRECATED - used only by legacy libcore implementation
value: BigNumber;
rbf: boolean;
isChange: boolean;
};
/**
*
*/
export type BitcoinOutputRaw = [
string,
number,
number | null | undefined,
string | null | undefined,
string | null | undefined,
string,
number, // rbf 0/1 for compression
number
];
/**
*
*/
export type SignedOperation = {

@@ -160,3 +112,3 @@ // prepared version of Operation before it's even broadcasted

*/
export type TransactionStatus = {
export type TransactionStatusCommon = {
// potential error for each (user) field of the transaction

@@ -174,4 +126,2 @@ errors: Record<string, Error>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInput[];
txOutputs?: BitcoinOutput[];
};

@@ -181,3 +131,3 @@ /**

*/
export type TransactionStatusRaw = {
export type TransactionStatusCommonRaw = {
errors: Record<string, string>;

@@ -190,4 +140,2 @@ warnings: Record<string, string>;

recipientIsReadOnly?: boolean;
txInputs?: BitcoinInputRaw[];
txOutputs?: BitcoinOutputRaw[];
};

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 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