silgi 0.37.5 → 0.37.7
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/cli/index.mjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/types/index.d.mts +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -547,9 +547,9 @@ async function orchestrate(route, event) {
|
|
|
547
547
|
route,
|
|
548
548
|
earlyReturnValue
|
|
549
549
|
});
|
|
550
|
-
if (earlyReturnValue !== false) ;
|
|
551
550
|
const cacheData = await cachePromise;
|
|
552
551
|
await beforeHookPromise;
|
|
552
|
+
if (earlyReturnValue !== false) ;
|
|
553
553
|
if (cacheData?.success) {
|
|
554
554
|
await silgiCtx.callHook("fetch:after", {
|
|
555
555
|
event,
|
package/dist/types/index.d.mts
CHANGED
|
@@ -826,7 +826,7 @@ type ModuleHookContext = Readonly<{
|
|
|
826
826
|
success?: boolean;
|
|
827
827
|
cached?: boolean;
|
|
828
828
|
}> & {
|
|
829
|
-
earlyReturnValue?:
|
|
829
|
+
earlyReturnValue?: any | false;
|
|
830
830
|
};
|
|
831
831
|
/** The options received. */
|
|
832
832
|
type ModuleOptionsCustom = Record<string, any>;
|