@portkey/types
Advanced tools
Comparing version 2.15.11-alpha.0 to 2.15.11
@@ -1,2 +0,2 @@ | ||
import { SeedTypeEnum } from './assets'; | ||
import { IBaseNFTType } from './assets'; | ||
import { ChainId } from './chain'; | ||
@@ -6,6 +6,3 @@ export declare enum TransactionEnum { | ||
CROSS_CHAIN_TRANSFER = "CrossChainTransfer", | ||
CLAIM_TOKEN = "ClaimToken", | ||
TRANSFER_RED_PACKET = "TransferRedPacket", | ||
CROSS_CHAIN_RECEIVE = "ReleaseToken", | ||
SWAP = "SwapExactTokensForTokens" | ||
CLAIM_TOKEN = "ClaimToken" | ||
} | ||
@@ -20,4 +17,3 @@ export type TransactionFees = { | ||
export type ActivityItemType = { | ||
chainId: ChainId; | ||
transactionType: TransactionEnum; | ||
transactionType: TransactionTypes; | ||
transactionName?: string; | ||
@@ -39,33 +35,7 @@ from: string; | ||
priceInUsd?: string; | ||
currentPriceInUsd?: string; | ||
currentTxPriceInUsd?: string; | ||
nftInfo?: NftInfo; | ||
nftInfo?: IBaseNFTType; | ||
transactionFees: TransactionFees[]; | ||
listIcon?: string; | ||
isDelegated?: boolean; | ||
isSystem?: boolean; | ||
operations?: TDappOperations[]; | ||
dappName?: string; | ||
dappIcon?: string; | ||
fromChainIdUpdated?: string; | ||
toChainIdUpdated?: string; | ||
fromChainIcon?: string; | ||
toChainIcon?: string; | ||
sourceIcon?: string; | ||
statusIcon?: string; | ||
}; | ||
export type TDappOperations = { | ||
symbol: string; | ||
amount: string; | ||
decimals: string; | ||
icon?: string; | ||
isReceived: true; | ||
nftInfo?: NftInfo; | ||
}; | ||
export type NftInfo = { | ||
imageUrl: string; | ||
alias: string; | ||
nftId: string; | ||
isSeed?: boolean; | ||
seedType?: SeedTypeEnum; | ||
}; |
@@ -9,5 +9,2 @@ "use strict"; | ||
TransactionEnum["CLAIM_TOKEN"] = "ClaimToken"; | ||
TransactionEnum["TRANSFER_RED_PACKET"] = "TransferRedPacket"; | ||
TransactionEnum["CROSS_CHAIN_RECEIVE"] = "ReleaseToken"; | ||
TransactionEnum["SWAP"] = "SwapExactTokensForTokens"; | ||
})(TransactionEnum = exports.TransactionEnum || (exports.TransactionEnum = {})); |
@@ -31,6 +31,2 @@ export interface ITokenInfoType { | ||
seedType: SeedTypeEnum; | ||
tokenName?: string; | ||
chainId: string; | ||
displayChainName?: string; | ||
chainImageUrl?: string; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { SeedTypeEnum } from './assets.js'; | ||
import { IBaseNFTType } from './assets.js'; | ||
import { ChainId } from './chain.js'; | ||
@@ -6,6 +6,3 @@ export declare enum TransactionEnum { | ||
CROSS_CHAIN_TRANSFER = "CrossChainTransfer", | ||
CLAIM_TOKEN = "ClaimToken", | ||
TRANSFER_RED_PACKET = "TransferRedPacket", | ||
CROSS_CHAIN_RECEIVE = "ReleaseToken", | ||
SWAP = "SwapExactTokensForTokens" | ||
CLAIM_TOKEN = "ClaimToken" | ||
} | ||
@@ -20,4 +17,3 @@ export type TransactionFees = { | ||
export type ActivityItemType = { | ||
chainId: ChainId; | ||
transactionType: TransactionEnum; | ||
transactionType: TransactionTypes; | ||
transactionName?: string; | ||
@@ -39,33 +35,7 @@ from: string; | ||
priceInUsd?: string; | ||
currentPriceInUsd?: string; | ||
currentTxPriceInUsd?: string; | ||
nftInfo?: NftInfo; | ||
nftInfo?: IBaseNFTType; | ||
transactionFees: TransactionFees[]; | ||
listIcon?: string; | ||
isDelegated?: boolean; | ||
isSystem?: boolean; | ||
operations?: TDappOperations[]; | ||
dappName?: string; | ||
dappIcon?: string; | ||
fromChainIdUpdated?: string; | ||
toChainIdUpdated?: string; | ||
fromChainIcon?: string; | ||
toChainIcon?: string; | ||
sourceIcon?: string; | ||
statusIcon?: string; | ||
}; | ||
export type TDappOperations = { | ||
symbol: string; | ||
amount: string; | ||
decimals: string; | ||
icon?: string; | ||
isReceived: true; | ||
nftInfo?: NftInfo; | ||
}; | ||
export type NftInfo = { | ||
imageUrl: string; | ||
alias: string; | ||
nftId: string; | ||
isSeed?: boolean; | ||
seedType?: SeedTypeEnum; | ||
}; |
@@ -6,5 +6,2 @@ export var TransactionEnum; | ||
TransactionEnum["CLAIM_TOKEN"] = "ClaimToken"; | ||
TransactionEnum["TRANSFER_RED_PACKET"] = "TransferRedPacket"; | ||
TransactionEnum["CROSS_CHAIN_RECEIVE"] = "ReleaseToken"; | ||
TransactionEnum["SWAP"] = "SwapExactTokensForTokens"; | ||
})(TransactionEnum || (TransactionEnum = {})); |
@@ -31,6 +31,2 @@ export interface ITokenInfoType { | ||
seedType: SeedTypeEnum; | ||
tokenName?: string; | ||
chainId: string; | ||
displayChainName?: string; | ||
chainImageUrl?: string; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { SeedTypeEnum } from './assets'; | ||
import { IBaseNFTType } from './assets'; | ||
import { ChainId } from './chain'; | ||
@@ -6,6 +6,3 @@ export declare enum TransactionEnum { | ||
CROSS_CHAIN_TRANSFER = "CrossChainTransfer", | ||
CLAIM_TOKEN = "ClaimToken", | ||
TRANSFER_RED_PACKET = "TransferRedPacket", | ||
CROSS_CHAIN_RECEIVE = "ReleaseToken", | ||
SWAP = "SwapExactTokensForTokens" | ||
CLAIM_TOKEN = "ClaimToken" | ||
} | ||
@@ -20,4 +17,3 @@ export type TransactionFees = { | ||
export type ActivityItemType = { | ||
chainId: ChainId; | ||
transactionType: TransactionEnum; | ||
transactionType: TransactionTypes; | ||
transactionName?: string; | ||
@@ -39,34 +35,8 @@ from: string; | ||
priceInUsd?: string; | ||
currentPriceInUsd?: string; | ||
currentTxPriceInUsd?: string; | ||
nftInfo?: NftInfo; | ||
nftInfo?: IBaseNFTType; | ||
transactionFees: TransactionFees[]; | ||
listIcon?: string; | ||
isDelegated?: boolean; | ||
isSystem?: boolean; | ||
operations?: TDappOperations[]; | ||
dappName?: string; | ||
dappIcon?: string; | ||
fromChainIdUpdated?: string; | ||
toChainIdUpdated?: string; | ||
fromChainIcon?: string; | ||
toChainIcon?: string; | ||
sourceIcon?: string; | ||
statusIcon?: string; | ||
}; | ||
export type TDappOperations = { | ||
symbol: string; | ||
amount: string; | ||
decimals: string; | ||
icon?: string; | ||
isReceived: true; | ||
nftInfo?: NftInfo; | ||
}; | ||
export type NftInfo = { | ||
imageUrl: string; | ||
alias: string; | ||
nftId: string; | ||
isSeed?: boolean; | ||
seedType?: SeedTypeEnum; | ||
}; | ||
//# sourceMappingURL=activity.d.ts.map |
@@ -31,7 +31,3 @@ export interface ITokenInfoType { | ||
seedType: SeedTypeEnum; | ||
tokenName?: string; | ||
chainId: string; | ||
displayChainName?: string; | ||
chainImageUrl?: string; | ||
} | ||
//# sourceMappingURL=assets.d.ts.map |
{ | ||
"name": "@portkey/types", | ||
"version": "2.15.11-alpha.0", | ||
"version": "2.15.11", | ||
"description": "", | ||
@@ -45,3 +45,3 @@ "main": "./dist/commonjs/index.js", | ||
}, | ||
"gitHead": "b942c3e783de04bf3dfed9431eb222643b7f2404" | ||
"gitHead": "c036f678e678fd9c451a7e704d671defaa9d0fbf" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
0
68709
1586