@arrowsphere/api-client 3.45.0-rc.rde.1 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,6 @@ const graphql_request_1 = require("graphql-request");
28
28
  const path = __importStar(require("path"));
29
29
  const json_to_graphql_query_1 = require("json-to-graphql-query");
30
30
  const AbstractHttpClient_1 = require("./AbstractHttpClient");
31
- const url_1 = require("url");
32
31
  class AbstractGraphQLClient extends AbstractHttpClient_1.AbstractHttpClient {
33
32
  constructor() {
34
33
  super(...arguments);
@@ -69,7 +68,7 @@ class AbstractGraphQLClient extends AbstractHttpClient_1.AbstractHttpClient {
69
68
  const basePath = this.options.isAdmin
70
69
  ? path.join('/admin', this.basePath)
71
70
  : this.basePath;
72
- const url = new url_1.URL(`${baseUrl}${basePath}${this.path}`);
71
+ const url = new URL(`${baseUrl}${basePath}${this.path}`);
73
72
  return url.toString();
74
73
  }
75
74
  stringifyQuery(query) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.45.0-rc.rde.1",
7
+ "version": "3.45.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",