@jupyterlab/docprovider
Advanced tools
Comparing version 3.1.13 to 3.1.15
@@ -82,6 +82,2 @@ /* ----------------------------------------------------------------------------- | ||
this._path = newPath; | ||
// The next time the provider connects, we should connect through a different server url | ||
this.bcChannel = | ||
this._serverUrl + '/' + this._contentType + ':' + this._path; | ||
this.url = this.bcChannel; | ||
const encoder = encoding.createEncoder(); | ||
@@ -96,2 +92,9 @@ encoding.write(encoder, 123); | ||
this._sendMessage(encoding.toUint8Array(encoder)); | ||
// prevent publishing messages to the old channel id. | ||
this.disconnectBc(); | ||
// The next time the provider connects, we should connect through a different server url | ||
this.bcChannel = | ||
this._serverUrl + '/' + this._contentType + ':' + this._path; | ||
this.url = this.bcChannel; | ||
this.connectBc(); | ||
} | ||
@@ -98,0 +101,0 @@ } |
{ | ||
"name": "@jupyterlab/docprovider", | ||
"version": "3.1.13", | ||
"version": "3.1.15", | ||
"description": "JupyterLab - Document Provider", | ||
@@ -40,3 +40,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/shared-models": "^3.1.13", | ||
"@jupyterlab/shared-models": "^3.1.15", | ||
"@lumino/coreutils": "^1.5.3", | ||
@@ -48,3 +48,3 @@ "lib0": "^0.2.42", | ||
"devDependencies": { | ||
"@jupyterlab/testutils": "^3.1.13", | ||
"@jupyterlab/testutils": "^3.1.15", | ||
"@types/jest": "^26.0.10", | ||
@@ -58,3 +58,4 @@ "jest": "^26.4.2", | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "31e2ff8ae65fa20180f3c14a1c257a750aafda3b" | ||
} |
Sorry, the diff of this file is not supported yet
27194
17
498