wherever-dev 0.2.0 → 0.3.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.
Files changed (68) hide show
  1. package/dist/index.js +119 -15
  2. package/dist/index.js.map +1 -1
  3. package/dist/protocol.d.ts +13 -0
  4. package/dist/protocol.d.ts.map +1 -1
  5. package/dist/protocol.js +5 -1
  6. package/dist/protocol.js.map +1 -1
  7. package/dist/session-pool.d.ts +24 -0
  8. package/dist/session-pool.d.ts.map +1 -1
  9. package/dist/session-pool.js +106 -2
  10. package/dist/session-pool.js.map +1 -1
  11. package/package.json +1 -1
  12. package/public/_app/immutable/assets/0.q9wI9TO7.css +1 -0
  13. package/public/_app/immutable/chunks/6X7J6WvW.js +2 -0
  14. package/public/_app/immutable/chunks/{_lppinj8.js.map → 6X7J6WvW.js.map} +1 -1
  15. package/public/_app/immutable/chunks/Bd0XWRPL.js +2 -0
  16. package/public/_app/immutable/chunks/{BqMutrfe.js.map → Bd0XWRPL.js.map} +1 -1
  17. package/public/_app/immutable/chunks/BmiXjuDY.js +2 -0
  18. package/public/_app/immutable/chunks/{DiYtJzYU.js.map → BmiXjuDY.js.map} +1 -1
  19. package/public/_app/immutable/chunks/Bx-JhvcJ.js +2 -0
  20. package/public/_app/immutable/chunks/{BEWoN05F.js.map → Bx-JhvcJ.js.map} +1 -1
  21. package/public/_app/immutable/chunks/DRkv8Frb.js +2 -0
  22. package/public/_app/immutable/chunks/{B5WJGjcR.js.map → DRkv8Frb.js.map} +1 -1
  23. package/public/_app/immutable/chunks/D_-ITvkp.js +2 -0
  24. package/public/_app/immutable/chunks/D_-ITvkp.js.map +1 -0
  25. package/public/_app/immutable/chunks/Db42-KyD.js +3 -0
  26. package/public/_app/immutable/chunks/{DFxBx2vA.js.map → Db42-KyD.js.map} +1 -1
  27. package/public/_app/immutable/entry/app.BCW_w5jE.js +3 -0
  28. package/public/_app/immutable/entry/app.BCW_w5jE.js.map +1 -0
  29. package/public/_app/immutable/entry/start.B21iffdh.js +2 -0
  30. package/public/_app/immutable/entry/start.B21iffdh.js.map +1 -0
  31. package/public/_app/immutable/nodes/0.DzrPFEHh.js +4 -0
  32. package/public/_app/immutable/nodes/{0.BzvDOlXz.js.map → 0.DzrPFEHh.js.map} +1 -1
  33. package/public/_app/immutable/nodes/1.BiDjgup0.js +2 -0
  34. package/public/_app/immutable/nodes/{1.DMtW3tA5.js.map → 1.BiDjgup0.js.map} +1 -1
  35. package/public/_app/immutable/nodes/2.0Tnfs-pB.js +25 -0
  36. package/public/_app/immutable/nodes/2.0Tnfs-pB.js.map +1 -0
  37. package/public/_app/version.json +1 -1
  38. package/public/index.html +16 -16
  39. package/public/pwa/apple-touch-icon.png +0 -0
  40. package/public/pwa/favicon-192.png +0 -0
  41. package/public/pwa/favicon-512.png +0 -0
  42. package/public/pwa/favicon.ico +0 -0
  43. package/public/pwa/favicon.svg +1 -0
  44. package/public/pwa/manifest.webmanifest +31 -7
  45. package/public/pwa/maskable-192.png +0 -0
  46. package/public/pwa/maskable-512.png +0 -0
  47. package/public/pwa/screenshot-desktop.png +0 -0
  48. package/public/pwa/screenshot-mobile.png +0 -0
  49. package/public/robots.txt +5 -0
  50. package/public/service-worker.js +1 -305
  51. package/public/_app/immutable/assets/0.DvZxoQjW.css +0 -2754
  52. package/public/_app/immutable/chunks/B5WJGjcR.js +0 -23
  53. package/public/_app/immutable/chunks/BEWoN05F.js +0 -110
  54. package/public/_app/immutable/chunks/BqMutrfe.js +0 -2129
  55. package/public/_app/immutable/chunks/DFxBx2vA.js +0 -897
  56. package/public/_app/immutable/chunks/DiYtJzYU.js +0 -396
  57. package/public/_app/immutable/chunks/_lppinj8.js +0 -879
  58. package/public/_app/immutable/chunks/rMw82gDs.js +0 -3048
  59. package/public/_app/immutable/chunks/rMw82gDs.js.map +0 -1
  60. package/public/_app/immutable/entry/app.BFki2czn.js +0 -309
  61. package/public/_app/immutable/entry/app.BFki2czn.js.map +0 -1
  62. package/public/_app/immutable/entry/start.BceUuq27.js +0 -6
  63. package/public/_app/immutable/entry/start.BceUuq27.js.map +0 -1
  64. package/public/_app/immutable/nodes/0.BzvDOlXz.js +0 -546
  65. package/public/_app/immutable/nodes/1.DMtW3tA5.js +0 -24
  66. package/public/_app/immutable/nodes/2.CnZp8abw.js +0 -5152
  67. package/public/_app/immutable/nodes/2.CnZp8abw.js.map +0 -1
  68. package/public/icon.png +0 -0
@@ -1,23 +0,0 @@
1
- import { c as stores, p as page$2 } from "./BqMutrfe.js";
2
- const page$1 = {
3
- get error() {
4
- return page$2.error;
5
- },
6
- get state() {
7
- return page$2.state;
8
- },
9
- get status() {
10
- return page$2.status;
11
- },
12
- get url() {
13
- return page$2.url;
14
- }
15
- };
16
- ({
17
- check: stores.updated.check
18
- });
19
- const page = page$1;
20
- export {
21
- page as p
22
- };
23
- //# sourceMappingURL=B5WJGjcR.js.map
@@ -1,110 +0,0 @@
1
- import { X as component_context, aa as effect, aR as render_effect, bd as untrack, J as active_effect, e as DESTROYING, S as STATE_SYMBOL } from "./rMw82gDs.js";
2
- function is_bound_this(bound_value, element_or_component) {
3
- return bound_value === element_or_component || bound_value?.[STATE_SYMBOL] === element_or_component;
4
- }
5
- function bind_this(element_or_component = {}, update, get_value, get_parts) {
6
- var component_effect = (
7
- /** @type {ComponentContext} */
8
- component_context.r
9
- );
10
- var parent = (
11
- /** @type {Effect} */
12
- active_effect
13
- );
14
- effect(() => {
15
- var old_parts;
16
- var parts;
17
- render_effect(() => {
18
- old_parts = parts;
19
- parts = [];
20
- untrack(() => {
21
- if (!is_bound_this(get_value(...parts), element_or_component)) {
22
- update(element_or_component, ...parts);
23
- if (old_parts && is_bound_this(get_value(...old_parts), element_or_component)) {
24
- update(null, ...old_parts);
25
- }
26
- }
27
- });
28
- });
29
- return () => {
30
- let p = parent;
31
- while (p !== component_effect && p.parent !== null && p.parent.f & DESTROYING) {
32
- p = p.parent;
33
- }
34
- const teardown = () => {
35
- if (parts && is_bound_this(get_value(...parts), element_or_component)) {
36
- update(null, ...parts);
37
- }
38
- };
39
- const original_teardown = p.teardown;
40
- p.teardown = () => {
41
- teardown();
42
- original_teardown?.();
43
- };
44
- };
45
- });
46
- return element_or_component;
47
- }
48
- const scriptRel = "modulepreload";
49
- const assetsURL = function(dep, importerUrl) {
50
- return new URL(dep, importerUrl).href;
51
- };
52
- const seen = {};
53
- const __vitePreload = function preload(baseModule, deps, importerUrl) {
54
- let promise = Promise.resolve();
55
- if (deps && deps.length > 0) {
56
- let allSettled = function(promises$2) {
57
- return Promise.all(promises$2.map((p) => Promise.resolve(p).then((value$1) => ({
58
- status: "fulfilled",
59
- value: value$1
60
- }), (reason) => ({
61
- status: "rejected",
62
- reason
63
- }))));
64
- };
65
- const links = document.getElementsByTagName("link");
66
- const cspNonceMeta = document.querySelector("meta[property=csp-nonce]");
67
- const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
68
- promise = allSettled(deps.map((dep) => {
69
- dep = assetsURL(dep, importerUrl);
70
- if (dep in seen) return;
71
- seen[dep] = true;
72
- const isCss = dep.endsWith(".css");
73
- const cssSelector = isCss ? '[rel="stylesheet"]' : "";
74
- if (!!importerUrl) for (let i$1 = links.length - 1; i$1 >= 0; i$1--) {
75
- const link$1 = links[i$1];
76
- if (link$1.href === dep && (!isCss || link$1.rel === "stylesheet")) return;
77
- }
78
- else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) return;
79
- const link = document.createElement("link");
80
- link.rel = isCss ? "stylesheet" : scriptRel;
81
- if (!isCss) link.as = "script";
82
- link.crossOrigin = "";
83
- link.href = dep;
84
- if (cspNonce) link.setAttribute("nonce", cspNonce);
85
- document.head.appendChild(link);
86
- if (isCss) return new Promise((res, rej) => {
87
- link.addEventListener("load", res);
88
- link.addEventListener("error", () => rej(/* @__PURE__ */ new Error(`Unable to preload CSS for ${dep}`)));
89
- });
90
- }));
91
- }
92
- function handlePreloadError(err$2) {
93
- const e$1 = new Event("vite:preloadError", { cancelable: true });
94
- e$1.payload = err$2;
95
- window.dispatchEvent(e$1);
96
- if (!e$1.defaultPrevented) throw err$2;
97
- }
98
- return promise.then((res) => {
99
- for (const item of res || []) {
100
- if (item.status !== "rejected") continue;
101
- handlePreloadError(item.reason);
102
- }
103
- return baseModule().catch(handlePreloadError);
104
- });
105
- };
106
- export {
107
- __vitePreload as _,
108
- bind_this as b
109
- };
110
- //# sourceMappingURL=BEWoN05F.js.map