New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@requestnetwork/currency

Package Overview
Dependencies
Maintainers
6
Versions
609
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.3.0 to 0.4.0

17

CHANGELOG.md

@@ -6,2 +6,19 @@ # Change Log

# 0.4.0 (2021-03-15)
### Bug Fixes
* ERC20 currency case ([#428](https://github.com/RequestNetwork/requestNetwork/issues/428)) ([9f4f131](https://github.com/RequestNetwork/requestNetwork/commit/9f4f13114d32ad30cedee2187052a41f16a8985f))
### Features
* add mph and ausdc tokens to supported tokens ([#423](https://github.com/RequestNetwork/requestNetwork/issues/423)) ([6f8afec](https://github.com/RequestNetwork/requestNetwork/commit/6f8afec5bc5fbbd8b33280808bff47d07e5377f0))
* payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# 0.3.0 (2021-03-03)

@@ -8,0 +25,0 @@

4

dist/erc20/index.js

@@ -30,3 +30,3 @@ "use strict";

if (networks_1.supportedNetworksDetails.hasOwnProperty(network)) {
erc20Token = Object.values(networks_1.supportedNetworksDetails[network]).find(({ address }) => address === currency.value);
erc20Token = Object.values(networks_1.supportedNetworksDetails[network]).find(({ address }) => address.toLowerCase() === currency.value.toLowerCase());
}

@@ -53,3 +53,3 @@ if (erc20Token) {

if (networks_1.supportedNetworks.hasOwnProperty(network)) {
const entry = [...networks_1.supportedNetworks[network].entries()].find(([, obj]) => currency.value === obj.value);
const entry = [...networks_1.supportedNetworks[network].entries()].find(([, obj]) => currency.value.toLowerCase() === obj.value.toLowerCase());
return entry ? entry[0] : null;

@@ -56,0 +56,0 @@ }

{
"name": "@requestnetwork/currency",
"version": "0.3.0",
"version": "0.4.0",
"publishConfig": {

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

"@metamask/contract-metadata": "1.23.0",
"@requestnetwork/types": "0.30.0",
"@requestnetwork/utils": "0.30.0",
"@requestnetwork/types": "0.31.0",
"@requestnetwork/utils": "0.31.0",
"node-dijkstra": "2.5.0"

@@ -66,3 +66,3 @@ },

},
"gitHead": "9d4f4fc7adbf06e1a92b5a4afce46a99b5921b0e"
"gitHead": "07a78b313ce4dc8aefd7c44829b31e275a42a2eb"
}

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