@pioneer-platform/nodes 8.3.5 → 8.3.8

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/lib/index.js CHANGED
@@ -55,10 +55,15 @@ var TAG = " | Pioneer Nodes | ";
55
55
  var log = require('@pioneer-platform/loggerdog')();
56
56
  var _a = require("@pioneer-platform/pioneer-caip"), shortListNameToCaip = _a.shortListNameToCaip, shortListSymbolToCaip = _a.shortListSymbolToCaip, evmCaips = _a.evmCaips;
57
57
  var seeds_1 = require("./seeds");
58
+ var web3_1 = require("./web3");
59
+ var NODES = web3_1.web3Seeds;
58
60
  module.exports = {
59
61
  init: function (type, config, isTestnet) {
60
62
  return init_nodes(type, config, isTestnet);
61
63
  },
64
+ getNodes: function () {
65
+ return NODES;
66
+ },
62
67
  getNode: function (network, serviceId) {
63
68
  return get_node(network, serviceId);
64
69
  },
package/lib/seeds.d.ts CHANGED
@@ -12,6 +12,7 @@ export declare const blockbooks: ({
12
12
  symbol: string;
13
13
  blockchain: string;
14
14
  caip: string;
15
+ networkId: string;
15
16
  type: string;
16
17
  service: string;
17
18
  websocket: string;
@@ -21,6 +22,15 @@ export declare const blockbooks: ({
21
22
  caip: string;
22
23
  type: string;
23
24
  service: string;
25
+ websocket: string;
26
+ networkId?: undefined;
27
+ } | {
28
+ symbol: string;
29
+ blockchain: string;
30
+ caip: string;
31
+ type: string;
32
+ service: string;
33
+ networkId?: undefined;
24
34
  websocket?: undefined;
25
35
  })[];
26
36
  export declare const shapeshift: ({
package/lib/seeds.js CHANGED
@@ -65,6 +65,7 @@ exports.blockbooks = [
65
65
  symbol: "DASH",
66
66
  blockchain: "dash",
67
67
  caip: "bip122:000007d91d1254d60e2dd1ae58038307/slip44:5",
68
+ networkId: "bip122:000007d91d1254d60e2dd1ae58038307",
68
69
  type: "blockbook",
69
70
  service: "https://dashbook.nownodes.io/cf522543-87e2-4dd6-b645-2fbfd0bc61f6",
70
71
  websocket: "wss://dash.nownodes.io/wss"
package/lib/web3.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare const web3Seeds: {
2
+ networkId: string;
3
+ service: string;
4
+ }[];