@urun-sh/core 0.2.15 → 0.2.17
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/CHANGELOG.md +4 -0
- package/dist/{chunk-RV6OTRCZ.mjs → chunk-62CZN6MU.mjs} +5 -5
- package/dist/{chunk-DK75BVOK.mjs → chunk-UNVRVZHL.mjs} +2 -2
- package/dist/index.browser.d.mts +279 -3
- package/dist/index.browser.d.ts +279 -3
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +279 -3
- package/dist/index.d.ts +279 -3
- package/dist/index.js +5 -5
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +1 -1
- package/dist/internal.browser.d.ts +1 -1
- package/dist/internal.browser.js +2 -2
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/{stream-data-b249LZR2.d.mts → stream-data-rqyqR75F.d.mts} +22 -1
- package/dist/{stream-data-b249LZR2.d.ts → stream-data-rqyqR75F.d.ts} +22 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Add owner-only `Session.end()` for acknowledged terminal release through the existing authenticated session-request release endpoint. It returns a typed `ended`/`canceled` outcome, memoizes concurrent and repeated calls, and leaves `disconnect()` as the reconnectable transport-detach primitive. Consume-only viewer handles reject terminal release with `SessionEndUnavailableError`; release failures reject with `SessionEndError`.
|
|
6
|
+
|
|
3
7
|
## 0.2.12
|
|
4
8
|
|
|
5
9
|
- DELETE the dead legacy data-stream subscribe handshake. `TransportSession.subscribeStream()` / `unsubscribeStream()` and the `{t:"stream.subscribe"|"stream.unsubscribe"}` signaling control frames are removed: the session-server's vanilla-Yjs cutover made that doc-lane opt-in deliberately inert (`crdt/legacy-stub.ts handleStreamControlText` no-op, `StreamSubscriptions.shouldDeliver() === false`), so the frames did nothing. Named-DATA delivery is the contract §5 server-push path — the server pushes `consumeData` for every named stream to every leg, the client attaches a mediasoup `DataConsumer` (native `recvTransport.consumeData`) and acks `dataConsumerReady` on channel OPEN. Public API unchanged: `session.stream(name).messages()` / `emit()` behave identically; which handlers receive the flowing data is now a purely local concern.
|