@team-monolith/pxt-core 0.1.0 → 0.1.1
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 +2 -2
- package/built/pxtlib.js +2 -2
- package/built/web/pxtapp.js +2 -2
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +2 -2
- package/built/web/pxtworker.js +2 -2
- package/package.json +1 -1
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
|
|
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(".")[
|
|
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
|
|
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(".")[
|
|
23272
|
+
const tenant = window.location.hostname.split(".")[1];
|
|
23273
23273
|
return `${name}_${tenant}_${getEnv()}`;
|
|
23274
23274
|
}
|
|
23275
23275
|
codle.getCookieName = getCookieName;
|
package/built/web/pxtapp.js
CHANGED
|
@@ -23267,7 +23267,7 @@ var pxt;
|
|
|
23267
23267
|
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
23268
23268
|
}
|
|
23269
23269
|
function getEnv() {
|
|
23270
|
-
return window.location.hostname
|
|
23270
|
+
return window.location.hostname === "localhost"
|
|
23271
23271
|
? "local"
|
|
23272
23272
|
: window.location.hostname.includes("dev")
|
|
23273
23273
|
? "dev"
|
|
@@ -23275,7 +23275,7 @@ var pxt;
|
|
|
23275
23275
|
}
|
|
23276
23276
|
codle.getEnv = getEnv;
|
|
23277
23277
|
function getCookieName(name) {
|
|
23278
|
-
const tenant = window.location.hostname.split(".")[
|
|
23278
|
+
const tenant = window.location.hostname.split(".")[1];
|
|
23279
23279
|
return `${name}_${tenant}_${getEnv()}`;
|
|
23280
23280
|
}
|
|
23281
23281
|
codle.getCookieName = getCookieName;
|
package/built/web/pxtembed.js
CHANGED
|
@@ -120948,7 +120948,7 @@ var pxt;
|
|
|
120948
120948
|
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
120949
120949
|
}
|
|
120950
120950
|
function getEnv() {
|
|
120951
|
-
return window.location.hostname
|
|
120951
|
+
return window.location.hostname === "localhost"
|
|
120952
120952
|
? "local"
|
|
120953
120953
|
: window.location.hostname.includes("dev")
|
|
120954
120954
|
? "dev"
|
|
@@ -120956,7 +120956,7 @@ var pxt;
|
|
|
120956
120956
|
}
|
|
120957
120957
|
codle.getEnv = getEnv;
|
|
120958
120958
|
function getCookieName(name) {
|
|
120959
|
-
const tenant = window.location.hostname.split(".")[
|
|
120959
|
+
const tenant = window.location.hostname.split(".")[1];
|
|
120960
120960
|
return `${name}_${tenant}_${getEnv()}`;
|
|
120961
120961
|
}
|
|
120962
120962
|
codle.getCookieName = getCookieName;
|
package/built/web/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
|
|
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(".")[
|
|
23272
|
+
const tenant = window.location.hostname.split(".")[1];
|
|
23273
23273
|
return `${name}_${tenant}_${getEnv()}`;
|
|
23274
23274
|
}
|
|
23275
23275
|
codle.getCookieName = getCookieName;
|
package/built/web/pxtworker.js
CHANGED
|
@@ -120958,7 +120958,7 @@ var pxt;
|
|
|
120958
120958
|
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
120959
120959
|
}
|
|
120960
120960
|
function getEnv() {
|
|
120961
|
-
return window.location.hostname
|
|
120961
|
+
return window.location.hostname === "localhost"
|
|
120962
120962
|
? "local"
|
|
120963
120963
|
: window.location.hostname.includes("dev")
|
|
120964
120964
|
? "dev"
|
|
@@ -120966,7 +120966,7 @@ var pxt;
|
|
|
120966
120966
|
}
|
|
120967
120967
|
codle.getEnv = getEnv;
|
|
120968
120968
|
function getCookieName(name) {
|
|
120969
|
-
const tenant = window.location.hostname.split(".")[
|
|
120969
|
+
const tenant = window.location.hostname.split(".")[1];
|
|
120970
120970
|
return `${name}_${tenant}_${getEnv()}`;
|
|
120971
120971
|
}
|
|
120972
120972
|
codle.getCookieName = getCookieName;
|