@shapeshiftoss/unchained-client 9.0.0-alpha.0 → 9.0.0-alpha.1
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.
|
@@ -20,7 +20,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
|
|
|
20
20
|
// Some imports not used depending on template conditions
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "
|
|
23
|
+
exports.BASE_PATH = "https://dev-api.bitcoin.shapeshift.com".replace(/\/+$/, "");
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
@@ -20,7 +20,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
|
|
|
20
20
|
// Some imports not used depending on template conditions
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "
|
|
23
|
+
exports.BASE_PATH = "https://dev-api.ethereum.shapeshift.com".replace(/\/+$/, "");
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
package/dist/websocket.js
CHANGED
|
@@ -27,7 +27,7 @@ class Client {
|
|
|
27
27
|
connection.pingTimeout = setTimeout(() => {
|
|
28
28
|
logger.warn({ fn: 'pingTimeout' }, `${topic} heartbeat failed`);
|
|
29
29
|
connection === null || connection === void 0 ? void 0 : connection.ws.close();
|
|
30
|
-
}, this.pingInterval +
|
|
30
|
+
}, this.pingInterval + 5000);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Subscribe to transaction history and updates for newly confirmed and pending transactions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/unchained-client",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"ws": "^8.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@shapeshiftoss/caip": "^5.
|
|
33
|
+
"@shapeshiftoss/caip": "^5.2.1",
|
|
34
34
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
35
35
|
"@shapeshiftoss/types": "^4.3.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
39
|
-
"@shapeshiftoss/caip": "^5.
|
|
39
|
+
"@shapeshiftoss/caip": "^5.2.1",
|
|
40
40
|
"@shapeshiftoss/common-api": "^6.11.0",
|
|
41
41
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
42
42
|
"@shapeshiftoss/types": "^4.3.1",
|