@pioneer-platform/nodes 8.3.13 → 8.3.15

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.
Files changed (3) hide show
  1. package/lib/index.js +2 -2
  2. package/lib/web3.js +0 -144
  3. package/package.json +21 -21
package/lib/index.js CHANGED
@@ -24,8 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
24
24
  });
25
25
  };
26
26
  var __generator = (this && this.__generator) || function (thisArg, body) {
27
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
28
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
27
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
28
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
package/lib/web3.js CHANGED
@@ -2,10 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.web3Seeds = void 0;
4
4
  exports.web3Seeds = [
5
- {
6
- "networkId": "eip155:1",
7
- "service": "https://rpc.ankr.com/eth"
8
- },
9
5
  {
10
6
  "networkId": "eip155:1",
11
7
  "service": "https://go.getblock.io/aefd01aa907c4805ba3c00a9e5b48c6b"
@@ -226,26 +222,14 @@ exports.web3Seeds = [
226
222
  "networkId": "eip155:2",
227
223
  "service": "https://node.expanse.tech"
228
224
  },
229
- {
230
- "networkId": "eip155:3",
231
- "service": "https://rpc.ankr.com/eth_ropsten"
232
- },
233
225
  {
234
226
  "networkId": "eip155:3",
235
227
  "service": "https://ropsten.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161"
236
228
  },
237
- {
238
- "networkId": "eip155:4",
239
- "service": "https://rpc.ankr.com/eth_rinkeby"
240
- },
241
229
  {
242
230
  "networkId": "eip155:4",
243
231
  "service": "https://rinkeby.infura.io/3/9aa3d95b3bc440fa88ea12eaa4456161"
244
232
  },
245
- {
246
- "networkId": "eip155:5",
247
- "service": "https://rpc.ankr.com/eth_goerli"
248
- },
249
233
  {
250
234
  "networkId": "eip155:5",
251
235
  "service": "https://endpoints.omniatech.io/v1/eth/goerli/public"
@@ -306,10 +290,6 @@ exports.web3Seeds = [
306
290
  "networkId": "eip155:10",
307
291
  "service": "https://mainnet.optimism.io/"
308
292
  },
309
- {
310
- "networkId": "eip155:10",
311
- "service": "https://rpc.ankr.com/optimism"
312
- },
313
293
  {
314
294
  "networkId": "eip155:10",
315
295
  "service": "https://optimism-mainnet.public.blastapi.io"
@@ -618,10 +598,6 @@ exports.web3Seeds = [
618
598
  "networkId": "eip155:50",
619
599
  "service": "https://erpc.xinfin.network/"
620
600
  },
621
- {
622
- "networkId": "eip155:50",
623
- "service": "https://rpc.ankr.com/xdc"
624
- },
625
601
  {
626
602
  "networkId": "eip155:50",
627
603
  "service": "https://xdc-mainnet.gateway.tatum.io"
@@ -678,10 +654,6 @@ exports.web3Seeds = [
678
654
  "networkId": "eip155:55",
679
655
  "service": "https://rpc-5.zyx.network/"
680
656
  },
681
- {
682
- "networkId": "eip155:56",
683
- "service": "https://rpc.ankr.com/bsc"
684
- },
685
657
  {
686
658
  "networkId": "eip155:56",
687
659
  "service": "https://bsc-dataseed.bnbchain.org/"
@@ -854,10 +826,6 @@ exports.web3Seeds = [
854
826
  "networkId": "eip155:57",
855
827
  "service": "https://rpc.syscoin.org"
856
828
  },
857
- {
858
- "networkId": "eip155:57",
859
- "service": "https://rpc.ankr.com/syscoin"
860
- },
861
829
  {
862
830
  "networkId": "eip155:57",
863
831
  "service": "https://syscoin-evm.publicnode.com"
@@ -1094,10 +1062,6 @@ exports.web3Seeds = [
1094
1062
  "networkId": "eip155:100",
1095
1063
  "service": "https://gnosis-mainnet.public.blastapi.io"
1096
1064
  },
1097
- {
1098
- "networkId": "eip155:100",
1099
- "service": "https://rpc.ankr.com/gnosis"
1100
- },
1101
1065
  {
1102
1066
  "networkId": "eip155:100",
1103
1067
  "service": "https://rpc.ap-southeast-1.gateway.fm/v4/gnosis/non-archival/mainnet"
@@ -1222,10 +1186,6 @@ exports.web3Seeds = [
1222
1186
  "networkId": "eip155:133",
1223
1187
  "service": "https://hashkeychain-testnet.alt.technology"
1224
1188
  },
1225
- {
1226
- "networkId": "eip155:137",
1227
- "service": "https://rpc.ankr.com/polygon"
1228
- },
1229
1189
  {
1230
1190
  "networkId": "eip155:137",
1231
1191
  "service": "https://polygon-rpc.com"
@@ -1494,10 +1454,6 @@ exports.web3Seeds = [
1494
1454
  "networkId": "eip155:250",
1495
1455
  "service": "https://rpc.ftm.tools/"
1496
1456
  },
1497
- {
1498
- "networkId": "eip155:250",
1499
- "service": "https://rpc.ankr.com/fantom"
1500
- },
1501
1457
  {
1502
1458
  "networkId": "eip155:250",
1503
1459
  "service": "https://rpc.fantom.network"
@@ -1600,10 +1556,6 @@ exports.web3Seeds = [
1600
1556
  },
1601
1557
  {
1602
1558
  "networkId": "eip155:267",
1603
- "service": "https://rpc.ankr.com/neura_testnet"
1604
- },
1605
- {
1606
- "networkId": "eip155:288",
1607
1559
  "service": "https://mainnet.boba.network/"
1608
1560
  },
1609
1561
  {
@@ -1646,10 +1598,6 @@ exports.web3Seeds = [
1646
1598
  "networkId": "eip155:314",
1647
1599
  "service": "https://node.filutils.com/rpc/v1"
1648
1600
  },
1649
- {
1650
- "networkId": "eip155:314",
1651
- "service": "https://rpc.ankr.com/filecoin"
1652
- },
1653
1601
  {
1654
1602
  "networkId": "eip155:314",
1655
1603
  "service": "https://filecoin.chainup.net/rpc/v1"
@@ -1986,10 +1934,6 @@ exports.web3Seeds = [
1986
1934
  "networkId": "eip155:1001",
1987
1935
  "service": "https://kaia-kairos.blockpi.network/v1/rpc/public"
1988
1936
  },
1989
- {
1990
- "networkId": "eip155:1001",
1991
- "service": "https://rpc.ankr.com/klaytn_testnet"
1992
- },
1993
1937
  {
1994
1938
  "networkId": "eip155:1001",
1995
1939
  "service": "https://klaytn.api.onfinality.io/public"
@@ -2074,10 +2018,6 @@ exports.web3Seeds = [
2074
2018
  "networkId": "eip155:1100",
2075
2019
  "service": "https://dymension.drpc.org"
2076
2020
  },
2077
- {
2078
- "networkId": "eip155:1101",
2079
- "service": "https://rpc.ankr.com/polygon_zkevm"
2080
- },
2081
2021
  {
2082
2022
  "networkId": "eip155:1101",
2083
2023
  "service": "https://rpc.polygon-zkevm.gateway.fm"
@@ -2126,10 +2066,6 @@ exports.web3Seeds = [
2126
2066
  "networkId": "eip155:1116",
2127
2067
  "service": "https://1rpc.io/core"
2128
2068
  },
2129
- {
2130
- "networkId": "eip155:1116",
2131
- "service": "https://rpc.ankr.com/core"
2132
- },
2133
2069
  {
2134
2070
  "networkId": "eip155:1116",
2135
2071
  "service": "https://core.drpc.org"
@@ -2206,10 +2142,6 @@ exports.web3Seeds = [
2206
2142
  "networkId": "eip155:1284",
2207
2143
  "service": "https://moonbeam.public.blastapi.io"
2208
2144
  },
2209
- {
2210
- "networkId": "eip155:1284",
2211
- "service": "https://rpc.ankr.com/moonbeam"
2212
- },
2213
2145
  {
2214
2146
  "networkId": "eip155:1284",
2215
2147
  "service": "https://1rpc.io/glmr"
@@ -2510,14 +2442,6 @@ exports.web3Seeds = [
2510
2442
  "networkId": "eip155:2000",
2511
2443
  "service": "https://rpc03-sg.dogechain.dog"
2512
2444
  },
2513
- {
2514
- "networkId": "eip155:2000",
2515
- "service": "https://dogechain.ankr.com"
2516
- },
2517
- {
2518
- "networkId": "eip155:2000",
2519
- "service": "https://dogechain-sj.ankr.com"
2520
- },
2521
2445
  {
2522
2446
  "networkId": "eip155:2000",
2523
2447
  "service": "https://doge-mainnet.gateway.tatum.io"
@@ -2602,10 +2526,6 @@ exports.web3Seeds = [
2602
2526
  "networkId": "eip155:2222",
2603
2527
  "service": "https://evm.kava.chainstacklabs.com"
2604
2528
  },
2605
- {
2606
- "networkId": "eip155:2222",
2607
- "service": "https://rpc.ankr.com/kava_evm"
2608
- },
2609
2529
  {
2610
2530
  "networkId": "eip155:2222",
2611
2531
  "service": "https://evm.kava-rpc.com"
@@ -2698,10 +2618,6 @@ exports.web3Seeds = [
2698
2618
  "networkId": "eip155:4002",
2699
2619
  "service": "https://endpoints.omniatech.io/v1/fantom/testnet/public"
2700
2620
  },
2701
- {
2702
- "networkId": "eip155:4002",
2703
- "service": "https://rpc.ankr.com/fantom_testnet"
2704
- },
2705
2621
  {
2706
2622
  "networkId": "eip155:4002",
2707
2623
  "service": "https://fantom-testnet.public.blastapi.io"
@@ -2758,10 +2674,6 @@ exports.web3Seeds = [
2758
2674
  "networkId": "eip155:4444",
2759
2675
  "service": "https://janus.htmlcoin.dev/janus/"
2760
2676
  },
2761
- {
2762
- "networkId": "eip155:4689",
2763
- "service": "https://rpc.ankr.com/iotex"
2764
- },
2765
2677
  {
2766
2678
  "networkId": "eip155:4689",
2767
2679
  "service": "https://babel-api.mainnet.iotex.io"
@@ -2802,10 +2714,6 @@ exports.web3Seeds = [
2802
2714
  "networkId": "eip155:5000",
2803
2715
  "service": "https://mantle.drpc.org"
2804
2716
  },
2805
- {
2806
- "networkId": "eip155:5000",
2807
- "service": "https://rpc.ankr.com/mantle"
2808
- },
2809
2717
  {
2810
2718
  "networkId": "eip155:5000",
2811
2719
  "service": "https://1rpc.io/mantle"
@@ -3068,10 +2976,6 @@ exports.web3Seeds = [
3068
2976
  },
3069
2977
  {
3070
2978
  "networkId": "eip155:8217",
3071
- "service": "https://rpc.ankr.com/klaytn "
3072
- },
3073
- {
3074
- "networkId": "eip155:8428",
3075
2979
  "service": "https://api.thatchain.io"
3076
2980
  },
3077
2981
  {
@@ -3722,10 +3626,6 @@ exports.web3Seeds = [
3722
3626
  "networkId": "eip155:42161",
3723
3627
  "service": "https://arb1.arbitrum.io/rpc"
3724
3628
  },
3725
- {
3726
- "networkId": "eip155:42161",
3727
- "service": "https://rpc.ankr.com/arbitrum"
3728
- },
3729
3629
  {
3730
3630
  "networkId": "eip155:42161",
3731
3631
  "service": "https://1rpc.io/arb"
@@ -3822,10 +3722,6 @@ exports.web3Seeds = [
3822
3722
  "networkId": "eip155:42220",
3823
3723
  "service": "https://forno.celo.org"
3824
3724
  },
3825
- {
3826
- "networkId": "eip155:42220",
3827
- "service": "https://rpc.ankr.com/celo"
3828
- },
3829
3725
  {
3830
3726
  "networkId": "eip155:42220",
3831
3727
  "service": "https://1rpc.io/celo"
@@ -3874,14 +3770,6 @@ exports.web3Seeds = [
3874
3770
  "networkId": "eip155:43113",
3875
3771
  "service": "https://endpoints.omniatech.io/v1/avax/fuji/public"
3876
3772
  },
3877
- {
3878
- "networkId": "eip155:43113",
3879
- "service": "https://rpc.ankr.com/avalanche_fuji"
3880
- },
3881
- {
3882
- "networkId": "eip155:43113",
3883
- "service": "https://rpc.ankr.com/avalanche_fuji-c"
3884
- },
3885
3773
  {
3886
3774
  "networkId": "eip155:43113",
3887
3775
  "service": "https://avalanchetestapi.terminet.io/ext/bc/C/rpc"
@@ -3914,10 +3802,6 @@ exports.web3Seeds = [
3914
3802
  "networkId": "eip155:43114",
3915
3803
  "service": "https://avalanche.public-rpc.com"
3916
3804
  },
3917
- {
3918
- "networkId": "eip155:43114",
3919
- "service": "https://rpc.ankr.com/avalanche"
3920
- },
3921
3805
  {
3922
3806
  "networkId": "eip155:43114",
3923
3807
  "service": "https://ava-mainnet.public.blastapi.io/ext/bc/C/rpc"
@@ -4130,10 +4014,6 @@ exports.web3Seeds = [
4130
4014
  "networkId": "eip155:80001",
4131
4015
  "service": "https://endpoints.omniatech.io/v1/matic/mumbai/public"
4132
4016
  },
4133
- {
4134
- "networkId": "eip155:80001",
4135
- "service": "https://rpc.ankr.com/polygon_mumbai"
4136
- },
4137
4017
  {
4138
4018
  "networkId": "eip155:80001",
4139
4019
  "service": "https://polygontestapi.terminet.io/rpc"
@@ -4182,10 +4062,6 @@ exports.web3Seeds = [
4182
4062
  "networkId": "eip155:80002",
4183
4063
  "service": "https://polygon-amoy.blockpi.network/v1/rpc/public"
4184
4064
  },
4185
- {
4186
- "networkId": "eip155:80002",
4187
- "service": "https://rpc.ankr.com/polygon_amoy"
4188
- },
4189
4065
  {
4190
4066
  "networkId": "eip155:80002",
4191
4067
  "service": "https://polygon-amoy.drpc.org"
@@ -4230,10 +4106,6 @@ exports.web3Seeds = [
4230
4106
  "networkId": "eip155:81457",
4231
4107
  "service": "https://blast.blockpi.network/v1/rpc/public"
4232
4108
  },
4233
- {
4234
- "networkId": "eip155:81457",
4235
- "service": "https://rpc.ankr.com/blast"
4236
- },
4237
4109
  {
4238
4110
  "networkId": "eip155:81457",
4239
4111
  "service": "https://blast.gasswap.org"
@@ -4342,10 +4214,6 @@ exports.web3Seeds = [
4342
4214
  "networkId": "eip155:167000",
4343
4215
  "service": "https://rpc.taiko.xyz"
4344
4216
  },
4345
- {
4346
- "networkId": "eip155:167000",
4347
- "service": "https://rpc.ankr.com/taiko"
4348
- },
4349
4217
  {
4350
4218
  "networkId": "eip155:167000",
4351
4219
  "service": "https://taiko.blockpi.network/v1/rpc/public"
@@ -4378,10 +4246,6 @@ exports.web3Seeds = [
4378
4246
  "networkId": "eip155:167009",
4379
4247
  "service": "https://rpc.hekla.taiko.xyz"
4380
4248
  },
4381
- {
4382
- "networkId": "eip155:167009",
4383
- "service": "https://rpc.ankr.com/taiko_hekla"
4384
- },
4385
4249
  {
4386
4250
  "networkId": "eip155:167009",
4387
4251
  "service": "https://taiko-hekla.blockpi.network/v1/rpc/public"
@@ -4526,10 +4390,6 @@ exports.web3Seeds = [
4526
4390
  "networkId": "eip155:534351",
4527
4391
  "service": "https://scroll-testnet-public.unifra.io"
4528
4392
  },
4529
- {
4530
- "networkId": "eip155:534351",
4531
- "service": "https://rpc.ankr.com/scroll_sepolia_testnet"
4532
- },
4533
4393
  {
4534
4394
  "networkId": "eip155:534351",
4535
4395
  "service": "https://scroll-public.scroll-testnet.quiknode.pro/"
@@ -4894,10 +4754,6 @@ exports.web3Seeds = [
4894
4754
  "networkId": "eip155:1666600000",
4895
4755
  "service": "https://api.s0.t.hmny.io"
4896
4756
  },
4897
- {
4898
- "networkId": "eip155:1666600000",
4899
- "service": "https://rpc.ankr.com/harmony"
4900
- },
4901
4757
  {
4902
4758
  "networkId": "eip155:1666600000",
4903
4759
  "service": "https://1rpc.io/one"
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
1
  {
2
2
  "name": "@pioneer-platform/nodes",
3
- "version": "8.3.13",
3
+ "version": "8.3.15",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
- "scripts": {
7
- "npm": "npm i",
8
- "npm-update": "npm update",
9
- "test": "npm run build && node __tests__/test-module.js",
10
- "test-cli-export": "npm run build && node __tests__/reference-test-cli-export.js",
11
- "lint": "prettier --write '**/**/*.ts'",
12
- "start": "nodemon --watch 'src/**/*.ts' --exec ts-node __tests__node",
13
- "build": "tsc -p .",
14
- "prepublish": "npm run build",
15
- "refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
16
- "test-jest": "jest --coverage",
17
- "test:watch": "jest --coverage --watchAll",
18
- "build:watch": "onchange 'src/**/*.ts' -- npm run build",
19
- "view:coverage": "serve coverage/lcov-report",
20
- "clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
21
- },
22
6
  "dependencies": {
23
7
  "@pioneer-platform/loggerdog": "^8.3.1",
24
8
  "dotenv": "^8.2.0"
25
9
  },
26
10
  "devDependencies": {
27
11
  "@types/jest": "^25.2.3",
28
- "@types/node": "^13.13.39",
12
+ "@types/node": "^18.16.0",
29
13
  "@types/source-map-support": "^0.5.3",
30
14
  "jest": "^26.6.3",
31
15
  "onchange": "^7.1.0",
32
16
  "serve": "^11.3.2",
33
17
  "source-map-support": "^0.5.19",
34
18
  "ts-jest": "^29.0.5",
35
- "typescript": "^5.0.2"
19
+ "typescript": "^5.0.4"
36
20
  },
37
- "gitHead": "aeae28273014ab69b42f22abec159c6693a56c40"
38
- }
21
+ "gitHead": "aeae28273014ab69b42f22abec159c6693a56c40",
22
+ "scripts": {
23
+ "npm": "pnpm i",
24
+ "npm-update": "pnpm update",
25
+ "test": "pnpm run build && node __tests__/test-module.js",
26
+ "test-cli-export": "pnpm run build && node __tests__/reference-test-cli-export.js",
27
+ "lint": "prettier --write '**/**/*.ts'",
28
+ "start": "nodemon --watch 'src/**/*.ts' --exec ts-node __tests__node",
29
+ "build": "tsc -p .",
30
+ "prepublish": "pnpm run build",
31
+ "refresh": "rm -rf ./node_modules ./package-lock.json && pnpm install",
32
+ "test-jest": "jest --coverage",
33
+ "test:watch": "jest --coverage --watchAll",
34
+ "build:watch": "onchange 'src/**/*.ts' -- pnpm run build",
35
+ "view:coverage": "serve coverage/lcov-report",
36
+ "clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
37
+ }
38
+ }