@ledgerhq/types-live
Advanced tools
Comparing version 6.53.0-spl-tokens-test.0 to 6.53.0
import { BigNumber } from "bignumber.js"; | ||
import type { Observable } from "rxjs"; | ||
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets"; | ||
import type { AccountLike, Account, AccountRaw, TokenAccount, TokenAccountRaw } from "./account"; | ||
import type { AccountLike, Account, AccountRaw } from "./account"; | ||
import type { SignOperationEvent, SignedOperation, TransactionCommon, TransactionStatusCommon } from "./transaction"; | ||
@@ -127,18 +127,2 @@ import type { Operation, OperationExtra, OperationExtraRaw } from "./operation"; | ||
/** | ||
* This function mutates the 'tokenAccountRaw' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the serialization mechanism | ||
* | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
*/ | ||
assignToTokenAccountRaw?: (tokenAccount: TokenAccount, tokenAccountRaw: TokenAccountRaw) => void; | ||
/** | ||
* This function mutates the 'tokenAccount' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the deserialization mechanism | ||
* | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
*/ | ||
assignFromTokenAccountRaw?: (tokenAccountRaw: TokenAccountRaw, tokenAccount: TokenAccount) => void; | ||
/** | ||
* This function mutates the 'account' object to extend it with any extra fields of the coin. | ||
@@ -145,0 +129,0 @@ * For instance bitcoinResources needs to be created. |
@@ -112,2 +112,5 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyEtherlink: DefaultFeature; | ||
currencyZkSync: DefaultFeature; | ||
currencyZkSyncSepolia: DefaultFeature; | ||
currencyMantra: DefaultFeature; | ||
}; | ||
@@ -114,0 +117,0 @@ /** |
@@ -7,3 +7,3 @@ import type { BigNumber } from "bignumber.js"; | ||
*/ | ||
export type OperationType = "IN" | "OUT" | "NONE" | "CREATE" | "REVEAL" | "DELEGATE" | "UNDELEGATE" | "REDELEGATE" | "REWARD" | "FEES" | "FREEZE" | "UNFREEZE" | "WITHDRAW_EXPIRE_UNFREEZE" | "UNDELEGATE_RESOURCE" | "LEGACY_UNFREEZE" | "VOTE" | "REWARD_PAYOUT" | "BOND" | "UNBOND" | "WITHDRAW_UNBONDED" | "SET_CONTROLLER" | "SLASH" | "NOMINATE" | "CHILL" | "APPROVE" | "OPT_IN" | "OPT_OUT" | "LOCK" | "UNLOCK" | "WITHDRAW" | "REVOKE" | "ACTIVATE" | "REGISTER" | "NFT_IN" | "NFT_OUT" | "STAKE" | "UNSTAKE" | "WITHDRAW_UNSTAKED" | "BURN"; | ||
export type OperationType = "IN" | "OUT" | "NONE" | "CREATE" | "REVEAL" | "DELEGATE" | "UNDELEGATE" | "REDELEGATE" | "REWARD" | "FEES" | "FREEZE" | "UNFREEZE" | "WITHDRAW_EXPIRE_UNFREEZE" | "UNDELEGATE_RESOURCE" | "LEGACY_UNFREEZE" | "VOTE" | "REWARD_PAYOUT" | "BOND" | "UNBOND" | "WITHDRAW_UNBONDED" | "SET_CONTROLLER" | "SLASH" | "NOMINATE" | "CHILL" | "APPROVE" | "OPT_IN" | "OPT_OUT" | "LOCK" | "UNLOCK" | "WITHDRAW" | "REVOKE" | "ACTIVATE" | "REGISTER" | "NFT_IN" | "NFT_OUT" | "STAKE" | "UNSTAKE" | "WITHDRAW_UNSTAKED"; | ||
export type OperationExtra = unknown; | ||
@@ -10,0 +10,0 @@ /** |
import { BigNumber } from "bignumber.js"; | ||
import type { Observable } from "rxjs"; | ||
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets"; | ||
import type { AccountLike, Account, AccountRaw, TokenAccount, TokenAccountRaw } from "./account"; | ||
import type { AccountLike, Account, AccountRaw } from "./account"; | ||
import type { SignOperationEvent, SignedOperation, TransactionCommon, TransactionStatusCommon } from "./transaction"; | ||
@@ -127,18 +127,2 @@ import type { Operation, OperationExtra, OperationExtraRaw } from "./operation"; | ||
/** | ||
* This function mutates the 'tokenAccountRaw' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the serialization mechanism | ||
* | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
*/ | ||
assignToTokenAccountRaw?: (tokenAccount: TokenAccount, tokenAccountRaw: TokenAccountRaw) => void; | ||
/** | ||
* This function mutates the 'tokenAccount' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the deserialization mechanism | ||
* | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
*/ | ||
assignFromTokenAccountRaw?: (tokenAccountRaw: TokenAccountRaw, tokenAccount: TokenAccount) => void; | ||
/** | ||
* This function mutates the 'account' object to extend it with any extra fields of the coin. | ||
@@ -145,0 +129,0 @@ * For instance bitcoinResources needs to be created. |
@@ -112,2 +112,5 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyEtherlink: DefaultFeature; | ||
currencyZkSync: DefaultFeature; | ||
currencyZkSyncSepolia: DefaultFeature; | ||
currencyMantra: DefaultFeature; | ||
}; | ||
@@ -114,0 +117,0 @@ /** |
@@ -7,3 +7,3 @@ import type { BigNumber } from "bignumber.js"; | ||
*/ | ||
export type OperationType = "IN" | "OUT" | "NONE" | "CREATE" | "REVEAL" | "DELEGATE" | "UNDELEGATE" | "REDELEGATE" | "REWARD" | "FEES" | "FREEZE" | "UNFREEZE" | "WITHDRAW_EXPIRE_UNFREEZE" | "UNDELEGATE_RESOURCE" | "LEGACY_UNFREEZE" | "VOTE" | "REWARD_PAYOUT" | "BOND" | "UNBOND" | "WITHDRAW_UNBONDED" | "SET_CONTROLLER" | "SLASH" | "NOMINATE" | "CHILL" | "APPROVE" | "OPT_IN" | "OPT_OUT" | "LOCK" | "UNLOCK" | "WITHDRAW" | "REVOKE" | "ACTIVATE" | "REGISTER" | "NFT_IN" | "NFT_OUT" | "STAKE" | "UNSTAKE" | "WITHDRAW_UNSTAKED" | "BURN"; | ||
export type OperationType = "IN" | "OUT" | "NONE" | "CREATE" | "REVEAL" | "DELEGATE" | "UNDELEGATE" | "REDELEGATE" | "REWARD" | "FEES" | "FREEZE" | "UNFREEZE" | "WITHDRAW_EXPIRE_UNFREEZE" | "UNDELEGATE_RESOURCE" | "LEGACY_UNFREEZE" | "VOTE" | "REWARD_PAYOUT" | "BOND" | "UNBOND" | "WITHDRAW_UNBONDED" | "SET_CONTROLLER" | "SLASH" | "NOMINATE" | "CHILL" | "APPROVE" | "OPT_IN" | "OPT_OUT" | "LOCK" | "UNLOCK" | "WITHDRAW" | "REVOKE" | "ACTIVATE" | "REGISTER" | "NFT_IN" | "NFT_OUT" | "STAKE" | "UNSTAKE" | "WITHDRAW_UNSTAKED"; | ||
export type OperationExtra = unknown; | ||
@@ -10,0 +10,0 @@ /** |
{ | ||
"name": "@ledgerhq/types-live", | ||
"version": "6.53.0-spl-tokens-test.0", | ||
"version": "6.53.0", | ||
"description": "Ledger Live main types.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"ts-node": "^10.4.0", | ||
"@ledgerhq/types-cryptoassets": "^7.16.0", | ||
"@ledgerhq/types-cryptoassets": "^7.17.0", | ||
"@ledgerhq/types-devices": "^6.25.3" | ||
@@ -39,0 +39,0 @@ }, |
@@ -9,3 +9,3 @@ // NB this new "bridge" is a re-take of live-desktop bridge ideas | ||
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets"; | ||
import type { AccountLike, Account, AccountRaw, TokenAccount, TokenAccountRaw } from "./account"; | ||
import type { AccountLike, Account, AccountRaw } from "./account"; | ||
import type { | ||
@@ -202,21 +202,2 @@ SignOperationEvent, | ||
/** | ||
* This function mutates the 'tokenAccountRaw' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the serialization mechanism | ||
* | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
*/ | ||
assignToTokenAccountRaw?: (tokenAccount: TokenAccount, tokenAccountRaw: TokenAccountRaw) => void; | ||
/** | ||
* This function mutates the 'tokenAccount' object in-place to add any extra fields that the coin may need to set. | ||
* It is called during the deserialization mechanism | ||
* | ||
* @param {TokenAccountRaw} tokenAccountRaw - The token account in its serialized form. | ||
* @param {TokenAccount} tokenAccount - The original token account object. | ||
*/ | ||
assignFromTokenAccountRaw?: ( | ||
tokenAccountRaw: TokenAccountRaw, | ||
tokenAccount: TokenAccount, | ||
) => void; | ||
/** | ||
* This function mutates the 'account' object to extend it with any extra fields of the coin. | ||
@@ -223,0 +204,0 @@ * For instance bitcoinResources needs to be created. |
@@ -124,2 +124,5 @@ import { ABTestingVariants } from "./ABTesting"; | ||
currencyEtherlink: DefaultFeature; | ||
currencyZkSync: DefaultFeature; | ||
currencyZkSyncSepolia: DefaultFeature; | ||
currencyMantra: DefaultFeature; | ||
}; | ||
@@ -126,0 +129,0 @@ |
@@ -54,5 +54,3 @@ import type { BigNumber } from "bignumber.js"; | ||
| "UNSTAKE" | ||
| "WITHDRAW_UNSTAKED" | ||
// SOLANA | ||
| "BURN"; | ||
| "WITHDRAW_UNSTAKED"; | ||
@@ -59,0 +57,0 @@ export type OperationExtra = unknown; |
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
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
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
0
391254
6269