@vezham/hooks 0.2.2 → 0.3.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.
- package/index.mjs +2 -2
- package/package.json +9 -9
package/index.mjs
CHANGED
|
@@ -2102,7 +2102,7 @@ function we(e, t) {
|
|
|
2102
2102
|
const In = (e) => {
|
|
2103
2103
|
const t = we({}, e);
|
|
2104
2104
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: s, auth: i } = t;
|
|
2105
|
-
t.headers = s = J.from(s), t.url = _n(Bn(t.baseURL, t.url), e.params, e.paramsSerializer), i && s.set(
|
|
2105
|
+
t.headers = s = J.from(s), t.url = _n(Bn(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && s.set(
|
|
2106
2106
|
"Authorization",
|
|
2107
2107
|
"Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
|
|
2108
2108
|
);
|
|
@@ -2452,7 +2452,7 @@ function cn(e) {
|
|
|
2452
2452
|
), r.response.headers = J.from(r.response.headers))), Promise.reject(r);
|
|
2453
2453
|
});
|
|
2454
2454
|
}
|
|
2455
|
-
const jn = "1.8.
|
|
2455
|
+
const jn = "1.8.3", rt = {};
|
|
2456
2456
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2457
2457
|
rt[e] = function(r) {
|
|
2458
2458
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vezham/hooks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A package for managing hooks",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@v0xoss/use-theme": "0.0.1",
|
|
45
45
|
"@v0xoss/use-update-effect": "0.0.1",
|
|
46
46
|
"@v0xoss/usehooks-ts": "^0.0.2",
|
|
47
|
-
"@vezham/use-axios": "0.
|
|
48
|
-
"@vezham/use-get-device": "0.
|
|
49
|
-
"@vezham/use-logger": "0.
|
|
50
|
-
"@vezham/use-markdown": "0.
|
|
51
|
-
"@vezham/use-scroll-to": "0.
|
|
52
|
-
"@vezham/use-shortcut": "0.
|
|
53
|
-
"@vezham/use-store": "0.
|
|
54
|
-
"@vezham/use-toast": "0.
|
|
47
|
+
"@vezham/use-axios": "0.3.0",
|
|
48
|
+
"@vezham/use-get-device": "0.3.0",
|
|
49
|
+
"@vezham/use-logger": "0.3.0",
|
|
50
|
+
"@vezham/use-markdown": "0.3.0",
|
|
51
|
+
"@vezham/use-scroll-to": "0.3.0",
|
|
52
|
+
"@vezham/use-shortcut": "0.3.0",
|
|
53
|
+
"@vezham/use-store": "0.3.0",
|
|
54
|
+
"@vezham/use-toast": "0.3.0"
|
|
55
55
|
}
|
|
56
56
|
}
|