@team-monolith/pxt-core 0.1.0 → 0.1.2

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
@@ -120947,7 +120947,7 @@ var pxt;
120947
120947
  return matches ? decodeURIComponent(matches[1]) : undefined;
120948
120948
  }
120949
120949
  function getEnv() {
120950
- return window.location.hostname.split(".")[0] === "localhost"
120950
+ return window.location.hostname === "localhost"
120951
120951
  ? "local"
120952
120952
  : window.location.hostname.includes("dev")
120953
120953
  ? "dev"
@@ -120955,7 +120955,7 @@ var pxt;
120955
120955
  }
120956
120956
  codle.getEnv = getEnv;
120957
120957
  function getCookieName(name) {
120958
- const tenant = window.location.hostname.split(".")[0];
120958
+ const tenant = window.location.hostname.split(".")[1];
120959
120959
  return `${name}_${tenant}_${getEnv()}`;
120960
120960
  }
120961
120961
  codle.getCookieName = getCookieName;
package/built/pxtlib.js CHANGED
@@ -23261,7 +23261,7 @@ var pxt;
23261
23261
  return matches ? decodeURIComponent(matches[1]) : undefined;
23262
23262
  }
23263
23263
  function getEnv() {
23264
- return window.location.hostname.split(".")[0] === "localhost"
23264
+ return window.location.hostname === "localhost"
23265
23265
  ? "local"
23266
23266
  : window.location.hostname.includes("dev")
23267
23267
  ? "dev"
@@ -23269,7 +23269,7 @@ var pxt;
23269
23269
  }
23270
23270
  codle.getEnv = getEnv;
23271
23271
  function getCookieName(name) {
23272
- const tenant = window.location.hostname.split(".")[0];
23272
+ const tenant = window.location.hostname.split(".")[1];
23273
23273
  return `${name}_${tenant}_${getEnv()}`;
23274
23274
  }
23275
23275
  codle.getCookieName = getCookieName;
package/built/target.js CHANGED
@@ -380,8 +380,8 @@ var pxtTargetBundle = {
380
380
  },
381
381
  "uploadDocs": false,
382
382
  "versions": {
383
- "target": "0.1.0",
384
- "pxt": "0.1.0"
383
+ "target": "0.1.1",
384
+ "pxt": "0.1.1"
385
385
  },
386
386
  "blocksprj": {
387
387
  "id": "blocksprj",