@rarible/types
Advanced tools
Comparing version 0.10.0-alpha.44 to 0.10.0-alpha.45
@@ -34,6 +34,7 @@ export declare enum BlockchainLayer1Enum { | ||
OASYS = "OASYS", | ||
SAAKURU = "SAAKURU" | ||
SAAKURU = "SAAKURU", | ||
ALEPHZERO = "ALEPHZERO" | ||
} | ||
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, BlockchainEnum.LISK, BlockchainEnum.OASYS, BlockchainEnum.SAAKURU]; | ||
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, BlockchainEnum.OASYS, BlockchainEnum.SAAKURU, BlockchainEnum.ALEPHZERO]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -67,2 +68,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly TEZOS: BlockchainLayer1Enum.TEZOS; | ||
readonly ALEPHZERO: BlockchainLayer1Enum.ETHEREUM; | ||
}; | ||
@@ -69,0 +71,0 @@ export type L1BlockchainByBlockchain = typeof L1BlockchainByBlockchainDictionary; |
@@ -40,2 +40,3 @@ "use strict"; | ||
BlockchainEnum["SAAKURU"] = "SAAKURU"; | ||
BlockchainEnum["ALEPHZERO"] = "ALEPHZERO"; | ||
})(BlockchainEnum || (exports.BlockchainEnum = BlockchainEnum = {})); | ||
@@ -64,2 +65,3 @@ exports.blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.SAAKURU, | ||
BlockchainEnum.ALEPHZERO, | ||
]; | ||
@@ -96,2 +98,3 @@ function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.TEZOS]: BlockchainLayer1Enum.TEZOS, | ||
[BlockchainEnum.ALEPHZERO]: BlockchainLayer1Enum.ETHEREUM, | ||
}; |
@@ -34,6 +34,7 @@ export declare enum BlockchainLayer1Enum { | ||
OASYS = "OASYS", | ||
SAAKURU = "SAAKURU" | ||
SAAKURU = "SAAKURU", | ||
ALEPHZERO = "ALEPHZERO" | ||
} | ||
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, BlockchainEnum.LISK, BlockchainEnum.OASYS, BlockchainEnum.SAAKURU]; | ||
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, BlockchainEnum.OASYS, BlockchainEnum.SAAKURU, BlockchainEnum.ALEPHZERO]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -67,2 +68,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly TEZOS: BlockchainLayer1Enum.TEZOS; | ||
readonly ALEPHZERO: BlockchainLayer1Enum.ETHEREUM; | ||
}; | ||
@@ -69,0 +71,0 @@ export type L1BlockchainByBlockchain = typeof L1BlockchainByBlockchainDictionary; |
@@ -37,2 +37,3 @@ export var BlockchainLayer1Enum; | ||
BlockchainEnum["SAAKURU"] = "SAAKURU"; | ||
BlockchainEnum["ALEPHZERO"] = "ALEPHZERO"; | ||
})(BlockchainEnum || (BlockchainEnum = {})); | ||
@@ -61,2 +62,3 @@ export const blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.SAAKURU, | ||
BlockchainEnum.ALEPHZERO, | ||
]; | ||
@@ -92,2 +94,3 @@ export function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.TEZOS]: BlockchainLayer1Enum.TEZOS, | ||
[BlockchainEnum.ALEPHZERO]: BlockchainLayer1Enum.ETHEREUM, | ||
}; |
{ | ||
"name": "@rarible/types", | ||
"version": "0.10.0-alpha.44", | ||
"version": "0.10.0-alpha.45", | ||
"keywords": [ | ||
@@ -54,3 +54,3 @@ "rarible", | ||
"dependencies": { | ||
"@rarible/utils": "^0.10.0-alpha.40" | ||
"@rarible/utils": "^0.10.0-alpha.45" | ||
}, | ||
@@ -70,3 +70,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "e2764fc74a641ab208dc22ef4c77e40e3bc063c6" | ||
"gitHead": "0d38ec4c0f26b6065816428ca9c80727560526b1" | ||
} |
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
248447
3455