@clevercloud/client
Advanced tools
Comparing version 8.1.1 to 8.1.2
@@ -118,3 +118,3 @@ "use strict"; | ||
url: url.origin + url.pathname, | ||
queryParams: Object.entries(url.searchParams) | ||
queryParams: Object.fromEntries(url.searchParams) | ||
}; | ||
@@ -131,3 +131,3 @@ | ||
}, CONNECTION_TIMEOUT_MS); | ||
(0, _sseFetchEventSource.fetchEventSource)(requestParams.url, { | ||
(0, _sseFetchEventSource.fetchEventSource)(url.toString(), { | ||
headers: requestParams.headers, | ||
@@ -134,0 +134,0 @@ abortController: this._abortController, |
@@ -111,3 +111,3 @@ import { CustomEventTarget } from './custom-event-target.js'; | ||
url: url.origin + url.pathname, | ||
queryParams: Object.entries(url.searchParams), | ||
queryParams: Object.fromEntries(url.searchParams), | ||
}; | ||
@@ -125,3 +125,3 @@ if (this._tokens != null) { | ||
fetchEventSource(requestParams.url, { | ||
fetchEventSource(url.toString(), { | ||
headers: requestParams.headers, | ||
@@ -128,0 +128,0 @@ abortController: this._abortController, |
{ | ||
"name": "@clevercloud/client", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"description": "JavaScript REST client and utils for Clever Cloud's API", | ||
@@ -29,3 +29,3 @@ "homepage": "https://github.com/CleverCloud/clever-client.js", | ||
"lint:fix": "eslint --fix esm tasks/*.cjs test", | ||
"prepack": "npm run lint && npm run generate-client", | ||
"prepack": "npm run lint && npm run test-wtr && npm run generate-client", | ||
"test-wtr": "web-test-runner", | ||
@@ -32,0 +32,0 @@ "test-wtr:watch": "web-test-runner --watch", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
600547
4