@kitbag/router 0.20.9 → 0.20.10
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/errors/{callbackContextAbortError.d.ts → contextAbortError.d.ts} +2 -1
- package/dist/errors/contextError.d.ts +2 -0
- package/dist/errors/{callbackContextPushError.d.ts → contextPushError.d.ts} +2 -1
- package/dist/errors/{callbackContextRejectionError.d.ts → contextRejectionError.d.ts} +2 -1
- package/dist/kitbag-router.js +1322 -1277
- package/dist/kitbag-router.umd.cjs +3 -3
- package/dist/main.d.ts +1 -1
- package/dist/models/RouterRouteHooks.d.ts +2 -1
- package/dist/services/createRouterHooks.d.ts +3 -1
- package/dist/types/createRouteOptions.d.ts +5 -1
- package/dist/types/meta.d.ts +3 -1
- package/dist/types/router.d.ts +21 -0
- package/dist/utilities/testHelpers.d.ts +43 -27
- package/package.json +8 -7
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CallbackAbortResponse } from '../services/createCallbackContext';
|
|
2
|
-
|
|
2
|
+
import { ContextError } from './contextError';
|
|
3
|
+
export declare class ContextAbortError extends ContextError {
|
|
3
4
|
response: CallbackAbortResponse;
|
|
4
5
|
constructor();
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CallbackPushResponse } from '../services/createCallbackContext';
|
|
2
|
-
|
|
2
|
+
import { ContextError } from './contextError';
|
|
3
|
+
export declare class ContextPushError extends ContextError {
|
|
3
4
|
response: CallbackPushResponse;
|
|
4
5
|
constructor(to: unknown[]);
|
|
5
6
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RegisteredRejectionType } from '../types/register';
|
|
2
2
|
import { CallbackRejectResponse } from '../services/createCallbackContext';
|
|
3
|
-
|
|
3
|
+
import { ContextError } from './contextError';
|
|
4
|
+
export declare class ContextRejectionError extends ContextError {
|
|
4
5
|
response: CallbackRejectResponse;
|
|
5
6
|
constructor(type: RegisteredRejectionType);
|
|
6
7
|
}
|