iosignal 9.21.0 → 9.22.0
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/README.ko.md +6 -0
- package/README.md +8 -0
- package/dist/browser/esm/broker.js +24 -0
- package/dist/browser/esm/broker.js.map +1 -0
- package/dist/browser/esm/io.d.ts +14 -0
- package/dist/browser/esm/io.js +1 -1
- package/dist/browser/esm/io.js.map +1 -1
- package/dist/browser/iife/io.js +1 -1
- package/dist/browser/iife/io.js.map +1 -1
- package/dist/node/iosignal.cjs +138 -96
- package/dist/node/iosignal.d.cts +1 -1
- package/dist/node/iosignal.d.ts +1 -1
- package/dist/node/iosignal.js +138 -96
- package/dist/types/client/browser/IOWebSocket.d.ts +14 -0
- package/package.json +4 -1
package/README.ko.md
CHANGED
|
@@ -246,6 +246,12 @@ const server = new Server({
|
|
|
246
246
|
- 쿼터는 새 `QUOTA` 메시지로 전달됩니다. 이전 클라이언트는 이를 무시하고 기존
|
|
247
247
|
로컬 크기 제한을 유지합니다.
|
|
248
248
|
|
|
249
|
+
## 9.22 변경 사항
|
|
250
|
+
|
|
251
|
+
- 브라우저 클라이언트: `IO.WebSocket`으로 연결에 쓸 클래스를 정합니다(브라우저 WebSocket API를 가진 것.
|
|
252
|
+
기본값 `null`은 전역 `WebSocket`). 하위 클래스는 `createWebSocket(url)`을 재정의해 URL에 따라 고를 수 있습니다.
|
|
253
|
+
- 서버는 CongSocket(TCP) 프레임을 Node.js 스트림 없이 해석합니다(`CongParser`). `CongRx`는 스트림 API를 그대로 유지합니다.
|
|
254
|
+
|
|
249
255
|
## 9.21 변경 사항
|
|
250
256
|
|
|
251
257
|
- `membersOnly`는 익명 연결이 구독할 때도 연결을 닫습니다(이전에는 시그널을 보낼 때만).
|
package/README.md
CHANGED
|
@@ -260,6 +260,14 @@ replacement.
|
|
|
260
260
|
- The quota is sent in a new `QUOTA` message; older clients ignore it and
|
|
261
261
|
keep their previous local size limit.
|
|
262
262
|
|
|
263
|
+
## Changes in 9.22
|
|
264
|
+
|
|
265
|
+
- Browser client: `IO.WebSocket` sets the class to connect with (anything with
|
|
266
|
+
the browser WebSocket API; `null`, the default, uses the global `WebSocket`),
|
|
267
|
+
and a subclass can override `createWebSocket(url)` to choose it by URL.
|
|
268
|
+
- The server parses CongSocket (TCP) frames without Node.js streams
|
|
269
|
+
(`CongParser`); `CongRx` keeps its stream API.
|
|
270
|
+
|
|
263
271
|
## Changes in 9.21
|
|
264
272
|
|
|
265
273
|
- `membersOnly` also closes an anonymous connection that subscribes (before,
|