nectiasw 0.0.79 → 0.0.81
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/dist/index.d.ts +1 -0
- package/dist/index.es.js +7 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +50 -50
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export type { GrantArgs, PrivateProps } from './providers/private';
|
|
|
95
95
|
export { useCache } from './hooks/usecache';
|
|
96
96
|
export { useToggle } from './hooks/usetoggle';
|
|
97
97
|
export { useCheckbox } from './hooks/usecheckbox';
|
|
98
|
+
export { useCustomEvent } from './components/Layout/hooks';
|
|
98
99
|
export { defaultConfig } from './hooks/usecache/config';
|
|
99
100
|
export { defaultCacheQueryOptions } from './utils/cache';
|
|
100
101
|
export { sort } from './utils/sort';
|
package/dist/index.es.js
CHANGED
|
@@ -41623,8 +41623,9 @@ class HttpClient {
|
|
|
41623
41623
|
this.requestInterceptor = this.https.interceptors.request.use(
|
|
41624
41624
|
requestInterceptor,
|
|
41625
41625
|
(error2) => {
|
|
41626
|
-
|
|
41627
|
-
|
|
41626
|
+
var _a3;
|
|
41627
|
+
this.logger("requestError", error2);
|
|
41628
|
+
if (((_a3 = error2.request) == null ? void 0 : _a3.status) === HttpStatusCode.Unauthorized) {
|
|
41628
41629
|
const event = new CustomEvent("@unauthorized", {
|
|
41629
41630
|
detail: error2
|
|
41630
41631
|
});
|
|
@@ -41636,8 +41637,9 @@ class HttpClient {
|
|
|
41636
41637
|
this.responseInterceptor = this.https.interceptors.response.use(
|
|
41637
41638
|
responseInterceptor,
|
|
41638
41639
|
(error2) => {
|
|
41639
|
-
|
|
41640
|
-
|
|
41640
|
+
var _a3;
|
|
41641
|
+
this.logger("responseError", error2);
|
|
41642
|
+
if (((_a3 = error2.response) == null ? void 0 : _a3.status) === HttpStatusCode.Unauthorized) {
|
|
41641
41643
|
const event = new CustomEvent("@unauthorized", {
|
|
41642
41644
|
detail: error2
|
|
41643
41645
|
});
|
|
@@ -56484,6 +56486,7 @@ export {
|
|
|
56484
56486
|
useBroadcaster,
|
|
56485
56487
|
useCache,
|
|
56486
56488
|
useCheckbox,
|
|
56489
|
+
useCustomEvent,
|
|
56487
56490
|
useObserver,
|
|
56488
56491
|
useSessionStore,
|
|
56489
56492
|
useSignal,
|