@cryptorubic/web3 0.7.9 → 0.7.10

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/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "bignumber.js": "9.1.2",
7
- "@cryptorubic/core": "0.7.9",
7
+ "@cryptorubic/core": "0.7.10",
8
8
  "viem": "^2.19.1",
9
9
  "web3-utils": "^4.3.1",
10
10
  "@ton/ton": "^15.1.0",
11
11
  "@solana/web3.js": "1.95.3",
12
12
  "@solflare-wallet/utl-sdk": "^1.4.0",
13
13
  "@ethersproject/bignumber": "^5.7.0",
14
- "@cryptorubic/tron-types": "0.7.9",
14
+ "@cryptorubic/tron-types": "0.7.10",
15
15
  "bitcoin-address-validation": "^2.2.3",
16
16
  "axios": "0.27.2",
17
17
  "crc-32": "^1.2.2",
@@ -45,7 +45,7 @@ exports.viemConfig = {
45
45
  }
46
46
  }
47
47
  }),
48
- BERACHAIN: (0, viem_1.defineChain)({
48
+ BERACHAIN_TESTNET: (0, viem_1.defineChain)({
49
49
  blockExplorers: {
50
50
  default: {
51
51
  apiUrl: 'https://artio.beratrail.io/',
@@ -1343,5 +1343,51 @@ exports.viemConfig = {
1343
1343
  address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1344
1344
  }
1345
1345
  }
1346
+ }),
1347
+ BERACHAIN: (0, viem_1.defineChain)({
1348
+ blockExplorers: {
1349
+ default: {
1350
+ apiUrl: 'https://berascan.com/',
1351
+ name: 'Berachain Explorer',
1352
+ url: 'https://berascan.com/'
1353
+ }
1354
+ },
1355
+ id: 80094,
1356
+ name: 'Berachain',
1357
+ nativeCurrency: { decimals: 18, name: 'BERA', symbol: 'BERA' },
1358
+ rpcUrls: {
1359
+ default: {
1360
+ http: ['https://rpc.berachain.com/']
1361
+ }
1362
+ },
1363
+ testnet: false,
1364
+ contracts: {
1365
+ multicall3: {
1366
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1367
+ }
1368
+ }
1369
+ }),
1370
+ SONEIUM: (0, viem_1.defineChain)({
1371
+ blockExplorers: {
1372
+ default: {
1373
+ apiUrl: 'https://soneium.blockscout.com/',
1374
+ name: 'Soneium Explorer',
1375
+ url: 'https://soneium.blockscout.com/'
1376
+ }
1377
+ },
1378
+ id: 1868,
1379
+ name: 'Soneium',
1380
+ nativeCurrency: { decimals: 18, name: 'Ethereum', symbol: 'ETH' },
1381
+ rpcUrls: {
1382
+ default: {
1383
+ http: ['https://1868.rpc.thirdweb.com/', 'https://rpc.soneium.org/', 'https://soneium.drpc.org']
1384
+ }
1385
+ },
1386
+ testnet: false,
1387
+ contracts: {
1388
+ multicall3: {
1389
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1390
+ }
1391
+ }
1346
1392
  })
1347
1393
  };
@@ -56,7 +56,7 @@ exports.viemBlockchainMapping = {
56
56
  [core_1.BLOCKCHAIN_NAME.SEPOLIA]: chains_1.sepolia,
57
57
  [core_1.BLOCKCHAIN_NAME.MANTA_PACIFIC]: chains_1.manta,
58
58
  [core_1.BLOCKCHAIN_NAME.SCROLL]: chains_1.scroll,
59
- [core_1.BLOCKCHAIN_NAME.BERACHAIN]: chains_1.berachainTestnet,
59
+ [core_1.BLOCKCHAIN_NAME.BERACHAIN_TESTNET]: chains_1.berachainTestnetbArtio,
60
60
  [core_1.BLOCKCHAIN_NAME.BLAST]: chains_1.blast,
61
61
  [core_1.BLOCKCHAIN_NAME.HOLESKY]: chains_1.holesky,
62
62
  [core_1.BLOCKCHAIN_NAME.KROMA]: chains_1.kroma,
@@ -72,5 +72,7 @@ exports.viemBlockchainMapping = {
72
72
  [core_1.BLOCKCHAIN_NAME.SEI]: chains_1.sei,
73
73
  [core_1.BLOCKCHAIN_NAME.GRAVITY]: chains_1.gravity,
74
74
  [core_1.BLOCKCHAIN_NAME.FRAXTAL]: chains_1.fraxtal,
75
- [core_1.BLOCKCHAIN_NAME.CORE]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.CORE]
75
+ [core_1.BLOCKCHAIN_NAME.CORE]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.CORE],
76
+ [core_1.BLOCKCHAIN_NAME.BERACHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.BERACHAIN],
77
+ [core_1.BLOCKCHAIN_NAME.SONEIUM]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.SONEIUM]
76
78
  };