From d957a10f47991e2c379604a367d93060e284918a Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 31 Aug 2017 14:08:15 +0200 Subject: [PATCH] Update to cater for token URL --- js/package-lock.json | 2 +- js/src/secureApi.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/package-lock.json b/js/package-lock.json index b7eb99d36..54f616b8a 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,5 +1,5 @@ { - "name": "parity.js", + "name": "Parity", "version": "1.8.17", "lockfileVersion": 1, "requires": true, diff --git a/js/src/secureApi.js b/js/src/secureApi.js index 04cef6432..ba850d60a 100644 --- a/js/src/secureApi.js +++ b/js/src/secureApi.js @@ -279,7 +279,7 @@ export default class SecureApi extends Api { const connectPromise = this._fetchSettings() .then(() => { // Update the URL and token in the transport layer - this.transport.url = SecureApi.transportUrl(this._wsUrl, this.protocol); + this.transport.url = SecureApi.transportWsUrl(this._wsUrl, this.protocol); this.provider.updateToken(token, false); log.debug('connecting with token', token);