@cityofzion/bs-neo3 1.17.3 → 1.17.5
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.
|
@@ -40,7 +40,7 @@ const BSNeo3Helper_1 = require("../../helpers/BSNeo3Helper");
|
|
|
40
40
|
const BSNeo3NeonJsSingletonHelper_1 = require("../../helpers/BSNeo3NeonJsSingletonHelper");
|
|
41
41
|
class DoraBDSNeo3 extends RpcBDSNeo3_1.RpcBDSNeo3 {
|
|
42
42
|
static getClient() {
|
|
43
|
-
return new dora_ts_1.api.NeoRESTApi({
|
|
43
|
+
return new dora_ts_1.api.NeoRESTApi({ url: blockchain_service_1.BSCommonConstants.COZ_API_URL, endpoint: '/api/v2/neo3' });
|
|
44
44
|
}
|
|
45
45
|
constructor(service) {
|
|
46
46
|
super(service);
|
|
@@ -134,7 +134,7 @@ class DoraVoteServiceNeo3 {
|
|
|
134
134
|
exports.DoraVoteServiceNeo3 = DoraVoteServiceNeo3;
|
|
135
135
|
_DoraVoteServiceNeo3_apiInstance = new WeakMap(), _DoraVoteServiceNeo3_instances = new WeakSet(), _DoraVoteServiceNeo3_api_get = function _DoraVoteServiceNeo3_api_get() {
|
|
136
136
|
if (!__classPrivateFieldGet(this, _DoraVoteServiceNeo3_apiInstance, "f")) {
|
|
137
|
-
__classPrivateFieldSet(this, _DoraVoteServiceNeo3_apiInstance, axios_1.default.create({ baseURL: `${blockchain_service_1.BSCommonConstants.
|
|
137
|
+
__classPrivateFieldSet(this, _DoraVoteServiceNeo3_apiInstance, axios_1.default.create({ baseURL: `${blockchain_service_1.BSCommonConstants.COZ_API_URL}/api/v2/neo3` }), "f");
|
|
138
138
|
}
|
|
139
139
|
return __classPrivateFieldGet(this, _DoraVoteServiceNeo3_apiInstance, "f");
|
|
140
140
|
}, _DoraVoteServiceNeo3_getVoteCIM = function _DoraVoteServiceNeo3_getVoteCIM({ address, candidatePubKey }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-neo3",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"repository": "https://github.com/CityOfZion/blockchain-services",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"/dist"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@cityofzion/dora-ts": "
|
|
13
|
+
"@cityofzion/dora-ts": "0.6.2",
|
|
14
14
|
"@cityofzion/neon-js": "~5.7.0",
|
|
15
15
|
"@cityofzion/neon-core": "~5.7.0",
|
|
16
16
|
"@cityofzion/neon-dappkit": "~0.6.0",
|
|
17
17
|
"axios": "~1.12.2",
|
|
18
|
-
"@cityofzion/blockchain-service": "1.22.
|
|
18
|
+
"@cityofzion/blockchain-service": "1.22.4"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@cityofzion/neon-dappkit-types": "~0.5.0",
|