microboard-ui-temp 0.1.79 → 0.1.80

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/dist/index.js CHANGED
@@ -284048,7 +284048,7 @@ var frontConf = {
284048
284048
  apiURL: undefined,
284049
284049
  wsURL: undefined
284050
284050
  };
284051
- var isSnapshotInIframe = typeof window !== "undefined" && window.parent && window.parent !== window && window.parent.location.href.includes("/snapshots/");
284051
+ var isSnapshotInIframe = false;
284052
284052
  var baseUrl = typeof process !== "undefined" && process.env.BASE_URL ? process.env.BASE_URL : isSnapshotInIframe ? `${window.parent.location.protocol}//${window.parent.location.host}` : `${location.protocol}//${location.host}`;
284053
284053
  var parsedUrl = new URL(baseUrl);
284054
284054
  var PROTOCOL = parsedUrl.protocol;
package/dist/spa.js CHANGED
@@ -284048,7 +284048,7 @@ var frontConf = {
284048
284048
  apiURL: undefined,
284049
284049
  wsURL: undefined
284050
284050
  };
284051
- var isSnapshotInIframe = typeof window !== "undefined" && window.parent && window.parent !== window && window.parent.location.href.includes("/snapshots/");
284051
+ var isSnapshotInIframe = false;
284052
284052
  var baseUrl = typeof process !== "undefined" && process.env.BASE_URL ? process.env.BASE_URL : isSnapshotInIframe ? `${window.parent.location.protocol}//${window.parent.location.host}` : `${location.protocol}//${location.host}`;
284053
284053
  var parsedUrl = new URL(baseUrl);
284054
284054
  var PROTOCOL = parsedUrl.protocol;
@@ -99,7 +99,7 @@ function cleanupListeners() {
99
99
  }
100
100
 
101
101
  // src/public/titlePanel.ts
102
- var isSnapshotInIframe = window.parent && window.parent !== window && window.parent.location.href.includes("/snapshots/");
102
+ var isSnapshotInIframe = false;
103
103
  var TITLE_PANEL_STYLES = {
104
104
  boxShadow: "0px 10px 16px -3px rgba(20, 21, 26, 0.08)",
105
105
  position: "fixed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.1.79",
3
+ "version": "0.1.80",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",