microboard-ui-temp 0.1.78 → 0.1.79

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
@@ -448865,9 +448865,9 @@ function createApp(isHistory = true) {
448865
448865
  }
448866
448866
  async function openAndEditFile() {
448867
448867
  try {
448868
- const isSnapshotInIframe2 = window.parent && window.parent !== window && window.parent.location.href.includes("/snapshots/");
448868
+ const isSnapshotInIframe2 = false;
448869
448869
  if (isSnapshotInIframe2) {
448870
- const snapshotId = window.parent.location.href.split("/snapshots/")[1];
448870
+ const snapshotId = "1";
448871
448871
  const snapshot2 = document.documentElement.outerHTML;
448872
448872
  const boardId = await boardsList.createBoard(snapshotId.split("?")[0] + " copy", !account.isLoggedIn);
448873
448873
  await app.connection.connect();
package/dist/spa.js CHANGED
@@ -447074,9 +447074,9 @@ function createApp(isHistory = true) {
447074
447074
  }
447075
447075
  async function openAndEditFile() {
447076
447076
  try {
447077
- const isSnapshotInIframe2 = window.parent && window.parent !== window && window.parent.location.href.includes("/snapshots/");
447077
+ const isSnapshotInIframe2 = false;
447078
447078
  if (isSnapshotInIframe2) {
447079
- const snapshotId = window.parent.location.href.split("/snapshots/")[1];
447079
+ const snapshotId = "1";
447080
447080
  const snapshot2 = document.documentElement.outerHTML;
447081
447081
  const boardId = await boardsList.createBoard(snapshotId.split("?")[0] + " copy", !account.isLoggedIn);
447082
447082
  await app.connection.connect();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",