iosignal 9.13.0 → 9.19.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 +1 -1
- package/README.md +1 -1
- package/dist/browser/esm/io.d.ts +9 -0
- package/dist/browser/esm/io.js +4 -4
- package/dist/browser/esm/io.js.map +1 -1
- package/dist/browser/iife/io.js +4 -4
- package/dist/browser/iife/io.js.map +1 -1
- package/dist/node/iosignal.cjs +1046 -22
- package/dist/node/iosignal.d.cts +209 -0
- package/dist/node/iosignal.d.ts +209 -0
- package/dist/node/iosignal.js +1048 -25
- package/dist/types/client/IOCore.d.ts +9 -0
- package/dist/types/common/constants.d.ts +2 -0
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -248,7 +248,7 @@ const server = new Server({
|
|
|
248
248
|
## 상세 문서
|
|
249
249
|
|
|
250
250
|
- [시그널 태그와 직접 메시지](https://github.com/remocons/iosignal/blob/main/docs/messaging.ko.md)
|
|
251
|
-
- [서버 ping
|
|
251
|
+
- [서버 ping](https://github.com/remocons/iosignal/blob/main/docs/ping.ko.md)
|
|
252
252
|
- [Boho 인증·암호화와 E2E](https://github.com/remocons/iosignal/blob/main/docs/boho.ko.md)
|
|
253
253
|
- [소스 빌드 및 검증](https://github.com/remocons/iosignal/blob/main/docs/development.ko.md)
|
|
254
254
|
|
package/README.md
CHANGED
|
@@ -261,7 +261,7 @@ replacement.
|
|
|
261
261
|
## Detailed guides
|
|
262
262
|
|
|
263
263
|
- [Signal tags and direct messages](https://github.com/remocons/iosignal/blob/main/docs/messaging.md)
|
|
264
|
-
- [Server ping
|
|
264
|
+
- [Server ping](https://github.com/remocons/iosignal/blob/main/docs/ping.md)
|
|
265
265
|
- [Boho authentication, encryption and E2E](https://github.com/remocons/iosignal/blob/main/docs/boho.md)
|
|
266
266
|
- [Building and verification](https://github.com/remocons/iosignal/blob/main/docs/development.md)
|
|
267
267
|
|
package/dist/browser/esm/io.d.ts
CHANGED
|
@@ -193,6 +193,15 @@ declare class IOCore extends EventEmitter<string | symbol, any> {
|
|
|
193
193
|
* @param {string} url2 - The new URL to redirect to.
|
|
194
194
|
*/
|
|
195
195
|
redirect(url2: string): void;
|
|
196
|
+
/**
|
|
197
|
+
* Closes a connection that has not got the server's hello in SIZE_LIMIT.SERVER_HELLO_TIMEOUT
|
|
198
|
+
* (a server that cannot be reached, or a connection that opens but never answers). With
|
|
199
|
+
* autoReconnect the client then reconnects to this.url, so a failed redirect falls back to the
|
|
200
|
+
* original server, as the Arduino library does.
|
|
201
|
+
*/
|
|
202
|
+
armHelloTimer(): void;
|
|
203
|
+
helloTimerID: any;
|
|
204
|
+
clearHelloTimer(): void;
|
|
196
205
|
/**
|
|
197
206
|
* Opens the WebSocket connection.
|
|
198
207
|
* @param {string} [url] - Optional URL to connect to. If not provided, uses the instance's URL.
|