@team-monolith/pxt-core 0.1.3 → 0.1.4

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.
package/built/pxt.js CHANGED
@@ -98407,7 +98407,8 @@ var pxt;
98407
98407
  headers["Authorization"] = `Bearer ${token}`;
98408
98408
  }
98409
98409
  headers[X_PXT_TARGET] = (_a = pxt.appTarget) === null || _a === void 0 ? void 0 : _a.id;
98410
- url = pxt.BrowserUtils.isLocalHostDev() ? `${pxt.cloud.DEV_BACKEND}${url}` : `${pxt.Cloud.apiRoot}${url}`;
98410
+ // url = pxt.BrowserUtils.isLocalHostDev() ? `${pxt.cloud.DEV_BACKEND}${url}` : url;
98411
+ url = `${pxt.Cloud.apiRoot.replace(/\/$/, "")}${url}`;
98411
98412
  return pxt.Util.requestAsync({
98412
98413
  url,
98413
98414
  headers,
package/built/pxtlib.js CHANGED
@@ -721,7 +721,8 @@ var pxt;
721
721
  headers["Authorization"] = `Bearer ${token}`;
722
722
  }
723
723
  headers[X_PXT_TARGET] = (_a = pxt.appTarget) === null || _a === void 0 ? void 0 : _a.id;
724
- url = pxt.BrowserUtils.isLocalHostDev() ? `${pxt.cloud.DEV_BACKEND}${url}` : `${pxt.Cloud.apiRoot}${url}`;
724
+ // url = pxt.BrowserUtils.isLocalHostDev() ? `${pxt.cloud.DEV_BACKEND}${url}` : url;
725
+ url = `${pxt.Cloud.apiRoot.replace(/\/$/, "")}${url}`;
725
726
  return pxt.Util.requestAsync({
726
727
  url,
727
728
  headers,
package/built/target.js CHANGED
@@ -380,8 +380,8 @@ var pxtTargetBundle = {
380
380
  },
381
381
  "uploadDocs": false,
382
382
  "versions": {
383
- "target": "0.1.2",
384
- "pxt": "0.1.2"
383
+ "target": "0.1.3",
384
+ "pxt": "0.1.3"
385
385
  },
386
386
  "blocksprj": {
387
387
  "id": "blocksprj",
@@ -4302,7 +4302,7 @@ var pxtTargetBundle = {
4302
4302
  }
4303
4303
  }
4304
4304
  },
4305
- "sha": "353e36020af9138fe2e2e73bc79d90d1fc8f52e8d6526499b889438c24b53b43"
4305
+ "sha": "b7ed78479e6582d2b004d3cc14686d9b9022444280b17075ca8fac68c21b5485"
4306
4306
  }
4307
4307
  }
4308
4308
  }