@basmilius/http-client 3.14.0 → 3.16.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@basmilius/http-client",
3
3
  "description": "Http client for Vue projects.",
4
- "version": "3.14.0",
4
+ "version": "3.16.0",
5
5
  "license": "MIT",
6
6
  "funding": "https://github.com/sponsors/basmilius",
7
7
  "homepage": "https://github.com/basmilius/packages",
@@ -46,12 +46,12 @@
46
46
  "provenance": true
47
47
  },
48
48
  "dependencies": {
49
- "@basmilius/utils": "3.14.0",
49
+ "@basmilius/utils": "3.16.0",
50
50
  "luxon": "^3.7.2",
51
- "vue": "^3.6.0-beta.8"
51
+ "vue": "^3.6.0-beta.9"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/luxon": "^3.7.1",
55
- "tsdown": "^0.21.4"
55
+ "tsdown": "^0.21.7"
56
56
  }
57
57
  }
@@ -55,7 +55,7 @@ export default {
55
55
 
56
56
  return Reflect.set(target, key, value);
57
57
  }
58
- } satisfies ProxyHandler<unknown[]>;
58
+ } satisfies ProxyHandler<unknown[]> as ProxyHandler<unknown[]>;
59
59
 
60
60
  /**
61
61
  * Checks if the given key should be ignored by the proxy.
@@ -46,4 +46,4 @@ export default {
46
46
 
47
47
  return new Proxy(ref, refProxy) as unknown as DtoInstance<unknown>;
48
48
  }
49
- } satisfies ProxyHandler<Constructor>;
49
+ } satisfies ProxyHandler<Constructor> as ProxyHandler<Constructor>;
@@ -86,4 +86,4 @@ export default {
86
86
 
87
87
  return true;
88
88
  }
89
- } satisfies ProxyHandler<DtoInstance<unknown>>;
89
+ } satisfies ProxyHandler<DtoInstance<unknown>> as ProxyHandler<DtoInstance<unknown>>;
@@ -58,4 +58,4 @@ export default {
58
58
 
59
59
  return Reflect.set(target.value, key, value);
60
60
  }
61
- } satisfies ProxyHandler<Ref<DtoInstance<unknown>>>;
61
+ } satisfies ProxyHandler<Ref<DtoInstance<unknown>>> as ProxyHandler<Ref<DtoInstance<unknown>>>;
@@ -1,3 +1,3 @@
1
- export default function () {
1
+ export default function (): string {
2
2
  return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, c => (+c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +c / 4).toString(16));
3
3
  }