@rarible/types
Advanced tools
Comparing version 0.10.0-alpha.42 to 0.10.0-alpha.43
@@ -31,6 +31,7 @@ export declare enum BlockchainLayer1Enum { | ||
PALM = "PALM", | ||
ETHERLINK = "ETHERLINK" | ||
ETHERLINK = "ETHERLINK", | ||
LISK = "LISK" | ||
} | ||
export declare const blockchains: BlockchainEnum[]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM, BlockchainEnum.BASE, BlockchainEnum.ARBITRUM, BlockchainEnum.LIGHTLINK, BlockchainEnum.CELO, BlockchainEnum.KROMA, BlockchainEnum.XAI, BlockchainEnum.CHILIZ, BlockchainEnum.MOONBEAM, BlockchainEnum.PALM, BlockchainEnum.ETHERLINK]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM, BlockchainEnum.BASE, BlockchainEnum.ARBITRUM, BlockchainEnum.LIGHTLINK, BlockchainEnum.CELO, BlockchainEnum.KROMA, BlockchainEnum.XAI, BlockchainEnum.CHILIZ, BlockchainEnum.MOONBEAM, BlockchainEnum.PALM, BlockchainEnum.ETHERLINK, BlockchainEnum.LISK]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -56,2 +57,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly ETHERLINK: BlockchainLayer1Enum.ETHEREUM; | ||
readonly LISK: BlockchainLayer1Enum.ETHEREUM; | ||
readonly FLOW: BlockchainLayer1Enum.FLOW; | ||
@@ -58,0 +60,0 @@ readonly SOLANA: BlockchainLayer1Enum.SOLANA; |
@@ -37,2 +37,3 @@ "use strict"; | ||
BlockchainEnum["ETHERLINK"] = "ETHERLINK"; | ||
BlockchainEnum["LISK"] = "LISK"; | ||
})(BlockchainEnum || (exports.BlockchainEnum = BlockchainEnum = {})); | ||
@@ -58,2 +59,3 @@ exports.blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.ETHERLINK, | ||
BlockchainEnum.LISK, | ||
]; | ||
@@ -82,2 +84,3 @@ function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.ETHERLINK]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.LISK]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.FLOW]: BlockchainLayer1Enum.FLOW, | ||
@@ -84,0 +87,0 @@ [BlockchainEnum.SOLANA]: BlockchainLayer1Enum.SOLANA, |
@@ -31,6 +31,7 @@ export declare enum BlockchainLayer1Enum { | ||
PALM = "PALM", | ||
ETHERLINK = "ETHERLINK" | ||
ETHERLINK = "ETHERLINK", | ||
LISK = "LISK" | ||
} | ||
export declare const blockchains: BlockchainEnum[]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM, BlockchainEnum.BASE, BlockchainEnum.ARBITRUM, BlockchainEnum.LIGHTLINK, BlockchainEnum.CELO, BlockchainEnum.KROMA, BlockchainEnum.XAI, BlockchainEnum.CHILIZ, BlockchainEnum.MOONBEAM, BlockchainEnum.PALM, BlockchainEnum.ETHERLINK]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM, BlockchainEnum.BASE, BlockchainEnum.ARBITRUM, BlockchainEnum.LIGHTLINK, BlockchainEnum.CELO, BlockchainEnum.KROMA, BlockchainEnum.XAI, BlockchainEnum.CHILIZ, BlockchainEnum.MOONBEAM, BlockchainEnum.PALM, BlockchainEnum.ETHERLINK, BlockchainEnum.LISK]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -56,2 +57,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly ETHERLINK: BlockchainLayer1Enum.ETHEREUM; | ||
readonly LISK: BlockchainLayer1Enum.ETHEREUM; | ||
readonly FLOW: BlockchainLayer1Enum.FLOW; | ||
@@ -58,0 +60,0 @@ readonly SOLANA: BlockchainLayer1Enum.SOLANA; |
@@ -34,2 +34,3 @@ export var BlockchainLayer1Enum; | ||
BlockchainEnum["ETHERLINK"] = "ETHERLINK"; | ||
BlockchainEnum["LISK"] = "LISK"; | ||
})(BlockchainEnum || (BlockchainEnum = {})); | ||
@@ -55,2 +56,3 @@ export const blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.ETHERLINK, | ||
BlockchainEnum.LISK, | ||
]; | ||
@@ -78,2 +80,3 @@ export function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.ETHERLINK]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.LISK]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.FLOW]: BlockchainLayer1Enum.FLOW, | ||
@@ -80,0 +83,0 @@ [BlockchainEnum.SOLANA]: BlockchainLayer1Enum.SOLANA, |
{ | ||
"name": "@rarible/types", | ||
"version": "0.10.0-alpha.42", | ||
"version": "0.10.0-alpha.43", | ||
"keywords": [ | ||
@@ -69,3 +69,3 @@ "rarible", | ||
}, | ||
"gitHead": "1f85970d9205d261851f104f81ffce0d8fbd43c7" | ||
"gitHead": "d337fbb044a15186a27fcb86c1139b439da22ed7" | ||
} |
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
247043
3423