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

@swapkit/helpers

Package Overview
Dependencies
Maintainers
2
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swapkit/helpers - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

14

package.json

@@ -11,8 +11,8 @@ {

"devDependencies": {
"@swapkit/toolbox-cosmos": "1.0.7",
"@swapkit/toolbox-evm": "1.1.2",
"@swapkit/toolbox-solana": "1.0.7",
"@swapkit/toolbox-radix": "1.0.7",
"@swapkit/toolbox-substrate": "1.1.2",
"@swapkit/toolbox-utxo": "1.0.7"
"@swapkit/toolbox-cosmos": "1.0.8",
"@swapkit/toolbox-evm": "1.1.3",
"@swapkit/toolbox-solana": "1.0.8",
"@swapkit/toolbox-radix": "1.0.8",
"@swapkit/toolbox-substrate": "1.1.3",
"@swapkit/toolbox-utxo": "1.0.8"
},

@@ -42,3 +42,3 @@ "files": [

"types": "./src/index.ts",
"version": "1.1.2"
"version": "1.1.3"
}

@@ -174,3 +174,3 @@ import { AssetValue } from "../modules/assetValue.ts";

case Chain.Maya:
return { identifier: `${assetString}.CACAO`, decimal: BaseDecimal[assetString] };
return { identifier: `${assetString}.CACAO`, decimal: 10 };
case Chain.Radix:

@@ -177,0 +177,0 @@ return { identifier: `${Chain.Radix}.XRD`, decimal: BaseDecimal[assetString] };

@@ -570,3 +570,3 @@ import { describe, expect, test } from "bun:test";

chain: Chain.Maya,
decimal: BaseDecimal.MAYA,
decimal: 10,
isGasAsset: true,

@@ -573,0 +573,0 @@ isSynthetic: false,

@@ -154,3 +154,3 @@ import { red, yellow } from "picocolors";

: isSynthetic
? createSyntheticAssetValue(identifier, parsedValue)
? createSyntheticAssetValue(identifier, adjustedValue)
: new AssetValue({ tax, decimal, identifier, value: adjustedValue });

@@ -157,0 +157,0 @@

@@ -106,3 +106,3 @@ import { ExplorerUrl, RPCUrl } from "./network";

MATIC = 18,
MAYA = 10,
MAYA = 8,
OP = 18,

@@ -109,0 +109,0 @@ SOL = 9,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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