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

@portkey/types

Package Overview
Dependencies
Maintainers
0
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portkey/types - npm Package Compare versions

Comparing version 2.15.11-alpha.0 to 2.15.11

38

dist/commonjs/activity.d.ts

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

4

package.json
{
"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

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