This commit is contained in:
what 2024-05-28 11:41:59 +08:00
parent fab62e0aa9
commit 0712440e7f
3 changed files with 11 additions and 7 deletions

14
dist/ff-request.js vendored
View File

@ -421,11 +421,15 @@ class Z {
if (![0, 1].includes(n.code)) if (![0, 1].includes(n.code))
throw W(n.code, n.msg, n.data, e, n == null ? void 0 : n.res); throw W(n.code, n.msg, n.data, e, n == null ? void 0 : n.res);
return [n.code, n.msg, n.data, e, n == null ? void 0 : n.res]; return [n.code, n.msg, n.data, e, n == null ? void 0 : n.res];
}).then((n) => ((N == "#" || c && p === "GET") && l(this, m)[N].set(g, n), n)).then((n) => l(this, R).get(g).forEach((s, f, a) => { }).then((n) => ((N == "#" || c && p === "GET") && l(this, m)[N].set(g, n), n)).then((n) => {
s && s[0](n), delete a[f]; var s;
})).catch((n) => { return (s = l(this, R).get(g)) == null ? void 0 : s.forEach((f, a, h) => {
l(this, m)[N].delete(g), l(this, R).get(g).forEach((s, f, a) => { f && f[0](n), delete h[a];
s && s[1](n instanceof X ? n : W(-1, n, null, e)), delete a[f]; });
}).catch((n) => {
var s;
l(this, m)[N].delete(g), (s = l(this, R).get(g)) == null || s.forEach((f, a, h) => {
f && f[1](n instanceof X ? n : W(-1, n, null, e)), delete h[a];
}); });
}).finally(() => l(this, R).delete(g))), new Proxy(B, { }).finally(() => l(this, R).delete(g))), new Proxy(B, {
get: (n, s) => (...f) => n.then((a) => W(...a)[s](...f)).catch((a) => { get: (n, s) => (...f) => n.then((a) => W(...a)[s](...f)).catch((a) => {

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "ff-request", "name": "ff-request",
"private": true, "private": true,
"version": "0.9.10", "version": "0.9.11",
"type": "module", "type": "module",
"files": [ "files": [
"dist" "dist"