@8ms/helpers 3.0.3 → 3.0.5

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.
@@ -17,10 +17,12 @@ type DrizzleConfig<TSchema extends Record<string, unknown> = Record<string, unkn
17
17
  connectTimeoutMs?: number;
18
18
  };
19
19
  };
20
- declare class Drizzle<TClient = any> extends BaseNamespace {
21
- client: TClient;
20
+ declare class Drizzle extends BaseNamespace {
21
+ client: any;
22
22
  config: DrizzleConfig;
23
- init: (config: DrizzleConfig) => Promise<this>;
23
+ init: <TClient = any>(config: DrizzleConfig) => Promise<Drizzle & {
24
+ client: TClient;
25
+ }>;
24
26
  }
25
27
  //#endregion
26
28
  export { Drizzle, DrizzleConfig };
@@ -17,10 +17,12 @@ type DrizzleConfig<TSchema extends Record<string, unknown> = Record<string, unkn
17
17
  connectTimeoutMs?: number;
18
18
  };
19
19
  };
20
- declare class Drizzle<TClient = any> extends BaseNamespace {
21
- client: TClient;
20
+ declare class Drizzle extends BaseNamespace {
21
+ client: any;
22
22
  config: DrizzleConfig;
23
- init: (config: DrizzleConfig) => Promise<this>;
23
+ init: <TClient = any>(config: DrizzleConfig) => Promise<Drizzle & {
24
+ client: TClient;
25
+ }>;
24
26
  }
25
27
  //#endregion
26
28
  export { Drizzle, DrizzleConfig };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "3.0.3",
4
+ "version": "3.0.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"