@bool-ts/core 1.7.1 → 1.7.2
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/hooks/factory.js +2 -2
- package/package.json +1 -1
- package/src/hooks/factory.ts +2 -4
package/dist/hooks/factory.js
CHANGED
|
@@ -200,7 +200,7 @@ export const moduleResolution = async (module, options) => {
|
|
|
200
200
|
routerGroup
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
|
-
const fetcher = async (bun, bool
|
|
203
|
+
const fetcher = async (bun, bool) => {
|
|
204
204
|
const { query, route: { parameters, model }, moduleResolution: { startMiddlewareGroup, endMiddlewareGroup, guardGroup, openDispatcherGroup, closeDispatcherGroup } } = bool;
|
|
205
205
|
const { request, server: _server } = bun;
|
|
206
206
|
const context = {
|
|
@@ -590,7 +590,7 @@ export const BoolFactory = async (modules, options) => {
|
|
|
590
590
|
query: query,
|
|
591
591
|
route: collection.route,
|
|
592
592
|
moduleResolution: collection.resolution
|
|
593
|
-
}
|
|
593
|
+
});
|
|
594
594
|
}
|
|
595
595
|
catch (error) {
|
|
596
596
|
options.debug && console.error(error);
|
package/package.json
CHANGED
package/src/hooks/factory.ts
CHANGED
|
@@ -322,8 +322,7 @@ const fetcher = async (
|
|
|
322
322
|
query: Record<string, unknown>;
|
|
323
323
|
route: NonNullable<ReturnType<RouterGroup["find"]>>;
|
|
324
324
|
moduleResolution: NonNullable<Awaited<ReturnType<typeof moduleResolution>>>;
|
|
325
|
-
}
|
|
326
|
-
options: TBoolFactoryOptions
|
|
325
|
+
}>
|
|
327
326
|
) => {
|
|
328
327
|
const {
|
|
329
328
|
query,
|
|
@@ -951,8 +950,7 @@ export const BoolFactory = async (
|
|
|
951
950
|
query: query,
|
|
952
951
|
route: collection.route,
|
|
953
952
|
moduleResolution: collection.resolution
|
|
954
|
-
}
|
|
955
|
-
options
|
|
953
|
+
}
|
|
956
954
|
);
|
|
957
955
|
} catch (error) {
|
|
958
956
|
options.debug && console.error(error);
|