@collabland/chain
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -37,1 +37,3 @@ export * from './account-id'; | ||
export declare type CAIPIdType<T extends CAIPIdParams> = T extends AssetIdParams ? AssetId : T extends AssetTypeParams ? AssetType : T extends AccountIdParams ? AccountId : T extends ChainIdParams ? ChainId : T extends AssetNameParams ? AssetName : never; | ||
export declare type AssetParams = AssetIdParams | AssetTypeParams; | ||
export declare type Asset = AssetId | AssetType; |
@@ -15,3 +15,3 @@ import { AssetName, AssetTypeParams } from './caip'; | ||
*/ | ||
readonly chainType: ChainType; | ||
readonly chainType: ChainType | string; | ||
/** | ||
@@ -18,0 +18,0 @@ * Native currency for the chain |
@@ -8,2 +8,3 @@ import { AssetNameParams } from './caip'; | ||
evm = "evm", | ||
eluvio = "eluvio", | ||
near = "near", | ||
@@ -10,0 +11,0 @@ flow = "flow", |
@@ -16,2 +16,3 @@ "use strict"; | ||
ChainType["evm"] = "evm"; | ||
ChainType["eluvio"] = "eluvio"; | ||
ChainType["near"] = "near"; | ||
@@ -18,0 +19,0 @@ ChainType["flow"] = "flow"; |
{ | ||
"name": "@collabland/chain", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "CollabLand Ethereum Integration", | ||
@@ -34,3 +34,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@collabland/common": "^0.21.3", | ||
"@collabland/common": "^0.21.4", | ||
"tslib": "^2.0.0" | ||
@@ -47,3 +47,3 @@ }, | ||
"author": "Abridged, Inc.", | ||
"gitHead": "77721a7f8dcfae590a3781afd2370da819f01ee9" | ||
"gitHead": "a0217017c9644657fb9891ebfdbe727830271667" | ||
} |
@@ -136,1 +136,4 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
: never; | ||
export type AssetParams = AssetIdParams | AssetTypeParams; | ||
export type Asset = AssetId | AssetType; |
@@ -36,3 +36,3 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
*/ | ||
readonly chainType: ChainType; | ||
readonly chainType: ChainType | string; | ||
@@ -39,0 +39,0 @@ /** |
@@ -14,2 +14,3 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
evm = 'evm', | ||
eluvio = 'eluvio', | ||
near = 'near', | ||
@@ -16,0 +17,0 @@ flow = 'flow', |
Sorry, the diff of this file is not supported yet
113807
2946
Updated@collabland/common@^0.21.4