@swapkit/helpers
Advanced tools
Comparing version 1.0.0-rc.58 to 1.0.0-rc.59
@@ -1019,2 +1019,4 @@ var bt = Object.defineProperty; | ||
return t.set(0); | ||
case o.Cosmos: | ||
return t.set(1e-6); | ||
default: | ||
@@ -1021,0 +1023,0 @@ return t.set(1e-8); |
@@ -45,3 +45,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "1.0.0-rc.58", | ||
"version": "1.0.0-rc.59", | ||
"scripts": { | ||
@@ -48,0 +48,0 @@ "build": "vite build", |
@@ -377,3 +377,3 @@ import { BaseDecimal, Chain } from '@swapkit/types'; | ||
expect(getMinAmountByChain(Chain.Maya).getValue('string')).toBe('0'); | ||
expect(getMinAmountByChain(Chain.Cosmos).getValue('string')).toBe('0'); | ||
expect(getMinAmountByChain(Chain.Cosmos).getValue('string')).toBe('0.000001'); | ||
@@ -380,0 +380,0 @@ expect(getMinAmountByChain(Chain.Bitcoin).getValue('string')).toBe('0.00010001'); |
@@ -189,2 +189,5 @@ import { BaseDecimal, Chain } from '@swapkit/types'; | ||
case Chain.Cosmos: | ||
return asset.set(0.000001); | ||
default: | ||
@@ -191,0 +194,0 @@ return asset.set(0.00000001); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
419875
3920