@opencor/opencor 0.20251024.0 → 0.20251027.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.
@@ -6621,7 +6621,7 @@ const sf = /* @__PURE__ */ Ie({
6621
6621
  }
6622
6622
  }), ff = "opencor", mf = `${ff}://`, bt = 69, hf = 169, ni = 3e3, gl = (/* @__PURE__ */ new Date()).getFullYear(), gf = gl === 2025 ? "2025" : `2025-${String(gl)}`;
6623
6623
  function Hs(n) {
6624
- return `https://cors-proxy.opencor.workers.dev/?url=${encodeURIComponent(n)}`;
6624
+ return `https://cors-proxy.opencor.workers.dev/?url=${n}`;
6625
6625
  }
6626
6626
  function hr(n) {
6627
6627
  return n.startsWith("http://") || n.startsWith("https://");
@@ -8222,14 +8222,14 @@ async function Ef() {
8222
8222
  try {
8223
8223
  const n = (await import(
8224
8224
  /* @vite-ignore */
8225
- Hs("https://opencor.ws/libopencor/downloads/wasm/libopencor-0.20251022.0.js")
8225
+ Hs("https://opencor.ws/libopencor/downloads/wasm/libopencor-0.20251027.0.js")
8226
8226
  )).default;
8227
8227
  Ft = await n();
8228
8228
  } catch (n) {
8229
8229
  console.error("Failed to load libOpenCOR's WebAssembly module:", n);
8230
8230
  }
8231
8231
  }
8232
- const Pf = "0.20251024.0", $f = { class: "space-y-7" }, Df = { class: "text-center" }, Uf = { class: "text-3xl font-bold" }, zf = {
8232
+ const Pf = "0.20251027.0", $f = { class: "space-y-7" }, Df = { class: "text-center" }, Uf = { class: "text-3xl font-bold" }, zf = {
8233
8233
  key: 0,
8234
8234
  class: "text-xl italic font-bold"
8235
8235
  }, Nf = { class: "text-sm italic" }, Af = { class: "space-y-2" }, jf = /* @__PURE__ */ x("a", {
@@ -9339,7 +9339,7 @@ const Sm = { class: "items-center mt-2 mb-4" }, xm = /* @__PURE__ */ x("label",
9339
9339
  setup(n, { emit: e }) {
9340
9340
  const t = e, o = O.ref("");
9341
9341
  function i() {
9342
- o.value !== "" && (t("openRemote", o.value), r());
9342
+ o.value !== "" && (t("openRemote", decodeURI(o.value)), r());
9343
9343
  }
9344
9344
  function r() {
9345
9345
  o.value = "", t("close");
package/package.json CHANGED
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "./style.css": "./dist/opencor.css"
41
41
  },
42
- "version": "0.20251024.0",
42
+ "version": "0.20251027.0",
43
43
  "scripts": {
44
44
  "build": "vite build",
45
45
  "build:lib": "vite build --config vite.lib.config.ts && cp index.d.ts dist/index.d.ts",