cookietrack-types
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -115,11 +115,29 @@ /*! | ||
} | ||
export interface ChainTokenData { | ||
tokens: TokenData[]; | ||
export interface BaseChainTokenData { | ||
logos: LogoData[]; | ||
blacklist: string[]; | ||
} | ||
export interface ChainTokenData extends BaseChainTokenData { | ||
tokens: TokenData[]; | ||
blacklist: Address[]; | ||
} | ||
export interface SolChainTokenData extends BaseChainTokenData { | ||
tokens: SolTokenData[]; | ||
blacklist: SolAddress[]; | ||
} | ||
export interface TerraChainTokenData extends BaseChainTokenData { | ||
tokens: TerraTokenData[]; | ||
blacklist: TerraAddress[]; | ||
} | ||
export interface TokenData { | ||
address: string; | ||
address: Address; | ||
symbol: string; | ||
} | ||
export interface SolTokenData { | ||
address: SolAddress; | ||
symbol: string; | ||
} | ||
export interface TerraTokenData { | ||
address: TerraAddress; | ||
symbol: string; | ||
} | ||
export interface LogoData { | ||
@@ -126,0 +144,0 @@ symbol: string; |
{ | ||
"name": "cookietrack-types", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Common Typings for CookieTrack.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -166,11 +166,29 @@ /*! | ||
// Chain Token Data Interface: | ||
export interface ChainTokenData { | ||
tokens: TokenData[] | ||
export interface BaseChainTokenData { | ||
logos: LogoData[] | ||
blacklist: string[] | ||
} | ||
export interface ChainTokenData extends BaseChainTokenData { | ||
tokens: TokenData[] | ||
blacklist: Address[] | ||
} | ||
export interface SolChainTokenData extends BaseChainTokenData { | ||
tokens: SolTokenData[] | ||
blacklist: SolAddress[] | ||
} | ||
export interface TerraChainTokenData extends BaseChainTokenData { | ||
tokens: TerraTokenData[] | ||
blacklist: TerraAddress[] | ||
} | ||
export interface TokenData { | ||
address: string | ||
address: Address | ||
symbol: string | ||
} | ||
export interface SolTokenData { | ||
address: SolAddress | ||
symbol: string | ||
} | ||
export interface TerraTokenData { | ||
address: TerraAddress | ||
symbol: string | ||
} | ||
export interface LogoData { | ||
@@ -177,0 +195,0 @@ symbol: string |
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
13710
391