@dashevo/dapi-client 0.24.0-dev.16 → 0.24.0-dev.17

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/README.md CHANGED
@@ -50,7 +50,7 @@ const DAPIClient = require('@dashevo/dapi-client');
50
50
  var client = new DAPIClient({
51
51
  seeds: [{
52
52
  host: 'seed-1.evonet.networks.dash.org',
53
- port: 3000,
53
+ port: 443,
54
54
  }],
55
55
  });
56
56
 
@@ -70,8 +70,8 @@ const DAPIClient = require('@dashevo/dapi-client');
70
70
 
71
71
  var client = new DAPIClient({
72
72
  dapiAddresses: [
73
- '127.0.0.1:3000',
74
- '127.0.0.2:3000',
73
+ '127.0.0.1:443',
74
+ '127.0.0.2:443',
75
75
  ],
76
76
  });
77
77
 
@@ -167,14 +167,14 @@ class DAPIAddress {
167
167
  }
168
168
  }
169
169
 
170
- DAPIAddress.DEFAULT_PORT = 3000;
170
+ DAPIAddress.DEFAULT_PORT = 443;
171
171
  DAPIAddress.DEFAULT_PROTOCOL = 'https';
172
172
 
173
173
  /**
174
174
  * @typedef {object} RawDAPIAddress
175
175
  * @property {string} protocol
176
176
  * @property {string} host
177
- * @property {number} [port=3000]
177
+ * @property {number} [port=443]
178
178
  * @property {string} [proRegTxHash]
179
179
  * @property {bool} [selfSigned]
180
180
  */
@@ -39,7 +39,7 @@ class ListDAPIAddressProvider {
39
39
  liveAddress.protocol = 'https';
40
40
  liveAddress.host = '127.0.0.1';
41
41
  liveAddress.allowSelfSignedCertificate = true;
42
- liveAddress.port = 3000 + randomNodeIndex * 100;
42
+ liveAddress.port = 2443 + randomNodeIndex * 100;
43
43
  }
44
44
 
45
45
  return liveAddress;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-client",
3
- "version": "0.24.0-dev.16",
3
+ "version": "0.24.0-dev.17",
4
4
  "description": "Client library used to access Dash DAPI endpoints",
5
5
  "main": "lib/index.js",
6
6
  "contributors": [
@@ -26,11 +26,11 @@
26
26
  }
27
27
  ],
28
28
  "dependencies": {
29
- "@dashevo/dapi-grpc": "0.24.0-dev.16",
30
- "@dashevo/dash-spv": "0.24.0-dev.16",
29
+ "@dashevo/dapi-grpc": "0.24.0-dev.17",
30
+ "@dashevo/dash-spv": "0.24.0-dev.17",
31
31
  "@dashevo/dashcore-lib": "~0.20.0",
32
- "@dashevo/dpp": "0.24.0-dev.16",
33
- "@dashevo/grpc-common": "0.24.0-dev.16",
32
+ "@dashevo/dpp": "0.24.0-dev.17",
33
+ "@dashevo/grpc-common": "0.24.0-dev.17",
34
34
  "bs58": "^4.0.1",
35
35
  "cbor": "^8.0.0",
36
36
  "lodash": "^4.17.21",