pinokiod 3.191.0 → 3.192.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.191.0",
3
+ "version": "3.192.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6739,8 +6739,6 @@ body.dark .pinokio-fork-dropdown-remote, body.dark .pinokio-publish-dropdown-rem
6739
6739
  init.click()
6740
6740
  }
6741
6741
  window.addEventListener('message', (event) => {
6742
- console.log("EVENT", event)
6743
-
6744
6742
  // only process the event it's coming from pinokio
6745
6743
  let origin = event.origin
6746
6744
  if (origin) {
@@ -593,8 +593,6 @@ document.addEventListener("DOMContentLoaded", async () => {
593
593
  document.querySelector("#error-screen").classList.add("hidden")
594
594
  })
595
595
  */
596
- console.log("instance", instance)
597
- console.log("EVENT", packet.event)
598
596
  instance.mark(packet.event)
599
597
  let element = document.querySelector("mark")
600
598
  element.scrollIntoView({ behavior: "smooth", block: "center" });
@@ -1484,25 +1484,21 @@ body.dark .appcanvas {
1484
1484
  })
1485
1485
  }
1486
1486
  let init = document.querySelector("[data-init]")
1487
- console.log("init")
1488
1487
  if (init) {
1489
1488
  init.click()
1490
1489
  }
1491
1490
  /*
1492
1491
  window.addEventListener("hashchange", function () {
1493
- console.log("Hash changed:", location.hash);
1494
1492
  location.reload()
1495
1493
  });
1496
1494
  */
1497
1495
  window.addEventListener('message', (event) => {
1498
1496
  refresh()
1499
- console.log("EVENT" ,event.data)
1500
1497
 
1501
1498
  // only process the event it's coming from pinokio
1502
1499
  let origin = event.origin
1503
1500
  if (origin) {
1504
1501
  let port = new URL(origin).port || 80
1505
- console.log("port", port)
1506
1502
  if (String(port) === "<%=port%>") {
1507
1503
  console.log("Message received from the child: ", event); // Message received from child
1508
1504
  if (event.type === "start") {
@@ -1515,10 +1511,7 @@ body.dark .appcanvas {
1515
1511
  } else if (event.data.action.type === "title") {
1516
1512
  console.log("title", event.data)
1517
1513
  } else if (event.data.action.type === "location") {
1518
- console.log("EVENT", event)
1519
1514
  let url = event.data.action.url
1520
- console.log({ action: event.data.action })
1521
-
1522
1515
  //document.querySelector("#location").value = url
1523
1516
  let pathname = new URL(url).pathname
1524
1517
  if (pathname.startsWith("/run")) {