@toruslabs/ethereum-controllers 6.0.0 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.cjs/index.js
CHANGED
package/dist/lib.esm/index.js
CHANGED
|
@@ -30,4 +30,3 @@ export { erc1155Abi, erc20Abi, erc721Abi, singleBalanceCheckerAbi } from './util
|
|
|
30
30
|
export { ARBITRUM_MAINNET_CHAIN_ID, ARBITRUM_TESTNET_CHAIN_ID, AVALANCHE_MAINNET_CHAIN_ID, AVALANCHE_TESTNET_CHAIN_ID, BASE_CHAIN_ID, BASE_TESTNET_CHAIN_ID, BSC_MAINNET_CHAIN_ID, BSC_TESTNET_CHAIN_ID, CELO_MAINNET_CHAIN_ID, CHAIN_ID_TO_GAS_LIMIT_BUFFER_MAP, COINGECKO_PLATFORMS_CHAIN_CODE_MAP, COINGECKO_SUPPORTED_CURRENCIES, CONTRACT_TYPE_ERC1155, CONTRACT_TYPE_ERC20, CONTRACT_TYPE_ERC721, CONTRACT_TYPE_ETH, ERC1155_INTERFACE_ID, ERC721_ENUMERABLE_INTERFACE_ID, ERC721_INTERFACE_ID, ERC721_METADATA_INTERFACE_ID, ETHERSCAN_SUPPORTED_CHAINS, GAS_ESTIMATE_TYPES, LOCALHOST, MAINNET_CHAIN_ID, MESSAGE_EVENTS, METHOD_TYPES, MessageStatus, OLD_ERC721_LIST, OPTIMISM_MAINNET_CHAIN_ID, OPTIMISM_TESTNET_CHAIN_ID, POLYGON_AMOY_CHAIN_ID, POLYGON_CHAIN_ID, SEPOLIA_CHAIN_ID, SIMPLEHASH_SUPPORTED_CHAINS, SUPPORTED_NETWORKS, TEST_CHAINS, TRANSACTION_ENVELOPE_TYPES, XDAI_CHAIN_ID } from './utils/constants.js';
|
|
31
31
|
export { addCurrencies, conversionGTE, conversionGreaterThan, conversionLTE, conversionLessThan, conversionMax, conversionUtil, decGWEIToHexWEI, getBigNumber, hexWEIToDecGWEI, multiplyCurrencies, subtractCurrencies, toNegative } from './utils/conversionUtils.js';
|
|
32
32
|
export { BNToHex, GAS_LIMITS, addEtherscanTransactions, bnLessThan, formatDate, formatPastTx, formatTime, getChainType, getEthTxStatus, getEtherScanHashLink, getIpfsEndpoint, hexToBn, idleTimeTracker, isAddressByChainId, sanitizeNftMetdataUrl, toChecksumAddressByChainId } from './utils/helpers.js';
|
|
33
|
-
import '@toruslabs/base-controllers';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
|
-
import {
|
|
2
|
+
import { stripHexPrefix, addHexPrefix, isValidAddress, toChecksumAddress } from '@ethereumjs/util';
|
|
3
3
|
import { formatSmallNumbers, addressSlicer, ACTIVITY_ACTION_RECEIVE, ACTIVITY_ACTION_SEND, significantDigits, TransactionStatus } from '@toruslabs/base-controllers';
|
|
4
4
|
import BigNumber from 'bignumber.js';
|
|
5
5
|
import log from 'loglevel';
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toruslabs/ethereum-controllers",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"homepage": "https://github.com/torusresearch/controllers#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "dist/lib.cjs/index.js",
|
|
8
|
+
"module": "dist/lib.esm/index.js",
|
|
8
9
|
"unpkg": "dist/ethereumControllers.umd.min.js",
|
|
9
10
|
"jsdelivr": "dist/ethereumControllers.umd.min.js",
|
|
10
11
|
"types": "dist/types/index.d.ts",
|
|
@@ -19,14 +20,12 @@
|
|
|
19
20
|
"pre-commit": "lint-staged --cwd ."
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@ethereumjs/common": "^4.
|
|
23
|
+
"@ethereumjs/common": "^4.4.0",
|
|
23
24
|
"@ethereumjs/tx": "^5.4.0",
|
|
24
|
-
"@ethereumjs/util": "^9.0
|
|
25
|
-
"@
|
|
26
|
-
"@metamask/eth-sig-util": "7.0.2",
|
|
27
|
-
"@toruslabs/base-controllers": "^6.0.0",
|
|
25
|
+
"@ethereumjs/util": "^9.1.0",
|
|
26
|
+
"@toruslabs/base-controllers": "^6.0.2",
|
|
28
27
|
"@toruslabs/http-helpers": "^7.0.0",
|
|
29
|
-
"@web3auth/auth": "^9.1.
|
|
28
|
+
"@web3auth/auth": "^9.1.3",
|
|
30
29
|
"async-mutex": "^0.5.0",
|
|
31
30
|
"bignumber.js": "^9.1.2",
|
|
32
31
|
"bn.js": "^5.2.1",
|
|
@@ -64,19 +63,18 @@
|
|
|
64
63
|
"publishConfig": {
|
|
65
64
|
"access": "public"
|
|
66
65
|
},
|
|
67
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "d6f4ddb89c9ae4ccad6e9938f3036be61b8f720d",
|
|
68
67
|
"devDependencies": {
|
|
69
68
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
|
|
70
|
-
"@nomicfoundation/hardhat-ethers": "^3.0.
|
|
69
|
+
"@nomicfoundation/hardhat-ethers": "^3.0.7",
|
|
71
70
|
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.5",
|
|
72
71
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.11",
|
|
73
72
|
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
|
74
|
-
"@nomicfoundation/hardhat-verify": "^2.0.
|
|
73
|
+
"@nomicfoundation/hardhat-verify": "^2.0.9",
|
|
75
74
|
"@typechain/ethers-v6": "^0.5.1",
|
|
76
75
|
"@typechain/hardhat": "^9.1.0",
|
|
77
76
|
"@types/proxyquire": "^1.3.31",
|
|
78
|
-
"hardhat": "^2.22.
|
|
79
|
-
"hardhat-gas-reporter": "^1.0.10",
|
|
77
|
+
"hardhat": "^2.22.9",
|
|
80
78
|
"proxyquire": "^2.1.3",
|
|
81
79
|
"solidity-coverage": "^0.8.12",
|
|
82
80
|
"typechain": "^8.3.2"
|