@team-monolith/pxt-core 0.1.2 → 0.1.3

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.
@@ -23275,6 +23275,9 @@ var pxt;
23275
23275
  }
23276
23276
  codle.getEnv = getEnv;
23277
23277
  function getCookieName(name) {
23278
+ if (window.location.hostname === "localhost") {
23279
+ return `${name}_localhost_local`;
23280
+ }
23278
23281
  const tenant = window.location.hostname.split(".")[1];
23279
23282
  return `${name}_${tenant}_${getEnv()}`;
23280
23283
  }
@@ -120956,6 +120956,9 @@ var pxt;
120956
120956
  }
120957
120957
  codle.getEnv = getEnv;
120958
120958
  function getCookieName(name) {
120959
+ if (window.location.hostname === "localhost") {
120960
+ return `${name}_localhost_local`;
120961
+ }
120959
120962
  const tenant = window.location.hostname.split(".")[1];
120960
120963
  return `${name}_${tenant}_${getEnv()}`;
120961
120964
  }
@@ -23269,6 +23269,9 @@ var pxt;
23269
23269
  }
23270
23270
  codle.getEnv = getEnv;
23271
23271
  function getCookieName(name) {
23272
+ if (window.location.hostname === "localhost") {
23273
+ return `${name}_localhost_local`;
23274
+ }
23272
23275
  const tenant = window.location.hostname.split(".")[1];
23273
23276
  return `${name}_${tenant}_${getEnv()}`;
23274
23277
  }
@@ -120966,6 +120966,9 @@ var pxt;
120966
120966
  }
120967
120967
  codle.getEnv = getEnv;
120968
120968
  function getCookieName(name) {
120969
+ if (window.location.hostname === "localhost") {
120970
+ return `${name}_localhost_local`;
120971
+ }
120969
120972
  const tenant = window.location.hostname.split(".")[1];
120970
120973
  return `${name}_${tenant}_${getEnv()}`;
120971
120974
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/pxt-core",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "files": [
5
5
  "README.md",
6
6
  "built/*.js",