transport-io 0.5.0 → 0.5.1

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.
File without changes
package/dist/client.d.ts CHANGED
@@ -58,7 +58,7 @@ export declare class Client<M extends AnyMap = Registered> {
58
58
  /**
59
59
  * Available only on events declaring `yields`. Iterate it, or `.toArray()` the whole
60
60
  * sequence. Leaving the loop with `break` resets the QUIC stream, and that reset is what
61
- * fires the responder's `ctx.signal`. There is no separate cancel call.
61
+ * fires the responder's `ctx.signal`. `cancel()` does the same from outside the loop.
62
62
  */
63
63
  stream<K extends StreamableOf<M> & string>(event: K, payload: M[K]['payload'], options?: {
64
64
  readonly signal?: AbortSignal;
package/dist/client.js CHANGED
@@ -87,7 +87,7 @@ export class Client {
87
87
  /**
88
88
  * Available only on events declaring `yields`. Iterate it, or `.toArray()` the whole
89
89
  * sequence. Leaving the loop with `break` resets the QUIC stream, and that reset is what
90
- * fires the responder's `ctx.signal`. There is no separate cancel call.
90
+ * fires the responder's `ctx.signal`. `cancel()` does the same from outside the loop.
91
91
  */
92
92
  stream(event, payload, options) {
93
93
  return this.#requireSession().stream(event, payload, options);
package/dist/index.js CHANGED
@@ -14,5 +14,5 @@ export { createServer, Server, } from './server.js';
14
14
  * `changeset version` moves the manifest, so this moves in the same commit - which the test
15
15
  * enforces rather than trusting anyone to remember.
16
16
  */
17
- export const VERSION = '0.5.0';
17
+ export const VERSION = '0.5.1';
18
18
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "transport-io",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Real-time apps over WebTransport. Two lanes, one contract, no fallback.",
5
5
  "license": "MIT",
6
6
  "type": "module",