@requestnetwork/currency
Advanced tools
Comparing version 0.6.0 to 0.6.1-next.1434
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
122550
1
103
- Removed@ethersproject/abi@5.0.13(transitive)
- Removed@ethersproject/abstract-provider@5.0.10(transitive)
- Removed@ethersproject/abstract-signer@5.0.14(transitive)
- Removed@ethersproject/address@5.0.11(transitive)
- Removed@ethersproject/base64@5.0.9(transitive)
- Removed@ethersproject/basex@5.0.9(transitive)
- Removed@ethersproject/bignumber@5.0.15(transitive)
- Removed@ethersproject/bytes@5.0.115.7.0(transitive)
- Removed@ethersproject/constants@5.0.10(transitive)
- Removed@ethersproject/contracts@5.0.12(transitive)
- Removed@ethersproject/hash@5.0.12(transitive)
- Removed@ethersproject/hdnode@5.0.10(transitive)
- Removed@ethersproject/json-wallets@5.0.12(transitive)
- Removed@ethersproject/keccak256@5.0.9(transitive)
- Removed@ethersproject/logger@5.0.105.7.0(transitive)
- Removed@ethersproject/networks@5.0.9(transitive)
- Removed@ethersproject/pbkdf2@5.0.9(transitive)
- Removed@ethersproject/properties@5.0.9(transitive)
- Removed@ethersproject/providers@5.0.24(transitive)
- Removed@ethersproject/random@5.0.9(transitive)
- Removed@ethersproject/rlp@5.0.9(transitive)
- Removed@ethersproject/sha2@5.0.9(transitive)
- Removed@ethersproject/signing-key@5.0.11(transitive)
- Removed@ethersproject/solidity@5.0.10(transitive)
- Removed@ethersproject/strings@5.0.10(transitive)
- Removed@ethersproject/transactions@5.0.11(transitive)
- Removed@ethersproject/units@5.0.11(transitive)
- Removed@ethersproject/wallet@5.0.12(transitive)
- Removed@ethersproject/web@5.0.14(transitive)
- Removed@ethersproject/wordlists@5.0.10(transitive)
- Removed@requestnetwork/types@0.33.0(transitive)
- Removed@requestnetwork/utils@0.33.0(transitive)
- Removedacorn@7.1.1(transitive)
- Removedaes-js@3.0.0(transitive)
- Removedbech32@1.1.4(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbip66@1.1.5(transitive)
- Removedbn.js@4.12.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbrowserify-aes@1.2.0(transitive)
- Removedbuffer-xor@1.0.3(transitive)
- Removedcipher-base@1.0.6(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcreate-hmac@1.1.7(transitive)
- Removeddrbg.js@1.0.1(transitive)
- Removedeccrypto@1.1.6(transitive)
- Removedelliptic@6.5.4(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedethers@5.0.32(transitive)
- Removedevents@3.2.0(transitive)
- Removedevp_bytestokey@1.0.3(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedhash-base@3.1.0(transitive)
- Removedhash.js@1.1.31.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjs-sha3@0.5.7(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removednan@2.14.0(transitive)
- Removednode-addon-api@2.0.2(transitive)
- Removednode-gyp-build@4.8.4(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedscrypt-js@3.0.1(transitive)
- Removedsecp256k1@3.7.14.0.2(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedws@7.2.3(transitive)