quasar-ui-danx 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +4 -3
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +2 -2
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/request.ts +3 -2
- package/src/types/requests.d.ts +1 -1
package/dist/danx.es.js
CHANGED
@@ -9906,9 +9906,10 @@ const Ue = {
|
|
9906
9906
|
const o = await i.json();
|
9907
9907
|
if (i.status === 401) {
|
9908
9908
|
const l = (s = Fe.value.request) == null ? void 0 : s.onUnauthorized;
|
9909
|
-
return l ? l(i) : {
|
9909
|
+
return l ? l(o, i) : {
|
9910
9910
|
error: !0,
|
9911
|
-
message: "Unauthorized"
|
9911
|
+
message: "Unauthorized",
|
9912
|
+
...o
|
9912
9913
|
};
|
9913
9914
|
}
|
9914
9915
|
return i.status > 400 && o.exception && !o.error && (o.error = !0), o;
|
@@ -19855,7 +19856,7 @@ const Tk = { class: "flex space-x-2" }, kk = ["innerHTML"], Va = {
|
|
19855
19856
|
], 2);
|
19856
19857
|
};
|
19857
19858
|
}
|
19858
|
-
}, Nk = "quasar-ui-danx", Mk = "0.4.
|
19859
|
+
}, Nk = "quasar-ui-danx", Mk = "0.4.7", Lk = "Dan <dan@flytedesk.com>", Rk = "DanX Vue / Quasar component library", Uk = "MIT", Bk = "module", qk = "dist/danx.es.js", jk = "dist/danx.es.js", zk = {
|
19859
19860
|
dev: "cd dev && quasar dev && cd ..",
|
19860
19861
|
build: "vite build",
|
19861
19862
|
preview: "vite preview",
|