microboard-ui-temp 0.1.79 → 0.1.81

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;
@@ -427287,7 +427287,7 @@ function AppView() {
427287
427287
  Audio: AudioPlayer
427288
427288
  };
427289
427289
  import_react414.useEffect(() => {
427290
- if (!offlineNotificationSent) {
427290
+ if (!offlineNotificationSent && window.location.href.includes("/welcome")) {
427291
427291
  notify2({
427292
427292
  header: t11("notifications.offlineHeader"),
427293
427293
  body: t11("notifications.offlineBody"),
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;
@@ -425496,7 +425496,7 @@ function AppView() {
425496
425496
  Audio: AudioPlayer
425497
425497
  };
425498
425498
  import_react414.useEffect(() => {
425499
- if (!offlineNotificationSent) {
425499
+ if (!offlineNotificationSent && window.location.href.includes("/welcome")) {
425500
425500
  notify2({
425501
425501
  header: t11("notifications.offlineHeader"),
425502
425502
  body: t11("notifications.offlineBody"),
@@ -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.81",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",