moost 0.2.30 → 0.2.31

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -283,7 +283,7 @@ export declare class Moost {
283
283
  * @returns
284
284
  */
285
285
  getLogger(topic: string): TConsoleBase;
286
- adapter<T>(a: TMoostAdapter<T>): TMoostAdapter<T>;
286
+ adapter<T extends TMoostAdapter<TAny>>(a: T): T;
287
287
  /**
288
288
  * ### init
289
289
  * Ititializes adapter. Must be called after adapters are attached.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.2.30",
3
+ "version": "0.2.31",
4
4
  "description": "moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -26,8 +26,8 @@
26
26
  "@prostojs/mate": "^0.1.14",
27
27
  "@prostojs/logger": "^0.3.4",
28
28
  "@prostojs/valido": "^0.0.2",
29
- "@wooksjs/event-core": "^0.3.1",
30
- "wooks": "^0.3.1"
29
+ "@wooksjs/event-core": "^0.3.2",
30
+ "wooks": "^0.3.2"
31
31
  },
32
32
  "author": "Artem Maltsev",
33
33
  "license": "MIT",