rx-jupyter
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -25,3 +25,6 @@ "use strict"; | ||
url: url, | ||
responseType: "json" | ||
responseType: "json", | ||
createXHR: function createXHR() { | ||
return new XMLHttpRequest(); | ||
} | ||
}, serverConfig, opts, { | ||
@@ -28,0 +31,0 @@ // Make sure we merge in the auth headers with user given headers |
@@ -23,3 +23,3 @@ "use strict"; | ||
var _url = require("url"); | ||
var URLSearchParams = require("url-search-params"); | ||
@@ -45,4 +45,2 @@ /** | ||
*/ | ||
function get(serverConfig, id) { | ||
@@ -116,3 +114,3 @@ return (0, _ajax.ajax)((0, _base.createAJAXSettings)(serverConfig, "/api/kernels/" + id)); | ||
function formWebSocketURL(serverConfig, kernelID, sessionID) { | ||
var params = new _url.URLSearchParams(); | ||
var params = new URLSearchParams(); | ||
if (serverConfig.token) { | ||
@@ -119,0 +117,0 @@ params.append("token", serverConfig.token); |
{ | ||
"name": "rx-jupyter", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "RxJS 5 bindings for the Jupyter Notebook API", | ||
@@ -55,4 +55,5 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"rxjs": "^5.5.0" | ||
"rxjs": "^5.5.0", | ||
"url-search-params": "^0.10.0" | ||
} | ||
} |
@@ -22,3 +22,6 @@ // @flow | ||
url, | ||
responseType: "json" | ||
responseType: "json", | ||
createXHR: function() { | ||
return new XMLHttpRequest(); | ||
} | ||
}, | ||
@@ -25,0 +28,0 @@ serverConfig, |
@@ -9,3 +9,3 @@ // @flow | ||
import { URLSearchParams } from "url"; | ||
const URLSearchParams = require("url-search-params"); | ||
@@ -12,0 +12,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
73610
1519
2
+ Addedurl-search-params@^0.10.0
+ Addedurl-search-params@0.10.2(transitive)