@swapkit/helpers
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -32,3 +32,3 @@ { | ||
"types": "./src/index.ts", | ||
"version": "1.0.1" | ||
"version": "1.0.2" | ||
} |
@@ -230,3 +230,3 @@ import { | ||
static fromChainOrSignature(assetOrChain: CommonAssetString, value: NumberPrimitives = 0) { | ||
if (assetOrChain in Chain) { | ||
if (Object.values(Chain).includes(assetOrChain as Chain)) { | ||
return AssetValue.from({ chain: assetOrChain as Chain, value }); | ||
@@ -233,0 +233,0 @@ } |
Sorry, the diff of this file is too big to display
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
433037