@toruslabs/ethereum-controllers 8.8.0 → 8.8.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.
|
@@ -29,7 +29,7 @@ const ARBITRUM_TESTNET_CHAIN_ID = "0x66eee";
|
|
|
29
29
|
const OPTIMISM_TESTNET_CHAIN_ID = "0xaa37dc";
|
|
30
30
|
const BASE_TESTNET_CHAIN_ID = "0x14a34";
|
|
31
31
|
const LINEA_SEPOLIA_CHAIN_ID = "0xe705";
|
|
32
|
-
const INFURA_KEY =
|
|
32
|
+
const INFURA_KEY = baseControllers.getEnvVariable("VITE_APP_INFURA_PROJECT_KEY");
|
|
33
33
|
const SUPPORTED_NETWORKS = {
|
|
34
34
|
[MAINNET_CHAIN_ID]: {
|
|
35
35
|
chainNamespace: baseControllers.CHAIN_NAMESPACES.EIP155,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CHAIN_NAMESPACES } from '@toruslabs/base-controllers';
|
|
1
|
+
import { CHAIN_NAMESPACES, getEnvVariable } from '@toruslabs/base-controllers';
|
|
2
2
|
|
|
3
3
|
const LOCALHOST = "localhost";
|
|
4
4
|
const CONTRACT_TYPE_ETH = "eth";
|
|
@@ -27,7 +27,7 @@ const ARBITRUM_TESTNET_CHAIN_ID = "0x66eee";
|
|
|
27
27
|
const OPTIMISM_TESTNET_CHAIN_ID = "0xaa37dc";
|
|
28
28
|
const BASE_TESTNET_CHAIN_ID = "0x14a34";
|
|
29
29
|
const LINEA_SEPOLIA_CHAIN_ID = "0xe705";
|
|
30
|
-
const INFURA_KEY =
|
|
30
|
+
const INFURA_KEY = getEnvVariable("VITE_APP_INFURA_PROJECT_KEY");
|
|
31
31
|
const SUPPORTED_NETWORKS = {
|
|
32
32
|
[MAINNET_CHAIN_ID]: {
|
|
33
33
|
chainNamespace: CHAIN_NAMESPACES.EIP155,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toruslabs/ethereum-controllers",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.2",
|
|
4
4
|
"homepage": "https://github.com/torusresearch/controllers#readme",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@ethereumjs/util": "^10.0.0",
|
|
23
23
|
"@metamask/delegation-toolkit": "~0.13.0",
|
|
24
|
-
"@toruslabs/base-controllers": "^8.8.
|
|
24
|
+
"@toruslabs/base-controllers": "^8.8.2",
|
|
25
25
|
"@toruslabs/http-helpers": "^8.1.1",
|
|
26
26
|
"@web3auth/auth": "^10.6.0",
|
|
27
27
|
"async-mutex": "^0.5.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "1481f4ea263438f1e3e9c83d90b2667d149aa70b",
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@typechain/ethers-v6": "^0.5.1",
|
|
70
70
|
"typechain": "^8.3.2"
|