@nil-/xit 0.2.6 → 0.2.8

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/assets/index.html CHANGED
@@ -3,8 +3,8 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <link rel="icon" href="/assets/favicon.svg" />
7
- <meta property="og:image" content="/assets/icon.png" />
6
+ <link rel="icon" href="/favicon.svg" />
7
+ <meta property="og:image" content="/icon.png" />
8
8
  <meta property="og:title" content="nil/xit" />
9
9
  <meta property="og:description" content="C++ w/ svelte ui" />
10
10
  <title>nil/xit</title>
@@ -18,7 +18,7 @@
18
18
  }
19
19
  </style>
20
20
  <script type="module" defer>
21
- import { create_component } from "/assets/index.js";
21
+ import { create_component } from "/index.js";
22
22
  const params = new URLSearchParams(location.search);
23
23
  const destroy = await create_component(document.getElementById("xit"), {
24
24
  host: "/ws",
package/assets/index.js CHANGED
@@ -94,7 +94,7 @@ const ht = (s) => {
94
94
  };
95
95
  function oe(s) {
96
96
  return new Worker(
97
- "/assets/bundler.js",
97
+ "" + new URL("bundler.js", import.meta.url).href,
98
98
  {
99
99
  name: s == null ? void 0 : s.name
100
100
  }
@@ -2434,7 +2434,7 @@ const _e = async (s) => new Promise((t, e) => {
2434
2434
  Mt({ id: t, tag: e, host: s, service: o }),
2435
2435
  _e({ host: s, cdn_url: i, id: t, tag: e })
2436
2436
  ]), b = {
2437
- svelte: () => import("./svelte/index.js").then((p) => p.bX),
2437
+ svelte: () => import("./svelte/index.js").then((p) => p.b_),
2438
2438
  "svelte/store": () => import("./svelte/store.js").then((p) => p.i),
2439
2439
  "svelte/animate": () => import("./svelte/animate.js"),
2440
2440
  "svelte/easing": () => import("./svelte/easing.js"),