@clevercloud/client
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
@@ -49,3 +49,3 @@ "use strict"; | ||
method: 'get', | ||
url: '/events/' | ||
url: '/v2/events/' | ||
}).then((0, _prefixUrl.prefixUrl)(this.apiHost)).then(this.addOauthHeader(this.tokens)).then(requestParams => { | ||
@@ -52,0 +52,0 @@ // prepare WebSocket URL from URL used for signature |
@@ -54,3 +54,3 @@ "use strict"; | ||
method: 'get', | ||
url: `/logs/${this.appId}/sse`, | ||
url: `/v2/logs/${this.appId}/sse`, | ||
queryParams: (0, _pickNonNull.pickNonNull)({ | ||
@@ -57,0 +57,0 @@ filter: this.filter, |
@@ -40,3 +40,3 @@ import { AbstractStream, AuthenticationError } from './stream.abstract.js'; | ||
method: 'get', | ||
url: '/events/', | ||
url: '/v2/events/', | ||
}) | ||
@@ -43,0 +43,0 @@ .then(prefixUrl(this.apiHost)) |
@@ -42,3 +42,3 @@ import { AbstractStream, AuthenticationError } from './stream.abstract.js'; | ||
method: 'get', | ||
url: `/logs/${this.appId}/sse`, | ||
url: `/v2/logs/${this.appId}/sse`, | ||
queryParams: pickNonNull({ | ||
@@ -45,0 +45,0 @@ filter: this.filter, |
{ | ||
"name": "@clevercloud/client", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.3", | ||
"description": "JavaScript REST client and utils for Clever Cloud's API", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/CleverCloud/clever-client.js", |
424932