@fkn/lib 0.9.23 → 0.9.25
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/account.cjs +1 -1
- package/account.d.ts +7 -3
- package/account.js +7 -7
- package/api-BCJO3EWi.cjs +3 -0
- package/api-CesI0aMl.d.ts +677 -0
- package/{api-Jq4OSTp1.js → api-DLvscoll.js} +99 -96
- package/api.cjs +1 -0
- package/api.d.ts +3 -0
- package/api.js +2 -0
- package/attach-policy.cjs +1 -0
- package/attach-policy.d.ts +35 -0
- package/attach-policy.js +43 -0
- package/{busy-Bp1E3JPT.js → busy-B189uX--.js} +1 -1
- package/cloud/dgram.cjs +1 -1
- package/cloud/dgram.js +2 -2
- package/cloud/dns.d.ts +1 -1
- package/cloud/fetch.cjs +1 -1
- package/cloud/fetch.d.ts +1 -1
- package/cloud/fetch.js +1 -1
- package/cloud/fs/promises.d.ts +7 -6
- package/cloud/fs/promises.js +1 -1
- package/cloud/fs.cjs +1 -1
- package/cloud/fs.d.ts +3 -3
- package/cloud/fs.js +10 -9
- package/cloud/net.cjs +1 -1
- package/cloud/net.d.ts +1 -1
- package/cloud/net.js +3 -3
- package/cloud-B2ZG-0MF.cjs +1 -0
- package/cloud-B7pI3pp1.d.ts +37 -0
- package/{cloud-7rfQ2BRH.js → cloud-DolBoNvR.js} +59 -97
- package/cloud.cjs +1 -1
- package/cloud.d.ts +4 -4
- package/cloud.js +4 -4
- package/{connect-button-Ds9KpXHe.js → connect-button-CN4ZJwT6.js} +1 -1
- package/{connect-button-D8KXSL6s.d.ts → connect-button-DdoEikEd.d.ts} +1 -1
- package/contract-D6ksmIm6.d.ts +394 -0
- package/contract.cjs +0 -0
- package/contract.d.ts +3 -0
- package/contract.js +0 -0
- package/desktop.js +1 -1
- package/dgram.cjs +1 -1
- package/dgram.d.ts +6 -47
- package/dgram.js +406 -2
- package/dns.cjs +1 -1
- package/dns.d.ts +1 -3
- package/dns.js +2 -2
- package/extension-CJUeVRXf.d.ts +361 -0
- package/extension-DBazc3ff.cjs +1 -0
- package/extension-Dw9gzvei.js +84 -0
- package/extension.cjs +1 -1
- package/extension.d.ts +3 -3
- package/extension.js +3 -3
- package/fs/promises.cjs +1 -1
- package/fs/promises.d.ts +8 -9
- package/fs/promises.js +2 -2
- package/fs-DYP7utdw.cjs +1 -0
- package/{fs-CUmugp10.d.ts → fs-DlGE0ZNu.d.ts} +20 -21
- package/{fs-pOQSZfuf.js → fs-d2ANVBkm.js} +8 -8
- package/fs.cjs +1 -1
- package/fs.d.ts +2 -2
- package/fs.js +1 -1
- package/http.cjs +3 -3
- package/http.d.ts +4 -6
- package/http.js +8 -8
- package/{index-CJ0vHTcS.d.ts → index-BQgZVQl7.d.ts} +4 -7
- package/{index-DY8WjklJ.d.ts → index-BhO-wymH.d.ts} +15 -293
- package/{index-BIZeEsNu.d.ts → index-CGJTVju4.d.ts} +52 -46
- package/index.cjs +1 -1
- package/index.d.ts +12 -13
- package/index.js +60 -49
- package/lib-DLM2M3_i.cjs +53 -0
- package/{lib-k3lstfa4.js → lib-duLPF_WZ.js} +328 -277
- package/messages-DvpKMTsY.d.ts +28 -0
- package/messages.cjs +1 -0
- package/messages.d.ts +2 -0
- package/messages.js +4 -0
- package/{net-DaWv81tQ.d.ts → net-DAOcF3Eb.d.ts} +12 -16
- package/net.cjs +1 -1
- package/net.d.ts +1 -1
- package/net.js +318 -3
- package/{node-fs-BZCQUmeE.js → node-fs-C9ECR_9H.js} +2 -2
- package/opfs/promises.d.ts +7 -8
- package/opfs/promises.js +1 -1
- package/{opfs-BibrNGF0.js → opfs-D0goLAQW.js} +1 -1
- package/opfs.d.ts +24 -26
- package/opfs.js +3 -3
- package/package.json +27 -2
- package/packages.cjs +1 -1
- package/packages.d.ts +143 -2
- package/packages.js +15 -15
- package/{proxy-DmMu2_1z.d.ts → proxy-BubvP9sg.d.ts} +3 -3
- package/{proxy-BNdvRifw.cjs → proxy-CefKCs-i.cjs} +1 -1
- package/{proxy-CRbkWS4E.js → proxy-KUfE4cEQ.js} +3 -3
- package/react.d.ts +3 -7
- package/react.js +2 -2
- package/{storage-BNjLc1FV.js → storage-BjGr_vC4.js} +5 -5
- package/storage-DLB4ciMf.cjs +1 -0
- package/utils-BvgGdrgN.cjs +1 -0
- package/{utils-DVlbuXmW.js → utils-C-cAd4r4.js} +2 -3
- package/wire-Gbo-D74t.d.ts +91 -0
- package/wire.cjs +1 -0
- package/wire.d.ts +2 -0
- package/wire.js +4 -0
- package/api-BGYSJVvR.d.ts +0 -789
- package/api-C-TpWHAU.cjs +0 -3
- package/cloud-BqjwL5KM.cjs +0 -1
- package/cloud-DMTkzfcf.d.ts +0 -36
- package/dgram-BLN-mfgq.cjs +0 -1
- package/dgram-DHQcHefn.js +0 -405
- package/extension-B8Y0sUwC.js +0 -78
- package/extension-CMPZjuaV.d.ts +0 -16
- package/extension-CgSGjcSl.cjs +0 -1
- package/fs-BNnozBMU.cjs +0 -1
- package/lib-DbiVHPXE.cjs +0 -53
- package/lookup-BtwWaCZJ.d.ts +0 -7
- package/net-B6RHtWwe.cjs +0 -1
- package/net-yBkobZqK.js +0 -317
- package/packages-Cn8S-Hkn.d.ts +0 -217
- package/storage-qxXFLgTM.d.ts +0 -44
- package/storage-xAeRQQiz.cjs +0 -1
- package/utils-QfNXtEhb.cjs +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as cloudFetch } from "./proxy-BubvP9sg.js";
|
|
2
|
+
import { i as Frame, r as AttachFrameOptions } from "./index-BhO-wymH.js";
|
|
3
|
+
import { t as dns_d_exports } from "./dns.js";
|
|
4
|
+
import { n as fs_d_exports } from "./fs-DlGE0ZNu.js";
|
|
5
|
+
import { s as net_d_exports } from "./net-DAOcF3Eb.js";
|
|
6
|
+
import { t as dgram_d_exports } from "./dgram.js";
|
|
7
|
+
import { t as http_d_exports } from "./http.js";
|
|
8
|
+
//#region src/cloud/frame.d.ts
|
|
9
|
+
declare const attachFrame: ({ iframe, domains, syncCookies, lockdown }: AttachFrameOptions) => Promise<Frame>;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/quota.d.ts
|
|
12
|
+
type QuotaStatus = {
|
|
13
|
+
/** the user has a paid subscription, throttle never applies */
|
|
14
|
+
premium: boolean;
|
|
15
|
+
/** today's free-tier volume is spent (true even for premium, see `throttled`) */
|
|
16
|
+
overQuota: boolean;
|
|
17
|
+
/** transfers are actually being rate-limited right now (overQuota and not premium) */
|
|
18
|
+
throttled: boolean;
|
|
19
|
+
/** bytes egressed through FKN relays today (per connected account or anonymized IP), saturates at limitBytes:
|
|
20
|
+
* consumption past the free-tier volume is private and never reported */
|
|
21
|
+
usedBytes: number;
|
|
22
|
+
/** free-tier daily volume before throttling kicks in */
|
|
23
|
+
limitBytes: number;
|
|
24
|
+
/** bytes of free-tier volume left today */
|
|
25
|
+
remainingBytes: number;
|
|
26
|
+
/** current effective egress rate cap, bytes per second */
|
|
27
|
+
bytesPerSecond: number;
|
|
28
|
+
/** current effective egress rate cap, bits per second (for display) */
|
|
29
|
+
bitsPerSecond: number;
|
|
30
|
+
};
|
|
31
|
+
declare const quota: () => Promise<QuotaStatus>;
|
|
32
|
+
declare namespace cloud_d_exports {
|
|
33
|
+
export { QuotaStatus, attachFrame, available, dgram_d_exports as dgram, dns_d_exports as dns, cloudFetch as fetch, fs_d_exports as fs, http_d_exports as http, net_d_exports as net, quota };
|
|
34
|
+
}
|
|
35
|
+
declare const available: () => boolean;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { attachFrame as a, quota as i, cloud_d_exports as n, QuotaStatus as r, available as t };
|
|
@@ -1,73 +1,35 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as l } from "./busy-
|
|
5
|
-
import { t as u } from "./proxy-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
import { W as t, a as n, d as r, m as i, s as a, u as o } from "./lib-duLPF_WZ.js";
|
|
3
|
+
import { a as s, c } from "./api-DLvscoll.js";
|
|
4
|
+
import { t as l } from "./busy-B189uX--.js";
|
|
5
|
+
import { t as u } from "./proxy-KUfE4cEQ.js";
|
|
6
|
+
import { frameFetchVerdict as d, normalizeDeclaredHosts as f } from "./attach-policy.js";
|
|
7
|
+
import { t as p } from "./dns.js";
|
|
8
|
+
import { t as m } from "./cloud/fs.js";
|
|
9
|
+
import { t as h } from "./net.js";
|
|
10
|
+
import { t as g } from "./dgram.js";
|
|
11
|
+
import { t as _ } from "./http.js";
|
|
12
|
+
import { expose as v } from "osra";
|
|
13
|
+
//#region ../web-extension/lib/lib/locator-permissions.js
|
|
14
|
+
var y = {
|
|
14
15
|
scope: "frame.fetchRead",
|
|
15
16
|
category: "network",
|
|
16
17
|
severity: 3,
|
|
17
18
|
unsafe: !0,
|
|
18
19
|
title: "Read your account data on this site",
|
|
19
20
|
description: "Lets the app read pages and data from this site as you, using the session in the frame."
|
|
20
|
-
},
|
|
21
|
+
}, b = {
|
|
21
22
|
scope: "frame.fetchWrite",
|
|
22
23
|
category: "network",
|
|
23
24
|
severity: 3,
|
|
24
25
|
unsafe: !0,
|
|
25
26
|
title: "Change your account data on this site",
|
|
26
27
|
description: "Lets the app send changes to this site as you, using the session in the frame."
|
|
27
|
-
},
|
|
28
|
+
}, x = /* @__PURE__ */ new Set([
|
|
28
29
|
"GET",
|
|
29
30
|
"HEAD",
|
|
30
31
|
"OPTIONS"
|
|
31
|
-
]),
|
|
32
|
-
let t = [];
|
|
33
|
-
for (let n of e) {
|
|
34
|
-
let e = n.trim().toLowerCase();
|
|
35
|
-
!e || e.length > 253 || /^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/.test(e) && (t.includes(e) || t.push(e));
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
}, S = (e, t) => {
|
|
39
|
-
if (!e.session) return {
|
|
40
|
-
kind: "refuse",
|
|
41
|
-
reason: "frame.fetch on the cloud backend needs its own session: attach with syncCookies: false"
|
|
42
|
-
};
|
|
43
|
-
if (typeof t != "string") return {
|
|
44
|
-
kind: "refuse",
|
|
45
|
-
reason: "frame.fetch: url must be a string"
|
|
46
|
-
};
|
|
47
|
-
let n;
|
|
48
|
-
try {
|
|
49
|
-
n = new URL(t);
|
|
50
|
-
} catch {
|
|
51
|
-
return {
|
|
52
|
-
kind: "refuse",
|
|
53
|
-
reason: "frame.fetch on the cloud backend needs an absolute url"
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
if (n.protocol !== "https:" && n.protocol !== "http:") return {
|
|
57
|
-
kind: "refuse",
|
|
58
|
-
reason: "frame.fetch: only http(s) urls are supported"
|
|
59
|
-
};
|
|
60
|
-
if (!(e.declaredHosts.includes(n.hostname) || e.approvedOrigins.has(n.origin))) return {
|
|
61
|
-
kind: "refuse",
|
|
62
|
-
reason: "frame.fetch: the target is outside the origins this attachment declared"
|
|
63
|
-
};
|
|
64
|
-
let r = e.declaredHosts.length ? e.declaredHosts : [n.hostname];
|
|
65
|
-
return {
|
|
66
|
-
kind: "consent",
|
|
67
|
-
targetHost: n.hostname,
|
|
68
|
-
promptHosts: r
|
|
69
|
-
};
|
|
70
|
-
}, C = (e) => e, w = "autoplay; fullscreen; encrypted-media; picture-in-picture; clipboard-read; clipboard-write", T = 2e4, E = 65e3, D = 3e4, O = 5e3, k = /* @__PURE__ */ new Set([]), A = () => "https://fkn.app", j = (e) => !e || e === "about:blank", M = (e) => e ? "" : `incognito-${crypto.randomUUID()}`, N = ({ target: e, session: t, domains: n }) => {
|
|
32
|
+
]), S = (e, t) => x.has((t?.method ?? "GET").toUpperCase()) ? y : b, C = (e) => e, w = "autoplay; fullscreen; encrypted-media; picture-in-picture; clipboard-read; clipboard-write", T = 2e4, E = 65e3, D = 3e4, O = 5e3, k = /* @__PURE__ */ new Set([]), A = () => "https://fkn.app", j = (e) => !e || e === "about:blank", M = (e) => e ? "" : `incognito-${crypto.randomUUID()}`, N = ({ target: e, session: t, domains: n }) => {
|
|
71
33
|
let r = new URL("/attach-frame", A());
|
|
72
34
|
return e && r.searchParams.set("url", e), t && r.searchParams.set("session", t), n.length && r.searchParams.set("domains", n.join(",")), r.href;
|
|
73
35
|
}, P = (e, t, n) => {
|
|
@@ -84,7 +46,7 @@ var _ = {
|
|
|
84
46
|
window.removeEventListener("pagehide", n), i.disconnect();
|
|
85
47
|
};
|
|
86
48
|
window.addEventListener("pagehide", n, { once: !0 }), r && i.observe(r, { childList: !0 }), e.isConnected || (a(), t());
|
|
87
|
-
}, I = () => Object.assign(/* @__PURE__ */ Error("cloud.attachFrame: the attached iframe left the document or was reloaded; attach a fresh iframe"), { name:
|
|
49
|
+
}, I = () => Object.assign(/* @__PURE__ */ Error("cloud.attachFrame: the attached iframe left the document or was reloaded; attach a fresh iframe"), { name: o }), L = (e, t) => {
|
|
88
50
|
let n = [...e.split(";"), ...t.split(";")].map((e) => e.trim()).filter(Boolean);
|
|
89
51
|
return [...new Set(n)].join("; ");
|
|
90
52
|
}, R = [
|
|
@@ -106,87 +68,87 @@ var _ = {
|
|
|
106
68
|
if (t === null) return;
|
|
107
69
|
let n = new Set(t.toLowerCase().split(/\s+/).filter(Boolean)), r = ["allow-scripts", "allow-same-origin"].filter((e) => !n.has(e));
|
|
108
70
|
if (r.length) throw Error(`cloud.attachFrame: the iframe's sandbox attribute must include ${r.join(" and ")} for the render proxy to load`);
|
|
109
|
-
}, V = async ({ iframe: e, domains:
|
|
71
|
+
}, V = async ({ iframe: e, domains: o = [], syncCookies: c = !0, lockdown: u = !1 }) => {
|
|
110
72
|
if (typeof window > "u") throw Error("cloud.attachFrame needs a window realm");
|
|
111
73
|
if (u) throw Error("cloud.attachFrame does not support lockdown; use the extension backend for a sealed frame");
|
|
112
74
|
if (!e.isConnected) throw Error("cloud.attachFrame: the iframe must be connected to the document before attaching");
|
|
113
75
|
B(e);
|
|
114
|
-
let
|
|
115
|
-
if (j(
|
|
76
|
+
let p = e.getAttribute("src") ?? "", m = (() => {
|
|
77
|
+
if (j(p)) return null;
|
|
116
78
|
try {
|
|
117
|
-
return new URL(e.src ||
|
|
79
|
+
return new URL(e.src || p, location.href);
|
|
118
80
|
} catch {
|
|
119
|
-
throw Error(`cloud.attachFrame: the iframe src is not a valid URL: ${
|
|
81
|
+
throw Error(`cloud.attachFrame: the iframe src is not a valid URL: ${p}`);
|
|
120
82
|
}
|
|
121
83
|
})();
|
|
122
|
-
if (
|
|
84
|
+
if (m) {
|
|
123
85
|
let e = new URL("/attach-frame", A());
|
|
124
|
-
if (
|
|
86
|
+
if (m.origin === e.origin && m.pathname === e.pathname) throw Error("cloud.attachFrame: this iframe is already attached; navigate with the Frame returned by that attach or use a fresh iframe");
|
|
125
87
|
}
|
|
126
|
-
let
|
|
127
|
-
|
|
128
|
-
let
|
|
88
|
+
let h = m?.href ?? "";
|
|
89
|
+
h && a(h);
|
|
90
|
+
let g = h, _ = M(c), y = f(o), b = /* @__PURE__ */ new Set();
|
|
129
91
|
try {
|
|
130
|
-
|
|
92
|
+
b.add(new URL(h).origin);
|
|
131
93
|
} catch {}
|
|
132
|
-
let
|
|
94
|
+
let x = new AbortController(), R = e.referrerPolicy, V = e.allow;
|
|
133
95
|
if (e.referrerPolicy = "origin", e.allow = L(w, e.allow), e.src = N({
|
|
134
|
-
target:
|
|
135
|
-
session:
|
|
136
|
-
domains:
|
|
96
|
+
target: h,
|
|
97
|
+
session: _,
|
|
98
|
+
domains: y
|
|
137
99
|
}), !e.contentWindow) throw Error("cloud.attachFrame: the iframe window is not available");
|
|
138
100
|
try {
|
|
139
|
-
let a = await P(
|
|
101
|
+
let a = await P(v({}, {
|
|
140
102
|
key: "fkn-attach-frame",
|
|
141
103
|
origin: A(),
|
|
142
104
|
transport: {
|
|
143
105
|
receive: window,
|
|
144
106
|
emit: e.contentWindow
|
|
145
107
|
},
|
|
146
|
-
unregisterSignal:
|
|
108
|
+
unregisterSignal: x.signal,
|
|
147
109
|
revivableModules: C(t)
|
|
148
110
|
}), T, "cloud.attachFrame: timed out connecting to the render proxy page");
|
|
149
|
-
await P(a.ready(), E, "cloud.attachFrame: the render proxy never became ready"),
|
|
111
|
+
await P(a.ready(), E, "cloud.attachFrame: the render proxy never became ready"), h && z(e), F(e, () => x.abort());
|
|
150
112
|
let o = l("attached frame");
|
|
151
|
-
|
|
152
|
-
let
|
|
153
|
-
if (!(!
|
|
113
|
+
x.signal.aborted ? o() : x.signal.addEventListener("abort", o, { once: !0 });
|
|
114
|
+
let c = e.contentWindow, u = () => {
|
|
115
|
+
if (!(!x.signal.aborted && e.isConnected && e.contentWindow === c)) throw x.abort(), I();
|
|
154
116
|
};
|
|
155
|
-
return
|
|
117
|
+
return n({
|
|
156
118
|
executor: {
|
|
157
|
-
execute: (e, t, n) => k.has(t) ? Promise.reject(
|
|
119
|
+
execute: (e, t, n) => k.has(t) ? Promise.reject(r(t, "cloud")) : (u(), a.executeLocator(e, t, n)),
|
|
158
120
|
highlight: async () => {}
|
|
159
121
|
},
|
|
160
122
|
gate: async (e) => {
|
|
161
123
|
if (e.operation !== "fetch") return;
|
|
162
|
-
let t =
|
|
163
|
-
session:
|
|
164
|
-
declaredHosts:
|
|
165
|
-
approvedOrigins:
|
|
124
|
+
let t = d({
|
|
125
|
+
session: _,
|
|
126
|
+
declaredHosts: y,
|
|
127
|
+
approvedOrigins: b
|
|
166
128
|
}, e.args[0]);
|
|
167
|
-
if (t.kind === "refuse") throw
|
|
168
|
-
if (!await (await
|
|
169
|
-
scope:
|
|
129
|
+
if (t.kind === "refuse") throw i(t.reason, "fetch");
|
|
130
|
+
if (!await (await s).frameConsent.ensure({
|
|
131
|
+
scope: S(e.args[0], e.args[1]).scope,
|
|
170
132
|
hosts: t.promptHosts
|
|
171
|
-
})) throw
|
|
133
|
+
})) throw i("frame.fetch: the user did not grant this", "fetch");
|
|
172
134
|
},
|
|
173
135
|
goto: async (t, n = {}) => {
|
|
174
136
|
let r = new URL(t, location.href).href;
|
|
175
137
|
u();
|
|
176
138
|
let { timeoutMs: i } = n;
|
|
177
|
-
await P(a.goto(r, n), (i ?? D) + O, "cloud.attachFrame: the render proxy did not answer goto; the frame may have been detached or its page reloaded"),
|
|
139
|
+
await P(a.goto(r, n), (i ?? D) + O, "cloud.attachFrame: the render proxy did not answer goto; the frame may have been detached or its page reloaded"), g = r;
|
|
178
140
|
try {
|
|
179
|
-
|
|
141
|
+
b.add(new URL(r).origin);
|
|
180
142
|
} catch {}
|
|
181
143
|
z(e);
|
|
182
144
|
},
|
|
183
|
-
url: () =>
|
|
145
|
+
url: () => g
|
|
184
146
|
});
|
|
185
147
|
} catch (t) {
|
|
186
|
-
throw
|
|
148
|
+
throw x.abort(), e.referrerPolicy = R, e.allow = V, e.src = h || "about:blank", t;
|
|
187
149
|
}
|
|
188
150
|
}, H = () => typeof window < "u" && !0, U = async () => {
|
|
189
|
-
let e = await
|
|
151
|
+
let e = await s.then((e) => e.cloud.quota());
|
|
190
152
|
return {
|
|
191
153
|
premium: e.premium,
|
|
192
154
|
overQuota: e.overQuota,
|
|
@@ -200,13 +162,13 @@ var _ = {
|
|
|
200
162
|
}, W = /* @__PURE__ */ e({
|
|
201
163
|
attachFrame: () => V,
|
|
202
164
|
available: () => G,
|
|
203
|
-
dgram: () =>
|
|
204
|
-
dns: () =>
|
|
165
|
+
dgram: () => g,
|
|
166
|
+
dns: () => p,
|
|
205
167
|
fetch: () => u,
|
|
206
|
-
fs: () =>
|
|
207
|
-
http: () =>
|
|
208
|
-
net: () =>
|
|
168
|
+
fs: () => m,
|
|
169
|
+
http: () => _,
|
|
170
|
+
net: () => h,
|
|
209
171
|
quota: () => U
|
|
210
|
-
}), G = () =>
|
|
172
|
+
}), G = () => c;
|
|
211
173
|
//#endregion
|
|
212
174
|
export { H as a, V as i, W as n, U as r, G as t };
|
package/cloud.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./proxy-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./proxy-CefKCs-i.cjs"),t=require("./cloud-B2ZG-0MF.cjs"),n=require("./dns.cjs"),r=require("./cloud/fs.cjs"),i=require("./net.cjs"),a=require("./dgram.cjs"),o=require("./http.cjs");exports.attachFrame=t.i,exports.available=t.t,Object.defineProperty(exports,"dgram",{enumerable:!0,get:function(){return a.t}}),Object.defineProperty(exports,"dns",{enumerable:!0,get:function(){return n.t}}),exports.fetch=e.t,Object.defineProperty(exports,"fs",{enumerable:!0,get:function(){return r.t}}),Object.defineProperty(exports,"http",{enumerable:!0,get:function(){return o.t}}),Object.defineProperty(exports,"net",{enumerable:!0,get:function(){return i.t}}),exports.quota=t.r;
|
package/cloud.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cloudFetch } from "./proxy-
|
|
2
|
-
import { a as attachFrame, i as quota, r as QuotaStatus, t as available } from "./cloud-
|
|
1
|
+
import { t as cloudFetch } from "./proxy-BubvP9sg.js";
|
|
2
|
+
import { a as attachFrame, i as quota, r as QuotaStatus, t as available } from "./cloud-B7pI3pp1.js";
|
|
3
3
|
import { t as dns_d_exports } from "./dns.js";
|
|
4
|
-
import { n as fs_d_exports } from "./fs-
|
|
5
|
-
import { s as net_d_exports } from "./net-
|
|
4
|
+
import { n as fs_d_exports } from "./fs-DlGE0ZNu.js";
|
|
5
|
+
import { s as net_d_exports } from "./net-DAOcF3Eb.js";
|
|
6
6
|
import { t as dgram_d_exports } from "./dgram.js";
|
|
7
7
|
import { t as http_d_exports } from "./http.js";
|
|
8
8
|
export { type QuotaStatus, attachFrame, available, dgram_d_exports as dgram, dns_d_exports as dns, cloudFetch as fetch, fs_d_exports as fs, http_d_exports as http, net_d_exports as net, quota };
|
package/cloud.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./proxy-
|
|
2
|
-
import { i as t, r as n, t as r } from "./cloud-
|
|
1
|
+
import { t as e } from "./proxy-KUfE4cEQ.js";
|
|
2
|
+
import { i as t, r as n, t as r } from "./cloud-DolBoNvR.js";
|
|
3
3
|
import { t as i } from "./dns.js";
|
|
4
4
|
import { t as a } from "./cloud/fs.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { t as o } from "./net.js";
|
|
6
|
+
import { t as s } from "./dgram.js";
|
|
7
7
|
import { t as c } from "./http.js";
|
|
8
8
|
export { t as attachFrame, r as available, s as dgram, i as dns, e as fetch, a as fs, c as http, o as net, n as quota };
|