bdy 1.12.1-dev → 1.12.2-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.12.1-dev",
4
+ "version": "1.12.2-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -46,7 +46,7 @@ async function sendUploadRequest(files, ciInfo) {
46
46
  return json;
47
47
  }
48
48
  async function sendRequest({ path, payload, }) {
49
- const fullUrl = new URL(getServiceUrl(), path);
49
+ const fullUrl = new URL(path, getServiceUrl());
50
50
  output_1.default.debug((0, texts_1.LOG_SENDING_REQUEST)(fullUrl.toString()));
51
51
  const init = {
52
52
  method: 'POST',
@@ -268,7 +268,7 @@ async function downloadScrapPackage(buildId) {
268
268
  return response;
269
269
  }
270
270
  async function sendRequest({ path, payload, multipart, }) {
271
- const fullUrl = new URL(getServiceUrl(), path);
271
+ const fullUrl = new URL(path, getServiceUrl());
272
272
  output_1.default.debug((0, texts_1.LOG_SENDING_REQUEST)(fullUrl.toString()));
273
273
  const init = {
274
274
  method: 'GET',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.12.1-dev",
4
+ "version": "1.12.2-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {