@vezham/hooks 0.2.2 → 0.3.1

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +35 -35
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.2", rt = {};
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.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "A package for managing hooks",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,40 +17,40 @@
17
17
  "main": "./index.js",
18
18
  "types": "./index.d.ts",
19
19
  "dependencies": {
20
- "@v0xoss/use-aria-accordion": "0.0.1",
21
- "@v0xoss/use-aria-accordion-item": "0.0.1",
22
- "@v0xoss/use-aria-button": "0.0.1",
23
- "@v0xoss/use-aria-link": "0.0.1",
24
- "@v0xoss/use-aria-modal-overlay": "0.0.1",
25
- "@v0xoss/use-aria-multiselect": "0.0.1",
26
- "@v0xoss/use-callback-ref": "0.0.1",
27
- "@v0xoss/use-clipboard": "0.0.1",
28
- "@v0xoss/use-data-scroll-overflow": "0.0.1",
29
- "@v0xoss/use-disclosure": "0.0.1",
30
- "@v0xoss/use-draggable": "0.0.1",
31
- "@v0xoss/use-image": "0.0.1",
32
- "@v0xoss/use-infinite-scroll": "0.0.1",
33
- "@v0xoss/use-intersection-observer": "0.0.1",
34
- "@v0xoss/use-is-mobile": "0.0.1",
35
- "@v0xoss/use-is-mounted": "0.0.1",
36
- "@v0xoss/use-measure": "0.0.1",
37
- "@v0xoss/use-pagination": "0.0.1",
38
- "@v0xoss/use-real-shape": "0.0.1",
39
- "@v0xoss/use-ref-state": "0.0.1",
40
- "@v0xoss/use-resize": "0.0.1",
41
- "@v0xoss/use-safe-layout-effect": "0.0.1",
42
- "@v0xoss/use-scroll-position": "0.0.1",
43
- "@v0xoss/use-ssr": "0.0.1",
44
- "@v0xoss/use-theme": "0.0.1",
45
- "@v0xoss/use-update-effect": "0.0.1",
20
+ "@v0xoss/use-aria-accordion": "^0.0.5",
21
+ "@v0xoss/use-aria-accordion-item": "^0.0.5",
22
+ "@v0xoss/use-aria-button": "^0.0.5",
23
+ "@v0xoss/use-aria-link": "^0.0.5",
24
+ "@v0xoss/use-aria-modal-overlay": "^0.0.5",
25
+ "@v0xoss/use-aria-multiselect": "^0.0.5",
26
+ "@v0xoss/use-callback-ref": "^0.0.5",
27
+ "@v0xoss/use-clipboard": "^0.0.5",
28
+ "@v0xoss/use-data-scroll-overflow": "^0.0.5",
29
+ "@v0xoss/use-disclosure": "^0.0.5",
30
+ "@v0xoss/use-draggable": "^0.0.5",
31
+ "@v0xoss/use-image": "^0.0.5",
32
+ "@v0xoss/use-infinite-scroll": "^0.0.5",
33
+ "@v0xoss/use-intersection-observer": "^0.0.5",
34
+ "@v0xoss/use-is-mobile": "^0.0.5",
35
+ "@v0xoss/use-is-mounted": "^0.0.5",
36
+ "@v0xoss/use-measure": "^0.0.5",
37
+ "@v0xoss/use-pagination": "^0.0.5",
38
+ "@v0xoss/use-real-shape": "^0.0.5",
39
+ "@v0xoss/use-ref-state": "^0.0.5",
40
+ "@v0xoss/use-resize": "^0.0.5",
41
+ "@v0xoss/use-safe-layout-effect": "^0.0.5",
42
+ "@v0xoss/use-scroll-position": "^0.0.5",
43
+ "@v0xoss/use-ssr": "^0.0.5",
44
+ "@v0xoss/use-theme": "^0.0.5",
45
+ "@v0xoss/use-update-effect": "^0.0.5",
46
46
  "@v0xoss/usehooks-ts": "^0.0.2",
47
- "@vezham/use-axios": "0.2.2",
48
- "@vezham/use-get-device": "0.2.2",
49
- "@vezham/use-logger": "0.2.2",
50
- "@vezham/use-markdown": "0.2.2",
51
- "@vezham/use-scroll-to": "0.2.2",
52
- "@vezham/use-shortcut": "0.2.2",
53
- "@vezham/use-store": "0.2.2",
54
- "@vezham/use-toast": "0.2.2"
47
+ "@vezham/use-axios": "0.3.1",
48
+ "@vezham/use-get-device": "0.3.1",
49
+ "@vezham/use-logger": "0.3.1",
50
+ "@vezham/use-markdown": "0.3.1",
51
+ "@vezham/use-scroll-to": "0.3.1",
52
+ "@vezham/use-shortcut": "0.3.1",
53
+ "@vezham/use-store": "0.3.1",
54
+ "@vezham/use-toast": "0.3.1"
55
55
  }
56
56
  }