@thorswap-lib/swapkit-entities
Advanced tools
Comparing version 1.0.0-rc.15 to 1.0.0-rc.16
@@ -5,11 +5,11 @@ { | ||
"tiny-invariant": "1.3.1", | ||
"@swapkit/types": "1.0.0-rc.15" | ||
"@swapkit/types": "1.0.0-rc.16" | ||
}, | ||
"description": "SwapKit Lib swapkit-entities", | ||
"devDependencies": { | ||
"@vitest/coverage-istanbul": "0.34.4", | ||
"@vitest/coverage-istanbul": "0.34.6", | ||
"bignumber.js": "9.1.2", | ||
"vite": "4.4.9", | ||
"vitest": "0.34.4", | ||
"@internal/config": "0.0.0-rc.1" | ||
"vite": "4.5.0", | ||
"vitest": "0.34.6", | ||
"@internal/config": "0.0.0-rc.2" | ||
}, | ||
@@ -45,3 +45,3 @@ "eslintConfig": { | ||
"types": "./dist/index.d.ts", | ||
"version": "1.0.0-rc.15", | ||
"version": "1.0.0-rc.16", | ||
"scripts": { | ||
@@ -48,0 +48,0 @@ "build": "vite build", |
@@ -110,13 +110,13 @@ import { Chain } from '@swapkit/types'; | ||
: [Chain.Dogecoin].includes(chain) | ||
? // 1 DOGE | ||
100000001 | ||
: [Chain.Avalanche, Chain.Ethereum, Chain.BinanceSmartChain].includes(chain) | ||
? // 10 gwei | ||
10 * 10 ** 9 | ||
: chain === Chain.THORChain | ||
? // 0 RUNE | ||
0 | ||
: 1; | ||
? // 1 DOGE | ||
100000001 | ||
: [Chain.Avalanche, Chain.Ethereum, Chain.BinanceSmartChain].includes(chain) | ||
? // 10 gwei | ||
10 * 10 ** 9 | ||
: chain === Chain.THORChain | ||
? // 0 RUNE | ||
0 | ||
: 1; | ||
return new AssetAmount(asset, Amount.fromBaseAmount(minAmount, asset.decimal)); | ||
}; |
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
92430
+ Added@swapkit/types@1.0.0-rc.16(transitive)
- Removed@swapkit/types@1.0.0-rc.15(transitive)
Updated@swapkit/types@1.0.0-rc.16