Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thorswap-lib/swapkit-entities

Package Overview
Dependencies
Maintainers
3
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thorswap-lib/swapkit-entities - npm Package Compare versions

Comparing version 1.0.0-rc.15 to 1.0.0-rc.16

12

package.json

@@ -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));
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc