wherever-dev 0.2.0 → 0.4.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 (70) hide show
  1. package/dist/index.js +217 -17
  2. package/dist/index.js.map +1 -1
  3. package/dist/protocol.d.ts +21 -1
  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 +92 -2
  8. package/dist/session-pool.d.ts.map +1 -1
  9. package/dist/session-pool.js +466 -14
  10. package/dist/session-pool.js.map +1 -1
  11. package/dist/session-types.d.ts +17 -0
  12. package/dist/session-types.d.ts.map +1 -1
  13. package/package.json +1 -1
  14. package/public/_app/immutable/assets/0.CgLKPJWX.css +1 -0
  15. package/public/_app/immutable/chunks/CEg8tgYI.js +2 -0
  16. package/public/_app/immutable/chunks/CEg8tgYI.js.map +1 -0
  17. package/public/_app/immutable/chunks/CTVuBuYH.js +2 -0
  18. package/public/_app/immutable/chunks/{B5WJGjcR.js.map → CTVuBuYH.js.map} +1 -1
  19. package/public/_app/immutable/chunks/DBDAFnY6.js +2 -0
  20. package/public/_app/immutable/chunks/{BqMutrfe.js.map → DBDAFnY6.js.map} +1 -1
  21. package/public/_app/immutable/chunks/MtE7VtNZ.js +2 -0
  22. package/public/_app/immutable/chunks/{DiYtJzYU.js.map → MtE7VtNZ.js.map} +1 -1
  23. package/public/_app/immutable/chunks/S778j9fy.js +2 -0
  24. package/public/_app/immutable/chunks/{_lppinj8.js.map → S778j9fy.js.map} +1 -1
  25. package/public/_app/immutable/chunks/vMsF8lo6.js +3 -0
  26. package/public/_app/immutable/chunks/{DFxBx2vA.js.map → vMsF8lo6.js.map} +1 -1
  27. package/public/_app/immutable/chunks/ylfInSZr.js +2 -0
  28. package/public/_app/immutable/chunks/{BEWoN05F.js.map → ylfInSZr.js.map} +1 -1
  29. package/public/_app/immutable/entry/app.CklFlIiC.js +3 -0
  30. package/public/_app/immutable/entry/app.CklFlIiC.js.map +1 -0
  31. package/public/_app/immutable/entry/start.sF1k4jCY.js +2 -0
  32. package/public/_app/immutable/entry/start.sF1k4jCY.js.map +1 -0
  33. package/public/_app/immutable/nodes/0.BEHRw2jv.js +4 -0
  34. package/public/_app/immutable/nodes/{0.BzvDOlXz.js.map → 0.BEHRw2jv.js.map} +1 -1
  35. package/public/_app/immutable/nodes/1.2gk2c-6t.js +2 -0
  36. package/public/_app/immutable/nodes/{1.DMtW3tA5.js.map → 1.2gk2c-6t.js.map} +1 -1
  37. package/public/_app/immutable/nodes/2.Dto-NrSs.js +82 -0
  38. package/public/_app/immutable/nodes/2.Dto-NrSs.js.map +1 -0
  39. package/public/_app/version.json +1 -1
  40. package/public/index.html +16 -16
  41. package/public/pwa/apple-touch-icon.png +0 -0
  42. package/public/pwa/favicon-192.png +0 -0
  43. package/public/pwa/favicon-512.png +0 -0
  44. package/public/pwa/favicon.ico +0 -0
  45. package/public/pwa/favicon.svg +1 -0
  46. package/public/pwa/manifest.webmanifest +31 -7
  47. package/public/pwa/maskable-192.png +0 -0
  48. package/public/pwa/maskable-512.png +0 -0
  49. package/public/pwa/screenshot-desktop.png +0 -0
  50. package/public/pwa/screenshot-mobile.png +0 -0
  51. package/public/robots.txt +5 -0
  52. package/public/service-worker.js +1 -305
  53. package/public/_app/immutable/assets/0.DvZxoQjW.css +0 -2754
  54. package/public/_app/immutable/chunks/B5WJGjcR.js +0 -23
  55. package/public/_app/immutable/chunks/BEWoN05F.js +0 -110
  56. package/public/_app/immutable/chunks/BqMutrfe.js +0 -2129
  57. package/public/_app/immutable/chunks/DFxBx2vA.js +0 -897
  58. package/public/_app/immutable/chunks/DiYtJzYU.js +0 -396
  59. package/public/_app/immutable/chunks/_lppinj8.js +0 -879
  60. package/public/_app/immutable/chunks/rMw82gDs.js +0 -3048
  61. package/public/_app/immutable/chunks/rMw82gDs.js.map +0 -1
  62. package/public/_app/immutable/entry/app.BFki2czn.js +0 -309
  63. package/public/_app/immutable/entry/app.BFki2czn.js.map +0 -1
  64. package/public/_app/immutable/entry/start.BceUuq27.js +0 -6
  65. package/public/_app/immutable/entry/start.BceUuq27.js.map +0 -1
  66. package/public/_app/immutable/nodes/0.BzvDOlXz.js +0 -546
  67. package/public/_app/immutable/nodes/1.DMtW3tA5.js +0 -24
  68. package/public/_app/immutable/nodes/2.CnZp8abw.js +0 -5152
  69. package/public/_app/immutable/nodes/2.CnZp8abw.js.map +0 -1
  70. 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