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

@requestnetwork/currency

Package Overview
Dependencies
Maintainers
6
Versions
605
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@requestnetwork/currency - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1-next.1434

4

dist/token.js

@@ -22,4 +22,4 @@ "use strict";

try {
const currencyFromSymbol = this.fromSymbol(symbolOrAddress);
return new Token(currencyFromSymbol.value, currencyFromSymbol.type, symbolOrAddress, currencyFromSymbol.network);
const currencyFromSymbol = this.fromSymbol(symbolOrAddress.split('-')[0], symbolOrAddress.split('-')[1]);
return new Token(currencyFromSymbol.value, currencyFromSymbol.type, symbolOrAddress.split('-')[0], currencyFromSymbol.network);
}

@@ -26,0 +26,0 @@ catch (e) {

{
"name": "@requestnetwork/currency",
"version": "0.6.0",
"version": "0.6.1-next.1434+155b6a14",
"publishConfig": {

@@ -44,4 +44,4 @@ "access": "public"

"@metamask/contract-metadata": "1.23.0",
"@requestnetwork/types": "0.33.0",
"@requestnetwork/utils": "0.33.0",
"@requestnetwork/types": "0.33.1-next.1434+155b6a14",
"@requestnetwork/utils": "0.33.1-next.1434+155b6a14",
"node-dijkstra": "2.5.0"

@@ -60,3 +60,3 @@ },

},
"gitHead": "fa444e82f275499d7ad09c0c608722136b9433c3"
"gitHead": "155b6a14b6c26c4297fd02370e6f021898762ee3"
}

Sorry, the diff of this file is not supported yet

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