depay-blockchain-token
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -5,6 +5,6 @@ 'use strict'; | ||
var depayBlockchainCall = require('depay-blockchain-call'); | ||
var ethers = require('ethers'); | ||
var depayBlockchainCall = require('depay-blockchain-call'); | ||
let ERC20 = [ | ||
var ERC20 = [ | ||
{ | ||
@@ -145,2 +145,3 @@ constant: true, | ||
method: 'decimals', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -153,2 +154,3 @@ } | ||
method: 'symbol', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -161,2 +163,3 @@ } | ||
method: 'name', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -163,0 +166,0 @@ } |
@@ -0,5 +1,5 @@ | ||
import { call } from 'depay-blockchain-call'; | ||
import { ethers } from 'ethers'; | ||
import { call } from 'depay-blockchain-call'; | ||
let ERC20 = [ | ||
var ERC20 = [ | ||
{ | ||
@@ -140,2 +140,3 @@ constant: true, | ||
method: 'decimals', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -148,2 +149,3 @@ } | ||
method: 'symbol', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -156,2 +158,3 @@ } | ||
method: 'name', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -158,0 +161,0 @@ } |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ethers'), require('depay-blockchain-call')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'ethers', 'depay-blockchain-call'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BlockchainToken = {}, global.ethers, global.BlockchainCall)); | ||
}(this, (function (exports, ethers, depayBlockchainCall) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('depay-blockchain-call'), require('ethers')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'depay-blockchain-call', 'ethers'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.BlockchainToken = {}, global.BlockchainCall, global.ethers)); | ||
}(this, (function (exports, depayBlockchainCall, ethers) { 'use strict'; | ||
let ERC20 = [ | ||
var ERC20 = [ | ||
{ | ||
@@ -143,2 +143,3 @@ constant: true, | ||
method: 'decimals', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -151,2 +152,3 @@ } | ||
method: 'symbol', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -159,2 +161,3 @@ } | ||
method: 'name', | ||
cache: 86400000, // 1 day | ||
}) | ||
@@ -161,0 +164,0 @@ } |
{ | ||
"name": "depay-blockchain-token", | ||
"moduleName": "BlockchainToken", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "JavaScript library providing basic functionalities to work with tokens.", | ||
@@ -35,3 +35,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"depay-blockchain-call": "^1.0.0", | ||
"depay-blockchain-call": "^1.1.1", | ||
"ethers": "^5.3.1" | ||
@@ -38,0 +38,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15792
469
Updateddepay-blockchain-call@^1.1.1