v0.9.11
This commit is contained in:
parent
fab62e0aa9
commit
0712440e7f
14
dist/ff-request.js
vendored
14
dist/ff-request.js
vendored
@ -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) => {
|
||||||
|
2
dist/ff-request.umd.cjs
vendored
2
dist/ff-request.umd.cjs
vendored
File diff suppressed because one or more lines are too long
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user