@moostjs/event-ws 0.6.42 → 0.6.44

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/index.cjs CHANGED
@@ -239,6 +239,7 @@ const LOGGER_TITLE = "moost-ws";
239
239
  }
240
240
  }
241
241
  };
242
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property$1(MoostWs, moost.MOOST_ADAPTER_BRAND, "@moostjs/event-ws/MoostWs");
242
243
 
243
244
  //#endregion
244
245
  //#region packages/event-ws/src/quick-ws.ts
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as moost from 'moost';
2
- import { TMoostAdapter, Moost, TConsoleBase, TMoostAdapterOptions } from 'moost';
2
+ import { TMoostAdapter, MOOST_ADAPTER_BRAND, Moost, TConsoleBase, TMoostAdapterOptions } from 'moost';
3
3
  export { Controller, Description, Intercept, Param, TInterceptorPriority, defineAfterInterceptor, defineBeforeInterceptor, defineInterceptor } from 'moost';
4
4
  import { WooksWs, TWooksWsOptions } from '@wooksjs/event-ws';
5
5
  export { TTestWsConnectionContext, TTestWsMessageContext, TWooksWsOptions, WooksWs, WsBroadcastOptions, WsBroadcastTransport, WsClientMessage, WsConnection, WsError, WsPushMessage, WsReplyMessage, WsRoomManager, WsServerAdapter, WsSocket, currentConnection, prepareTestWsConnectionContext, prepareTestWsMessageContext, useWsConnection, useWsMessage, useWsRooms, useWsServer, wsConnectionKind, wsMessageKind } from '@wooksjs/event-ws';
@@ -140,6 +140,8 @@ declare class MoostWs implements TMoostAdapter<TWsHandlerMeta> {
140
140
  getHttpApp(): unknown;
141
141
  } | object;
142
142
  }) | undefined;
143
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */
144
+ static readonly [MOOST_ADAPTER_BRAND] = "@moostjs/event-ws/MoostWs";
143
145
  readonly name = "ws";
144
146
  protected wsApp: WooksWs;
145
147
  constructor(opts?: (TMoostWsOpts & {
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Controller, Description, Intercept, Moost, Param, Resolve, defineAfterInterceptor, defineBeforeInterceptor, defineInterceptor, defineMoostEventHandler, getMoostMate } from "moost";
1
+ import { Controller, Description, Intercept, MOOST_ADAPTER_BRAND, Moost, Param, Resolve, defineAfterInterceptor, defineBeforeInterceptor, defineInterceptor, defineMoostEventHandler, getMoostMate } from "moost";
2
2
  import { WooksWs, WooksWs as WooksWs$1, WsError, WsRoomManager, createWsApp, currentConnection, prepareTestWsConnectionContext, prepareTestWsMessageContext, useWsConnection, useWsConnection as useWsConnection$1, useWsMessage, useWsMessage as useWsMessage$1, useWsRooms, useWsServer, wsConnectionKind, wsMessageKind } from "@wooksjs/event-ws";
3
3
  import { createProvideRegistry } from "@prostojs/infact";
4
4
 
@@ -238,6 +238,7 @@ const LOGGER_TITLE = "moost-ws";
238
238
  }
239
239
  }
240
240
  };
241
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property$1(MoostWs, MOOST_ADAPTER_BRAND, "@moostjs/event-ws/MoostWs");
241
242
 
242
243
  //#endregion
243
244
  //#region packages/event-ws/src/quick-ws.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-ws",
3
- "version": "0.6.42",
3
+ "version": "0.6.44",
4
4
  "description": "@moostjs/event-ws",
5
5
  "keywords": [
6
6
  "composables",
@@ -39,16 +39,16 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@wooksjs/event-ws": "^0.7.25"
42
+ "@wooksjs/event-ws": "^0.7.26"
43
43
  },
44
44
  "devDependencies": {
45
45
  "vitest": "3.2.7",
46
- "@moostjs/event-http": "^0.6.42"
46
+ "@moostjs/event-http": "^0.6.44"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@prostojs/infact": "^0.6.0",
50
- "@wooksjs/event-core": "^0.7.25",
51
- "moost": "^0.6.42"
50
+ "@wooksjs/event-core": "^0.7.26",
51
+ "moost": "^0.6.44"
52
52
  },
53
53
  "scripts": {
54
54
  "pub": "pnpm publish --access public",