Socket
Socket
Sign inDemoInstall

@swapkit/helpers

Package Overview
Dependencies
Maintainers
0
Versions
204
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.0.1 to 1.0.2

2

package.json

@@ -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

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