@fluojs/websockets
Advanced tools
+2
-0
@@ -0,2 +1,4 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './bun/bun.js'; | ||
| //# sourceMappingURL=bun.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"bun.d.ts","sourceRoot":"","sources":["../src/bun.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"} | ||
| {"version":3,"file":"bun.d.ts","sourceRoot":"","sources":["../src/bun.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"} |
+2
-0
@@ -0,1 +1,3 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './bun/bun.js'; |
@@ -0,2 +1,4 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './cloudflare-workers/cloudflare-workers.js'; | ||
| //# sourceMappingURL=cloudflare-workers.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"cloudflare-workers.d.ts","sourceRoot":"","sources":["../src/cloudflare-workers.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"} | ||
| {"version":3,"file":"cloudflare-workers.d.ts","sourceRoot":"","sources":["../src/cloudflare-workers.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,4CAA4C,CAAC"} |
@@ -0,1 +1,3 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './cloudflare-workers/cloudflare-workers.js'; |
+2
-0
@@ -0,2 +1,4 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './deno/deno.js'; | ||
| //# sourceMappingURL=deno.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"deno.d.ts","sourceRoot":"","sources":["../src/deno.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"} | ||
| {"version":3,"file":"deno.d.ts","sourceRoot":"","sources":["../src/deno.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"} |
+2
-0
@@ -0,1 +1,3 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './deno/deno.js'; |
+2
-0
@@ -0,2 +1,4 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './node/node.js'; | ||
| //# sourceMappingURL=node.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"} | ||
| {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"} |
+2
-0
@@ -0,1 +1,3 @@ | ||
| export * from './decorators.js'; | ||
| export * from './metadata.js'; | ||
| export * from './node/node.js'; |
+8
-8
@@ -12,3 +12,3 @@ { | ||
| ], | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "private": false, | ||
@@ -74,5 +74,5 @@ "license": "MIT", | ||
| "@fluojs/core": "^1.0.3", | ||
| "@fluojs/runtime": "^1.1.6", | ||
| "@fluojs/http": "^1.1.0", | ||
| "@fluojs/di": "^1.1.0" | ||
| "@fluojs/di": "^1.1.0", | ||
| "@fluojs/http": "^1.1.1", | ||
| "@fluojs/runtime": "^1.1.7" | ||
| }, | ||
@@ -82,6 +82,6 @@ "devDependencies": { | ||
| "vitest": "^3.2.4", | ||
| "@fluojs/platform-express": "^1.0.5", | ||
| "@fluojs/platform-bun": "^1.0.5", | ||
| "@fluojs/testing": "^1.0.5", | ||
| "@fluojs/platform-fastify": "^1.0.6" | ||
| "@fluojs/platform-bun": "^1.0.6", | ||
| "@fluojs/platform-express": "^1.0.6", | ||
| "@fluojs/platform-fastify": "^1.0.7", | ||
| "@fluojs/testing": "^1.0.5" | ||
| }, | ||
@@ -88,0 +88,0 @@ "scripts": { |
+7
-1
@@ -125,4 +125,6 @@ # @fluojs/websockets | ||
| 기본 루트 Node.js alias 대신 런타임을 명시적으로 고정하고 싶다면 런타임별 서브패스를 사용하세요. 각 서브패스는 해당 `*WebSocketModule.forRoot(...)` 진입점과 일치하는 런타임 lifecycle service export를 제공합니다. | ||
| 기본 루트 Node.js alias 대신 런타임을 명시적으로 고정하고 싶다면 런타임별 서브패스를 사용하세요. 루트 `@fluojs/websockets` 진입점은 Node.js 기본 module과 lifecycle-service alias를 유지합니다. Fetch-style 애플리케이션은 게이트웨이 데코레이터와 metadata helper를 선택한 런타임 서브패스에서 import할 수 있으므로 authoring code가 루트 Node.js 기반 진입점을 로드할 필요가 없습니다. | ||
| 각 서브패스는 해당 `*WebSocketModule.forRoot(...)` 진입점, 일치하는 런타임 lifecycle service export, 그리고 공유 gateway authoring primitive인 `WebSocketGateway`, `OnConnect`, `OnMessage`, `OnDisconnect`, `defineWebSocketGatewayMetadata`, `getWebSocketGatewayMetadata`, `defineWebSocketHandlerMetadata`, `getWebSocketHandlerMetadata`, `getWebSocketHandlerMetadataEntries`, `webSocketGatewayMetadataSymbol`, `webSocketHandlerMetadataSymbol`을 제공합니다. | ||
| | 런타임 | 서브패스 | 모듈 | Lifecycle service | | ||
@@ -135,2 +137,6 @@ | --- | --- | --- | --- | | ||
| ```typescript | ||
| import { BunWebSocketModule, OnMessage, WebSocketGateway } from '@fluojs/websockets/bun'; | ||
| ``` | ||
| ## 예제 소스 | ||
@@ -137,0 +143,0 @@ |
+7
-1
@@ -125,4 +125,6 @@ # @fluojs/websockets | ||
| Use the runtime subpaths when you want an explicit runtime binding instead of the default root Node.js alias. Each subpath exposes its `*WebSocketModule.forRoot(...)` entrypoint plus the matching runtime lifecycle service export. | ||
| Use the runtime subpaths when you want an explicit runtime binding instead of the default root Node.js alias. The root `@fluojs/websockets` entrypoint preserves the Node.js default module and lifecycle-service aliases. Fetch-style applications can import gateway decorators and metadata helpers from their selected runtime subpath so authoring code does not need to load the root Node.js-backed entrypoint. | ||
| Each subpath exposes its `*WebSocketModule.forRoot(...)` entrypoint, the matching runtime lifecycle service export, and the shared gateway authoring primitives: `WebSocketGateway`, `OnConnect`, `OnMessage`, `OnDisconnect`, `defineWebSocketGatewayMetadata`, `getWebSocketGatewayMetadata`, `defineWebSocketHandlerMetadata`, `getWebSocketHandlerMetadata`, `getWebSocketHandlerMetadataEntries`, `webSocketGatewayMetadataSymbol`, and `webSocketHandlerMetadataSymbol`. | ||
| | Runtime | Subpath | Module | Lifecycle service | | ||
@@ -135,2 +137,6 @@ | --- | --- | --- | --- | | ||
| ```typescript | ||
| import { BunWebSocketModule, OnMessage, WebSocketGateway } from '@fluojs/websockets/bun'; | ||
| ``` | ||
| ## Example Sources | ||
@@ -137,0 +143,0 @@ |
251691
0.9%5074
0.32%148
4.23%Updated
Updated