jupyter-js-services
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -984,4 +984,5 @@ // Copyright (c) Jupyter Development Team. | ||
var comm = new Comm(content.target_name, content.comm_id, _this._sendCommMessage.bind(_this), function () { _this._unregisterComm(content.comm_id); }); | ||
var response; | ||
try { | ||
target(comm, msg); | ||
response = target(comm, msg); | ||
} | ||
@@ -993,5 +994,7 @@ catch (e) { | ||
} | ||
_this._commPromises.delete(comm.commId); | ||
_this._comms.set(comm.commId, comm); | ||
return comm; | ||
return Promise.resolve(response).then(function () { | ||
_this._commPromises.delete(comm.commId); | ||
_this._comms.set(comm.commId, comm); | ||
return comm; | ||
}); | ||
}); | ||
@@ -998,0 +1001,0 @@ this._commPromises.set(content.comm_id, promise); |
{ | ||
"name": "jupyter-js-services", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
209364
5954