@vechain/connex.driver-nodejs
Advanced tools
Comparing version 1.0.0-beta-13 to 1.0.0-beta-14
@@ -44,6 +44,6 @@ "use strict"; | ||
openWebSocketReader(path) { | ||
const baseURL = this.baseURL | ||
.replace(/^https:/i, 'wss:') | ||
.replace(/^http:/i, 'ws:'); | ||
return new simple_websocket_reader_1.SimpleWebSocketReader(NodeURL.resolve(baseURL, path), this.wsTimeout); | ||
const url = NodeURL.resolve(this.baseURL, path) | ||
.replace(/^http:/i, 'ws:') | ||
.replace(/^https:/i, 'wss:'); | ||
return new simple_websocket_reader_1.SimpleWebSocketReader(url, this.wsTimeout); | ||
} | ||
@@ -70,2 +70,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ltcGxlLW5ldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zaW1wbGUtbmV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFDQSxpQ0FBd0Q7QUFDeEQsdUVBQWlFO0FBQ2pFLCtCQUE4QjtBQUU5Qiw0Q0FBNEM7QUFDNUMsTUFBYSxTQUFTO0lBR2xCLFlBQ2EsT0FBZSxFQUN4QixPQUFPLEdBQUcsRUFBRSxHQUFHLElBQUksRUFDRixZQUFZLEVBQUUsR0FBRyxJQUFJO1FBRjdCLFlBQU8sR0FBUCxPQUFPLENBQVE7UUFFUCxjQUFTLEdBQVQsU0FBUyxDQUFZO1FBRXRDLElBQUksQ0FBQyxLQUFLLEdBQUcsZUFBSyxDQUFDLE1BQU0sQ0FBQztZQUN0QixPQUFPO1lBQ1AsT0FBTztZQUNQLFlBQVksRUFBRSxNQUFNO1NBQ3ZCLENBQUMsQ0FBQTtJQUNOLENBQUM7SUFFWSxJQUFJLENBQ2IsTUFBc0IsRUFDdEIsSUFBWSxFQUNaLE1BQTBEOztZQUMxRCxNQUFNLEdBQUcsTUFBTSxJQU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FDLEdBQUcsS0FBSyxHQUFHLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQTtLQUM3RTtBQUNMLENBQUMifQ== |
{ | ||
"name": "@vechain/connex.driver-nodejs", | ||
"version": "1.0.0-beta-13", | ||
"version": "1.0.0-beta-14", | ||
"description": "Connex framework driver implementation in NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72858