@bool-ts/core 1.7.15 → 1.7.16

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.
@@ -66,5 +66,5 @@ export declare const moduleResolution: (module: new (...args: any[]) => unknown,
66
66
  }>[];
67
67
  routerGroup: RouterGroup;
68
68
  }> | undefined>;
69
- export declare const BoolFactory: (modules: new (...args: any[]) => unknown | Array<new (...args: any[]) => unknown>, options: TBoolFactoryOptions) => Promise<void>;
69
+ export declare const BoolFactory: (modules: Object | Array<Object>, options: TBoolFactoryOptions) => Promise<void>;
70
70
  export default BoolFactory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bool-ts/core",
3
- "version": "1.7.15",
3
+ "version": "1.7.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -924,10 +924,7 @@ const fetcher = async (
924
924
  );
925
925
  };
926
926
 
927
- export const BoolFactory = async (
928
- modules: new (...args: any[]) => unknown | Array<new (...args: any[]) => unknown>,
929
- options: TBoolFactoryOptions
930
- ) => {
927
+ export const BoolFactory = async (modules: Object | Array<Object>, options: TBoolFactoryOptions) => {
931
928
  try {
932
929
  const modulesConverted = !Array.isArray(modules) ? [modules] : modules;
933
930
  const { allowLogsMethods, staticOption, allowOrigins, allowMethods, allowCredentials, allowHeaders } = Object.freeze({