@rarible/types
Advanced tools
Comparing version 0.10.0-alpha.19 to 0.10.0-alpha.20
@@ -17,6 +17,7 @@ export declare enum BlockchainLayer1Enum { | ||
ZKSYNC = "ZKSYNC", | ||
RARI = "RARI" | ||
RARI = "RARI", | ||
ASTARZKEVM = "ASTARZKEVM" | ||
} | ||
export declare const blockchains: BlockchainEnum[]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -31,2 +32,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly ZKSYNC: BlockchainLayer1Enum.ETHEREUM; | ||
readonly ASTARZKEVM: BlockchainLayer1Enum.ETHEREUM; | ||
readonly FLOW: BlockchainLayer1Enum.FLOW; | ||
@@ -33,0 +35,0 @@ readonly SOLANA: BlockchainLayer1Enum.SOLANA; |
@@ -23,2 +23,3 @@ "use strict"; | ||
BlockchainEnum["RARI"] = "RARI"; | ||
BlockchainEnum["ASTARZKEVM"] = "ASTARZKEVM"; | ||
})(BlockchainEnum = exports.BlockchainEnum || (exports.BlockchainEnum = {})); | ||
@@ -33,2 +34,3 @@ exports.blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.RARI, | ||
BlockchainEnum.ASTARZKEVM, | ||
]; | ||
@@ -46,2 +48,3 @@ function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.ZKSYNC]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.ASTARZKEVM]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.FLOW]: BlockchainLayer1Enum.FLOW, | ||
@@ -48,0 +51,0 @@ [BlockchainEnum.SOLANA]: BlockchainLayer1Enum.SOLANA, |
@@ -17,6 +17,7 @@ export declare enum BlockchainLayer1Enum { | ||
ZKSYNC = "ZKSYNC", | ||
RARI = "RARI" | ||
RARI = "RARI", | ||
ASTARZKEVM = "ASTARZKEVM" | ||
} | ||
export declare const blockchains: BlockchainEnum[]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI]; | ||
export declare const evmBlockchains: readonly [BlockchainEnum.POLYGON, BlockchainEnum.IMMUTABLEX, BlockchainEnum.POLYGON, BlockchainEnum.MANTLE, BlockchainEnum.ZKSYNC, BlockchainEnum.RARI, BlockchainEnum.ASTARZKEVM]; | ||
export type EVMBlockchain = (typeof evmBlockchains)[number]; | ||
@@ -31,2 +32,3 @@ export declare function isEVMBlockchain(blockchain: string): blockchain is EVMBlockchain; | ||
readonly ZKSYNC: BlockchainLayer1Enum.ETHEREUM; | ||
readonly ASTARZKEVM: BlockchainLayer1Enum.ETHEREUM; | ||
readonly FLOW: BlockchainLayer1Enum.FLOW; | ||
@@ -33,0 +35,0 @@ readonly SOLANA: BlockchainLayer1Enum.SOLANA; |
@@ -20,2 +20,3 @@ export var BlockchainLayer1Enum; | ||
BlockchainEnum["RARI"] = "RARI"; | ||
BlockchainEnum["ASTARZKEVM"] = "ASTARZKEVM"; | ||
})(BlockchainEnum || (BlockchainEnum = {})); | ||
@@ -30,2 +31,3 @@ export const blockchains = Object.values(BlockchainEnum); | ||
BlockchainEnum.RARI, | ||
BlockchainEnum.ASTARZKEVM, | ||
]; | ||
@@ -42,2 +44,3 @@ export function isEVMBlockchain(blockchain) { | ||
[BlockchainEnum.ZKSYNC]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.ASTARZKEVM]: BlockchainLayer1Enum.ETHEREUM, | ||
[BlockchainEnum.FLOW]: BlockchainLayer1Enum.FLOW, | ||
@@ -44,0 +47,0 @@ [BlockchainEnum.SOLANA]: BlockchainLayer1Enum.SOLANA, |
{ | ||
"name": "@rarible/types", | ||
"version": "0.10.0-alpha.19", | ||
"version": "0.10.0-alpha.20", | ||
"keywords": [ | ||
@@ -27,3 +27,3 @@ "rarible", | ||
"dependencies": { | ||
"@rarible/utils": "^0.10.0-alpha.19" | ||
"@rarible/utils": "^0.10.0-alpha.20" | ||
}, | ||
@@ -37,3 +37,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "92c75f09c072d21f3d833036b8dfbb82f7628d9e" | ||
"gitHead": "e27ea4c60e9371538614fa40a95543206a2dde92" | ||
} |
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
193827
2564