openrtc 1.0.18 → 1.0.19
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/dist/{DelegatingRuntimeAdapter-ew5WdyxA.d.ts → DelegatingRuntimeAdapter-B9j_lTDM.d.ts} +4 -2
- package/dist/IEngineBridge-BbsT8hof.d.ts +17 -0
- package/dist/{assembly-CXj9yrhu.d.ts → assembly-Ddq1o4NV.d.ts} +3 -3
- package/dist/chunk-AIHDHYZP.js +2 -0
- package/dist/chunk-E5CLEIY6.js +2 -0
- package/dist/chunk-IF5JSSMC.js +1 -0
- package/dist/{chunk-YR2WJPGT.js → chunk-JUXDXE5B.js} +1 -1
- package/dist/{chunk-5CJVJDPY.js → chunk-WRJ4O5QL.js} +1 -1
- package/dist/chunk-XQD4RPMU.js +3 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/native.d.ts +6 -6
- package/dist/native.js +1 -1
- package/dist/openrtc_bg.wasm +0 -0
- package/dist/runtime/WasmRuntimeAdapter.d.ts +3 -3
- package/dist/runtime/WasmRuntimeAdapter.js +1 -1
- package/dist/runtime/device-status.d.ts +3 -3
- package/dist/runtime/index.d.ts +9 -9
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/tauri.d.ts +4 -4
- package/dist/runtime/tauri.js +1 -1
- package/dist/{spaceTokens-D2zInUAM.d.ts → spaceTokens-DyOOxC7x.d.ts} +4 -4
- package/dist/{tauri-Briw2Hf9.d.ts → tauri-DZJ_ZEfB.d.ts} +2 -2
- package/dist/transport/index.d.ts +2 -2
- package/dist/{types-BfEvaxS7.d.ts → types-BAwo8biA.d.ts} +8 -2
- package/dist/{types-BDtleofB.d.ts → types-CL4Da0BR.d.ts} +9 -0
- package/package.json +1 -1
- package/dist/IEngineBridge-C7OT2CRv.d.ts +0 -10
- package/dist/chunk-EQ5BQO3B.js +0 -3
- package/dist/chunk-KLDDCOZ7.js +0 -2
- package/dist/chunk-KPPJMTHP.js +0 -2
- package/dist/chunk-RZPWE4WH.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { R as RuntimeClientOptions, I as ITransport } from './types-
|
|
2
|
-
export { w as ChannelDescriptor, x as ConnectionEvent, y as ConnectionTarget, D as DeviceProfile, z as IncomingStream, P as PeerConnectOptions, A as PeerReadiness, B as PeerStreamOptions, E as PresenceLoopOptions, F as RawConnection, t as RuntimeApplicationPayloadReadinessOptions, G as RuntimeAuthContext, H as RuntimeAuthIdentity, J as RuntimeAutoConnectPolicy, l as RuntimeChannelDescriptor, u as RuntimeConnectionEvent, s as RuntimeConnectionStateSnapshot, K as RuntimeConnectionTarget, c as RuntimeDevice, e as RuntimeDeviceConnectOptions, L as RuntimeDevicePresenceStatus, M as RuntimeDeviceStatus, d as RuntimeDeviceStatusSnapshot, n as RuntimeIncomingStream, q as RuntimeJoinRoomOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, N as RuntimeLogicalChannelFraming, b as RuntimeManagedSession, O as RuntimeManagedSessionKind, a as RuntimeManagedSessionOptions, Q as RuntimeManagedSessionPlatform, i as RuntimePeerConnectOptions, k as RuntimePeerHealth, S as RuntimePeerLifecycleStatus, j as RuntimePeerReadinessSnapshot, T as RuntimePeerScope, U as RuntimePeerSessionSnapshot, h as RuntimePeerState, m as RuntimePeerStreamOptions, V as RuntimePresenceLoopOptions, W as RuntimePresencePolicy, v as RuntimeRawConnection, r as RuntimeRoomMember, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, X as RuntimeSession, Y as RuntimeUiConnectionStatus, Z as ScopedChannelOptions, _ as ScopedLogicalChannel } from './types-
|
|
1
|
+
import { R as RuntimeClientOptions, I as ITransport } from './types-BAwo8biA.js';
|
|
2
|
+
export { w as ChannelDescriptor, x as ConnectionEvent, y as ConnectionTarget, D as DeviceProfile, z as IncomingStream, P as PeerConnectOptions, A as PeerReadiness, B as PeerStreamOptions, E as PresenceLoopOptions, F as RawConnection, t as RuntimeApplicationPayloadReadinessOptions, G as RuntimeAuthContext, H as RuntimeAuthIdentity, J as RuntimeAutoConnectPolicy, l as RuntimeChannelDescriptor, u as RuntimeConnectionEvent, s as RuntimeConnectionStateSnapshot, K as RuntimeConnectionTarget, c as RuntimeDevice, e as RuntimeDeviceConnectOptions, L as RuntimeDevicePresenceStatus, M as RuntimeDeviceStatus, d as RuntimeDeviceStatusSnapshot, n as RuntimeIncomingStream, q as RuntimeJoinRoomOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, N as RuntimeLogicalChannelFraming, b as RuntimeManagedSession, O as RuntimeManagedSessionKind, a as RuntimeManagedSessionOptions, Q as RuntimeManagedSessionPlatform, i as RuntimePeerConnectOptions, k as RuntimePeerHealth, S as RuntimePeerLifecycleStatus, j as RuntimePeerReadinessSnapshot, T as RuntimePeerScope, U as RuntimePeerSessionSnapshot, h as RuntimePeerState, m as RuntimePeerStreamOptions, V as RuntimePresenceLoopOptions, W as RuntimePresencePolicy, v as RuntimeRawConnection, r as RuntimeRoomMember, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, X as RuntimeSession, Y as RuntimeUiConnectionStatus, Z as ScopedChannelOptions, _ as ScopedLogicalChannel } from './types-BAwo8biA.js';
|
|
3
3
|
import { P as PlutoIpcBridge } from './ipc-CflAVodw.js';
|
|
4
|
-
import { O as OpenRTCClient } from './spaceTokens-
|
|
5
|
-
export { E as EnableSpaceAuthResponse, M as MintSpaceTokenRequest, a as MintSpaceTokenResponse, b as OpenRTCChannelConnectOptions, c as OpenRTCDeviceNamespace, d as OpenRTCDeviceSessionOptions, e as OpenRTCRoomNamespace, f as OpenRTCTicketNamespace, g as createPublicSpaceTokenProvider, h as createSpaceTokenProvider, i as enableSpaceAuth, m as mintSpaceToken, s as sandboxSpaceKey, j as spaceToken } from './spaceTokens-
|
|
6
|
-
import { w as ProtocolName, V as ProtocolCapability, W as ProtocolCapabilityMap, t as ApplicationPayloadCrypto, X as ApplicationCryptoStreamTools } from './types-
|
|
7
|
-
export { Y as AppLimits, Z as ApplicationCryptoBiStream, u as ApplicationPayloadReadinessOptions, v as ApplicationPayloadRouteOptions, x as ApplicationPayloadSendOptions, A as AuthMode, Q as DevicePresenceStatus, D as DiscoveryMode, G as GrantScope, _ as ProtocolBaseName, $ as ProtocolImplementationKind, a0 as ProtocolLocality, a1 as RouteDescriptor, a2 as RouteFamily, a3 as RouteImplementationKind, d as SignalingMode, S as SpaceAuthMode, a as SpaceTokenProvider } from './types-
|
|
4
|
+
import { O as OpenRTCClient } from './spaceTokens-DyOOxC7x.js';
|
|
5
|
+
export { E as EnableSpaceAuthResponse, M as MintSpaceTokenRequest, a as MintSpaceTokenResponse, b as OpenRTCChannelConnectOptions, c as OpenRTCDeviceNamespace, d as OpenRTCDeviceSessionOptions, e as OpenRTCRoomNamespace, f as OpenRTCTicketNamespace, g as createPublicSpaceTokenProvider, h as createSpaceTokenProvider, i as enableSpaceAuth, m as mintSpaceToken, s as sandboxSpaceKey, j as spaceToken } from './spaceTokens-DyOOxC7x.js';
|
|
6
|
+
import { w as ProtocolName, V as ProtocolCapability, W as ProtocolCapabilityMap, t as ApplicationPayloadCrypto, X as ApplicationCryptoStreamTools } from './types-CL4Da0BR.js';
|
|
7
|
+
export { Y as AppLimits, Z as ApplicationCryptoBiStream, u as ApplicationPayloadReadinessOptions, v as ApplicationPayloadRouteOptions, x as ApplicationPayloadSendOptions, A as AuthMode, Q as DevicePresenceStatus, D as DiscoveryMode, G as GrantScope, _ as ProtocolBaseName, $ as ProtocolImplementationKind, a0 as ProtocolLocality, a1 as RouteDescriptor, a2 as RouteFamily, a3 as RouteImplementationKind, d as SignalingMode, S as SpaceAuthMode, a as SpaceTokenProvider } from './types-CL4Da0BR.js';
|
|
8
8
|
export { ROUTE_DESCRIPTORS, TRANSPORT_LABELS, getRouteDescriptor, isDirectIrohTransportLabel, isIndependentTransportLabel, isIrohBaseTransportLabel, isOptionalTransportLabel, isWebRtcTransportLabel, listRouteDescriptors, normalizeTransportLabel } from './transport/index.js';
|
|
9
9
|
export { isRuntimeDeviceActive, isRuntimeDeviceConnectable, isRuntimeDeviceRoutable } from './runtime/device-status.js';
|
|
10
10
|
export { R as RuntimeJsonFrameHandler, a as RuntimeU32BEFrameHandler, c as createRuntimeJsonFrameDecoder, b as createRuntimeU32BEFrameDecoder, d as decodeRuntimeJsonPayload, e as encodeRuntimeJsonFrame, f as encodeRuntimeJsonPayload, g as encodeRuntimeU32BEFrame } from './framing-zRvEKOld.js';
|
|
11
|
-
export { O as OPENRTC_RUNTIME_POLICY, a as RuntimePolicySnapshot, S as ScopedSession, c as Session, d as SessionOptions, g as getRuntimePolicy } from './assembly-
|
|
11
|
+
export { O as OPENRTC_RUNTIME_POLICY, a as RuntimePolicySnapshot, S as ScopedSession, c as Session, d as SessionOptions, g as getRuntimePolicy } from './assembly-Ddq1o4NV.js';
|
|
12
12
|
export { b as RuntimeAdapterKind, R as RuntimeCapabilities } from './capabilities-CaqXOIUU.js';
|
|
13
|
-
import './IEngineBridge-
|
|
13
|
+
import './IEngineBridge-BbsT8hof.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* OpenRTC developer-facing browser entrypoint and compatibility native factory.
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a,b}from'./chunk-2QFNPBOZ.js';export{e as createPublicSpaceTokenProvider,h as createSpaceTokenProvider,c as enableSpaceAuth,d as mintSpaceToken,f as sandboxSpaceKey,g as spaceToken}from'./chunk-2QFNPBOZ.js';import {a as a$1,b as b$1}from'./chunk-
|
|
1
|
+
import {a,b}from'./chunk-2QFNPBOZ.js';export{e as createPublicSpaceTokenProvider,h as createSpaceTokenProvider,c as enableSpaceAuth,d as mintSpaceToken,f as sandboxSpaceKey,g as spaceToken}from'./chunk-2QFNPBOZ.js';import {a as a$1,b as b$1}from'./chunk-WRJ4O5QL.js';export{d as KEY_AGREEMENT_ALGORITHM,c as KEY_AGREEMENT_PUBLIC_KEY_BYTES,h as ScopedSession,w as createRuntimeJsonFrameDecoder,s as createRuntimeU32BEFrameDecoder,u as decodeRuntimeJsonPayload,f as deriveApplicationCryptoKey,g as encodeApplicationKeyAgreementPayload,v as encodeRuntimeJsonFrame,t as encodeRuntimeJsonPayload,r as encodeRuntimeU32BEFrame,e as generateEphemeralKeyAgreement,b as getPreferredProtocolOrder}from'./chunk-XQD4RPMU.js';export{a as isRuntimeDeviceActive,c as isRuntimeDeviceConnectable,b as isRuntimeDeviceRoutable}from'./chunk-CK6WQV7J.js';import'./chunk-IF5JSSMC.js';import {g}from'./chunk-E5CLEIY6.js';export{v as OPENRTC_RUNTIME_POLICY,m as createApplicationCryptoStreamTools,l as createSharedSecretApplicationCrypto,w as getRuntimePolicy,k as isApplicationEncryptedPayload}from'./chunk-AIHDHYZP.js';export{a as TRANSPORT_LABELS,d as isDirectIrohTransportLabel,h as isIndependentTransportLabel,c as isIrohBaseTransportLabel,e as isOptionalTransportLabel,f as isWebRtcTransportLabel,b as normalizeTransportLabel}from'./chunk-QT2ASNI3.js';import'./chunk-SY6YGCXA.js';export{a as ROUTE_DESCRIPTORS,e as getRouteDescriptor,f as listRouteDescriptors}from'./chunk-C7YN5MSV.js';function s(e){let t=a(e),o=a$1(t);return b(o,"web")}s.native=function(e,t){let o=a(e),c=t??g(),m=b$1(o,c);return b(m,"native")};export{s as OpenRTC};
|
package/dist/native.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as RuntimeClientOptions } from './types-
|
|
1
|
+
import { R as RuntimeClientOptions } from './types-BAwo8biA.js';
|
|
2
2
|
import { P as PlutoIpcBridge } from './ipc-CflAVodw.js';
|
|
3
3
|
export { c as classifyNativeIpcFailure, i as isNativeIpcCommandUnavailable } from './ipc-CflAVodw.js';
|
|
4
|
-
import { O as OpenRTCClient } from './spaceTokens-
|
|
5
|
-
export { E as EnableSpaceAuthResponse, M as MintSpaceTokenRequest, a as MintSpaceTokenResponse, b as OpenRTCChannelConnectOptions, c as OpenRTCDeviceNamespace, d as OpenRTCDeviceSessionOptions, e as OpenRTCRoomNamespace, f as OpenRTCTicketNamespace, g as createPublicSpaceTokenProvider, h as createSpaceTokenProvider, i as enableSpaceAuth, m as mintSpaceToken, s as sandboxSpaceKey, j as spaceToken } from './spaceTokens-
|
|
6
|
-
export { S as SpaceAuthMode, a as SpaceTokenProvider } from './types-
|
|
7
|
-
import './IEngineBridge-
|
|
8
|
-
import './assembly-
|
|
4
|
+
import { O as OpenRTCClient } from './spaceTokens-DyOOxC7x.js';
|
|
5
|
+
export { E as EnableSpaceAuthResponse, M as MintSpaceTokenRequest, a as MintSpaceTokenResponse, b as OpenRTCChannelConnectOptions, c as OpenRTCDeviceNamespace, d as OpenRTCDeviceSessionOptions, e as OpenRTCRoomNamespace, f as OpenRTCTicketNamespace, g as createPublicSpaceTokenProvider, h as createSpaceTokenProvider, i as enableSpaceAuth, m as mintSpaceToken, s as sandboxSpaceKey, j as spaceToken } from './spaceTokens-DyOOxC7x.js';
|
|
6
|
+
export { S as SpaceAuthMode, a as SpaceTokenProvider } from './types-CL4Da0BR.js';
|
|
7
|
+
import './IEngineBridge-BbsT8hof.js';
|
|
8
|
+
import './assembly-Ddq1o4NV.js';
|
|
9
9
|
import './capabilities-CaqXOIUU.js';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a,b}from'./chunk-2QFNPBOZ.js';export{e as createPublicSpaceTokenProvider,h as createSpaceTokenProvider,c as enableSpaceAuth,d as mintSpaceToken,f as sandboxSpaceKey,g as spaceToken}from'./chunk-2QFNPBOZ.js';import {A as A$1}from'./chunk-
|
|
1
|
+
import {a,b}from'./chunk-2QFNPBOZ.js';export{e as createPublicSpaceTokenProvider,h as createSpaceTokenProvider,c as enableSpaceAuth,d as mintSpaceToken,f as sandboxSpaceKey,g as spaceToken}from'./chunk-2QFNPBOZ.js';import {A as A$1}from'./chunk-XQD4RPMU.js';import {h}from'./chunk-E5CLEIY6.js';export{e as classifyNativeIpcFailure,f as isNativeIpcCommandUnavailable}from'./chunk-E5CLEIY6.js';import'./chunk-AIHDHYZP.js';import'./chunk-QT2ASNI3.js';import {s}from'./chunk-SY6YGCXA.js';import'./chunk-C7YN5MSV.js';function c(t,p){let e=s(t);return A$1(e,new h({...e,bridge:p}))}function A(t,p){let e=c(a(t),p);return b(e,"native")}export{A as createNativeOpenRTC};
|
package/dist/openrtc_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DelegatingRuntimeAdapter, W as WasmBridgeOptions } from '../DelegatingRuntimeAdapter-
|
|
2
|
-
import '../types-
|
|
3
|
-
import '../IEngineBridge-
|
|
1
|
+
import { D as DelegatingRuntimeAdapter, W as WasmBridgeOptions } from '../DelegatingRuntimeAdapter-B9j_lTDM.js';
|
|
2
|
+
import '../types-CL4Da0BR.js';
|
|
3
|
+
import '../IEngineBridge-BbsT8hof.js';
|
|
4
4
|
import '../capabilities-CaqXOIUU.js';
|
|
5
5
|
|
|
6
6
|
declare class WasmRuntimeAdapter extends DelegatingRuntimeAdapter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as WasmRuntimeAdapter}from'../chunk-
|
|
1
|
+
export{a as WasmRuntimeAdapter}from'../chunk-IF5JSSMC.js';import'../chunk-AIHDHYZP.js';import'../chunk-QT2ASNI3.js';import'../chunk-SY6YGCXA.js';import'../chunk-C7YN5MSV.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as RuntimeDevice, d as RuntimeDeviceStatusSnapshot } from '../types-
|
|
2
|
-
import '../IEngineBridge-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { c as RuntimeDevice, d as RuntimeDeviceStatusSnapshot } from '../types-BAwo8biA.js';
|
|
2
|
+
import '../IEngineBridge-BbsT8hof.js';
|
|
3
|
+
import '../types-CL4Da0BR.js';
|
|
4
4
|
|
|
5
5
|
interface RuntimeDeviceActiveOptions {
|
|
6
6
|
now?: number;
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { e as RuntimeFactoryOptions, b as PlutoRuntimeAssembly, P as PeerReconciliationStats } from '../assembly-
|
|
2
|
-
export { O as OPENRTC_RUNTIME_POLICY, R as RuntimeClient, a as RuntimePolicySnapshot, D as ScopedConnectionActorError, f as ScopedConnectionActorErrorKind, h as ScopedConnectionActorHandle, i as ScopedConnectionActorHandleOptions, j as ScopedConnectionActorRegistry, k as ScopedConnectionActorState, l as ScopedConnectionClose, m as ScopedConnectionDial, n as ScopedConnectionKey, o as ScopedLogicalChannelHandle, p as ScopedPreferredTransport, g as getRuntimePolicy, q as scopedConnectionKey, r as scopedConnectionKeyToString } from '../assembly-
|
|
1
|
+
import { e as RuntimeFactoryOptions, b as PlutoRuntimeAssembly, P as PeerReconciliationStats } from '../assembly-Ddq1o4NV.js';
|
|
2
|
+
export { O as OPENRTC_RUNTIME_POLICY, R as RuntimeClient, a as RuntimePolicySnapshot, D as ScopedConnectionActorError, f as ScopedConnectionActorErrorKind, h as ScopedConnectionActorHandle, i as ScopedConnectionActorHandleOptions, j as ScopedConnectionActorRegistry, k as ScopedConnectionActorState, l as ScopedConnectionClose, m as ScopedConnectionDial, n as ScopedConnectionKey, o as ScopedLogicalChannelHandle, p as ScopedPreferredTransport, g as getRuntimePolicy, q as scopedConnectionKey, r as scopedConnectionKeyToString } from '../assembly-Ddq1o4NV.js';
|
|
3
3
|
import * as Draft14 from '@moq/net';
|
|
4
|
-
import { a4 as SignalingOptions, I as ISignalingBackend, f as RuntimeIdentity, g as RoomMember, j as SignalingEnvelope, m as SignalingSession, h as Device, l as DesiredPeerProjection, r as BackendConnectionState, Y as AppLimits, G as GrantScope, K as JoinRoomOptions, z as IncomingStreamChannelMetadata, X as ApplicationCryptoStreamTools, a5 as RoomCreationMode, e as ClientOptions, t as ApplicationPayloadCrypto, D as DiscoveryMode, W as ProtocolCapabilityMap, a6 as ScanningLoopOptions, a7 as ScanningLoopHandle, a8 as RuntimeBootstrapOptions, a9 as RuntimeBootstrapResult, u as ApplicationPayloadReadinessOptions, aa as ManagedApplicationRouteOptions, H as PeerState, O as PeerScope, J as PeerHealth, y as ChannelDescriptor, ab as JoinRequest, p as NativeConnectParams, q as NativeConnectResult } from '../types-
|
|
5
|
-
import { C as Connection, K as RuntimeConnectionTarget, v as RuntimeRawConnection } from '../types-
|
|
6
|
-
export { w as ChannelDescriptor, x as ConnectionEvent, y as ConnectionTarget, D as DeviceProfile, z as IncomingStream, P as PeerConnectOptions, A as PeerReadiness, B as PeerStreamOptions, E as PresenceLoopOptions, F as RawConnection, t as RuntimeApplicationPayloadReadinessOptions, G as RuntimeAuthContext, H as RuntimeAuthIdentity, J as RuntimeAutoConnectPolicy, l as RuntimeChannelDescriptor, R as RuntimeClientOptions, u as RuntimeConnectionEvent, s as RuntimeConnectionStateSnapshot, c as RuntimeDevice, e as RuntimeDeviceConnectOptions, L as RuntimeDevicePresenceStatus, M as RuntimeDeviceStatus, d as RuntimeDeviceStatusSnapshot, n as RuntimeIncomingStream, q as RuntimeJoinRoomOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, N as RuntimeLogicalChannelFraming, b as RuntimeManagedSession, O as RuntimeManagedSessionKind, a as RuntimeManagedSessionOptions, Q as RuntimeManagedSessionPlatform, i as RuntimePeerConnectOptions, k as RuntimePeerHealth, S as RuntimePeerLifecycleStatus, j as RuntimePeerReadinessSnapshot, T as RuntimePeerScope, U as RuntimePeerSessionSnapshot, h as RuntimePeerState, m as RuntimePeerStreamOptions, V as RuntimePresenceLoopOptions, W as RuntimePresencePolicy, r as RuntimeRoomMember, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, X as RuntimeSession, Y as RuntimeUiConnectionStatus, Z as ScopedChannelOptions, _ as ScopedLogicalChannel, $ as Session, a0 as SessionOptions } from '../types-
|
|
4
|
+
import { a4 as SignalingOptions, I as ISignalingBackend, f as RuntimeIdentity, g as RoomMember, j as SignalingEnvelope, m as SignalingSession, h as Device, l as DesiredPeerProjection, r as BackendConnectionState, Y as AppLimits, G as GrantScope, K as JoinRoomOptions, z as IncomingStreamChannelMetadata, X as ApplicationCryptoStreamTools, a5 as RoomCreationMode, e as ClientOptions, t as ApplicationPayloadCrypto, D as DiscoveryMode, W as ProtocolCapabilityMap, a6 as ScanningLoopOptions, a7 as ScanningLoopHandle, a8 as RuntimeBootstrapOptions, a9 as RuntimeBootstrapResult, u as ApplicationPayloadReadinessOptions, aa as ManagedApplicationRouteOptions, H as PeerState, O as PeerScope, J as PeerHealth, y as ChannelDescriptor, ab as JoinRequest, p as NativeConnectParams, q as NativeConnectResult } from '../types-CL4Da0BR.js';
|
|
5
|
+
import { C as Connection, K as RuntimeConnectionTarget, v as RuntimeRawConnection } from '../types-BAwo8biA.js';
|
|
6
|
+
export { w as ChannelDescriptor, x as ConnectionEvent, y as ConnectionTarget, D as DeviceProfile, z as IncomingStream, P as PeerConnectOptions, A as PeerReadiness, B as PeerStreamOptions, E as PresenceLoopOptions, F as RawConnection, t as RuntimeApplicationPayloadReadinessOptions, G as RuntimeAuthContext, H as RuntimeAuthIdentity, J as RuntimeAutoConnectPolicy, l as RuntimeChannelDescriptor, R as RuntimeClientOptions, u as RuntimeConnectionEvent, s as RuntimeConnectionStateSnapshot, c as RuntimeDevice, e as RuntimeDeviceConnectOptions, L as RuntimeDevicePresenceStatus, M as RuntimeDeviceStatus, d as RuntimeDeviceStatusSnapshot, n as RuntimeIncomingStream, q as RuntimeJoinRoomOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, N as RuntimeLogicalChannelFraming, b as RuntimeManagedSession, O as RuntimeManagedSessionKind, a as RuntimeManagedSessionOptions, Q as RuntimeManagedSessionPlatform, i as RuntimePeerConnectOptions, k as RuntimePeerHealth, S as RuntimePeerLifecycleStatus, j as RuntimePeerReadinessSnapshot, T as RuntimePeerScope, U as RuntimePeerSessionSnapshot, h as RuntimePeerState, m as RuntimePeerStreamOptions, V as RuntimePresenceLoopOptions, W as RuntimePresencePolicy, r as RuntimeRoomMember, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, X as RuntimeSession, Y as RuntimeUiConnectionStatus, Z as ScopedChannelOptions, _ as ScopedLogicalChannel, $ as Session, a0 as SessionOptions } from '../types-BAwo8biA.js';
|
|
7
7
|
import { R as RuntimeCapabilities } from '../capabilities-CaqXOIUU.js';
|
|
8
8
|
export { B as BROWSER_WASM_RUNTIME_CAPABILITIES, c as BrowserRuntimeCapabilityHost, N as NATIVE_IPC_RUNTIME_CAPABILITIES, d as NativeRuntimeStatusSnapshot, e as NativeRuntimeTransportFeatureStatus, b as RuntimeAdapterKind, a as RuntimeCapabilityProfile, f as cloneRuntimeCapabilities, r as runtimeCapabilitiesForBrowserHost, g as runtimeCapabilitiesFromNativeStatus, h as runtimeCapabilityProfile } from '../capabilities-CaqXOIUU.js';
|
|
9
9
|
export { RuntimeDeviceActiveOptions, isRuntimeDeviceActive, isRuntimeDeviceConnectable, isRuntimeDeviceRoutable } from './device-status.js';
|
|
10
10
|
export { h as RuntimeJsonFrameDecoderOptions, R as RuntimeJsonFrameHandler, a as RuntimeU32BEFrameHandler, i as concatRuntimeBytes, c as createRuntimeJsonFrameDecoder, b as createRuntimeU32BEFrameDecoder, d as decodeRuntimeJsonPayload, e as encodeRuntimeJsonFrame, f as encodeRuntimeJsonPayload, g as encodeRuntimeU32BEFrame, r as readRuntimeU32BE } from '../framing-zRvEKOld.js';
|
|
11
|
-
import { I as IpcRuntimeAdapter } from '../tauri-
|
|
12
|
-
export { a as IpcRuntimeAdapterOptions, T as TauriRuntimeAdapter, b as TauriRuntimeAdapterOptions, c as createTauriIpcBridge } from '../tauri-
|
|
11
|
+
import { I as IpcRuntimeAdapter } from '../tauri-DZJ_ZEfB.js';
|
|
12
|
+
export { a as IpcRuntimeAdapterOptions, T as TauriRuntimeAdapter, b as TauriRuntimeAdapterOptions, c as createTauriIpcBridge } from '../tauri-DZJ_ZEfB.js';
|
|
13
13
|
import { WasmRuntimeAdapter } from './WasmRuntimeAdapter.js';
|
|
14
14
|
import { P as PlutoIpcBridge } from '../ipc-CflAVodw.js';
|
|
15
15
|
export { N as NativeIpcFailureKind, a as PlutoIpcUnlisten, c as classifyNativeIpcFailure, i as isNativeIpcCommandUnavailable } from '../ipc-CflAVodw.js';
|
|
16
|
-
import '../IEngineBridge-
|
|
17
|
-
import '../DelegatingRuntimeAdapter-
|
|
16
|
+
import '../IEngineBridge-BbsT8hof.js';
|
|
17
|
+
import '../DelegatingRuntimeAdapter-B9j_lTDM.js';
|
|
18
18
|
|
|
19
19
|
declare class Signaling {
|
|
20
20
|
private readonly appTag;
|
package/dist/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as createIpcClient,a as createWasmClient}from'../chunk-
|
|
1
|
+
export{b as createIpcClient,a as createWasmClient}from'../chunk-WRJ4O5QL.js';export{z as RuntimeClient,i as RuntimeConnectionController,m as ScopedConnectionActorError,p as ScopedConnectionActorHandle,q as ScopedConnectionActorRegistry,l as clog,x as concatRuntimeBytes,k as correlationForDriveGrantScope,w as createRuntimeJsonFrameDecoder,s as createRuntimeU32BEFrameDecoder,u as decodeRuntimeJsonPayload,v as encodeRuntimeJsonFrame,t as encodeRuntimeJsonPayload,r as encodeRuntimeU32BEFrame,y as readRuntimeU32BE,j as renderCorrelationFields,n as scopedConnectionKey,o as scopedConnectionKeyToString}from'../chunk-XQD4RPMU.js';export{a as isRuntimeDeviceActive,c as isRuntimeDeviceConnectable,b as isRuntimeDeviceRoutable}from'../chunk-CK6WQV7J.js';export{a as WasmRuntimeAdapter}from'../chunk-IF5JSSMC.js';export{b as TauriRuntimeAdapter,a as createTauriIpcBridge}from'../chunk-JUXDXE5B.js';export{h as IpcRuntimeAdapter,e as classifyNativeIpcFailure,f as isNativeIpcCommandUnavailable}from'../chunk-E5CLEIY6.js';export{x as BROWSER_WASM_RUNTIME_CAPABILITIES,y as NATIVE_IPC_RUNTIME_CAPABILITIES,v as OPENRTC_RUNTIME_POLICY,z as cloneRuntimeCapabilities,w as getRuntimePolicy,n as logOpenRtcTeardownTrace,b as openRtcDebug,a as openRtcDebugEnabled,c as openRtcDebugInfo,d as openRtcDebugLog,A as runtimeCapabilitiesForBrowserHost,B as runtimeCapabilitiesFromNativeStatus,C as runtimeCapabilityProfile}from'../chunk-AIHDHYZP.js';import'../chunk-QT2ASNI3.js';import'../chunk-SY6YGCXA.js';import'../chunk-C7YN5MSV.js';
|
package/dist/runtime/tauri.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { T as TauriRuntimeAdapter, b as TauriRuntimeAdapterOptions, c as createTauriIpcBridge } from '../tauri-
|
|
1
|
+
export { T as TauriRuntimeAdapter, b as TauriRuntimeAdapterOptions, c as createTauriIpcBridge } from '../tauri-DZJ_ZEfB.js';
|
|
2
2
|
import '../ipc-CflAVodw.js';
|
|
3
|
-
import '../types-
|
|
4
|
-
import '../DelegatingRuntimeAdapter-
|
|
5
|
-
import '../IEngineBridge-
|
|
3
|
+
import '../types-CL4Da0BR.js';
|
|
4
|
+
import '../DelegatingRuntimeAdapter-B9j_lTDM.js';
|
|
5
|
+
import '../IEngineBridge-BbsT8hof.js';
|
|
6
6
|
import '../capabilities-CaqXOIUU.js';
|
package/dist/runtime/tauri.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as TauriRuntimeAdapter,a as createTauriIpcBridge}from'../chunk-
|
|
1
|
+
export{b as TauriRuntimeAdapter,a as createTauriIpcBridge}from'../chunk-JUXDXE5B.js';import'../chunk-E5CLEIY6.js';import'../chunk-AIHDHYZP.js';import'../chunk-QT2ASNI3.js';import'../chunk-SY6YGCXA.js';import'../chunk-C7YN5MSV.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as RuntimeClient, a as RuntimePolicySnapshot, P as PeerReconciliationStats, b as PlutoRuntimeAssembly } from './assembly-
|
|
2
|
-
import { C as ConnectDeviceResult, b as ConnectDeviceHooks, c as ConnectDeviceOptions, P as PeerSessionSnapshot, R as ResolvedPeerIdentity, G as GrantScope, a as SpaceTokenProvider } from './types-
|
|
3
|
-
import { A as AuthContext } from './IEngineBridge-
|
|
4
|
-
import { a as RuntimeManagedSessionOptions, b as RuntimeManagedSession, c as RuntimeDevice, d as RuntimeDeviceStatusSnapshot, e as RuntimeDeviceConnectOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, h as RuntimePeerState, i as RuntimePeerConnectOptions, C as Connection, j as RuntimePeerReadinessSnapshot, k as RuntimePeerHealth, l as RuntimeChannelDescriptor, m as RuntimePeerStreamOptions, n as RuntimeIncomingStream, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, q as RuntimeJoinRoomOptions, r as RuntimeRoomMember, s as RuntimeConnectionStateSnapshot, t as RuntimeApplicationPayloadReadinessOptions, u as RuntimeConnectionEvent, v as RuntimeRawConnection } from './types-
|
|
1
|
+
import { R as RuntimeClient, a as RuntimePolicySnapshot, P as PeerReconciliationStats, b as PlutoRuntimeAssembly } from './assembly-Ddq1o4NV.js';
|
|
2
|
+
import { C as ConnectDeviceResult, b as ConnectDeviceHooks, c as ConnectDeviceOptions, P as PeerSessionSnapshot, R as ResolvedPeerIdentity, G as GrantScope, a as SpaceTokenProvider } from './types-CL4Da0BR.js';
|
|
3
|
+
import { A as AuthContext } from './IEngineBridge-BbsT8hof.js';
|
|
4
|
+
import { a as RuntimeManagedSessionOptions, b as RuntimeManagedSession, c as RuntimeDevice, d as RuntimeDeviceStatusSnapshot, e as RuntimeDeviceConnectOptions, f as RuntimeLocalDeviceInfo, g as RuntimeLocalDeviceProfile, h as RuntimePeerState, i as RuntimePeerConnectOptions, C as Connection, j as RuntimePeerReadinessSnapshot, k as RuntimePeerHealth, l as RuntimeChannelDescriptor, m as RuntimePeerStreamOptions, n as RuntimeIncomingStream, o as RuntimeScopedChannelOptions, p as RuntimeScopedLogicalChannel, q as RuntimeJoinRoomOptions, r as RuntimeRoomMember, s as RuntimeConnectionStateSnapshot, t as RuntimeApplicationPayloadReadinessOptions, u as RuntimeConnectionEvent, v as RuntimeRawConnection } from './types-BAwo8biA.js';
|
|
5
5
|
import { R as RuntimeCapabilities, a as RuntimeCapabilityProfile } from './capabilities-CaqXOIUU.js';
|
|
6
6
|
|
|
7
7
|
type OpenRTCChannelConnectOptions = Omit<RuntimeScopedChannelOptions, 'scope' | 'deviceId' | 'ticket'> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as ClientOptions } from './types-
|
|
2
|
-
import { W as WasmBridgeOptions, D as DelegatingRuntimeAdapter } from './DelegatingRuntimeAdapter-
|
|
1
|
+
import { e as ClientOptions } from './types-CL4Da0BR.js';
|
|
2
|
+
import { W as WasmBridgeOptions, D as DelegatingRuntimeAdapter } from './DelegatingRuntimeAdapter-B9j_lTDM.js';
|
|
3
3
|
import { P as PlutoIpcBridge } from './ipc-CflAVodw.js';
|
|
4
4
|
|
|
5
5
|
interface NativeIpcBridgeOptions extends WasmBridgeOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a1 as RouteDescriptor, w as ProtocolName } from '../types-
|
|
2
|
-
export { a2 as RouteFamily, a3 as RouteImplementationKind } from '../types-
|
|
1
|
+
import { a1 as RouteDescriptor, w as ProtocolName } from '../types-CL4Da0BR.js';
|
|
2
|
+
export { a2 as RouteFamily, a3 as RouteImplementationKind } from '../types-CL4Da0BR.js';
|
|
3
3
|
|
|
4
4
|
declare const ROUTE_DESCRIPTORS: readonly RouteDescriptor[];
|
|
5
5
|
declare function getRouteDescriptor(id: ProtocolName): RouteDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AuthContext } from './IEngineBridge-
|
|
2
|
-
import { s as ConnectionOptions, t as ApplicationPayloadCrypto, u as ApplicationPayloadReadinessOptions, v as ApplicationPayloadRouteOptions, w as ProtocolName, x as ApplicationPayloadSendOptions, T as TransportLatencySnapshot, y as ChannelDescriptor$1, L as LocalDeviceInfo, z as IncomingStreamChannelMetadata, e as ClientOptions, h as Device, m as SignalingSession, f as RuntimeIdentity, i as DeviceStatusSnapshot, F as ManagedDeviceConnectOptions, H as PeerState, J as PeerHealth, K as JoinRoomOptions, g as RoomMember, O as PeerScope, r as BackendConnectionState, Q as DevicePresenceStatus, U as PeerLifecycleStatus, P as PeerSessionSnapshot } from './types-
|
|
1
|
+
import { A as AuthContext } from './IEngineBridge-BbsT8hof.js';
|
|
2
|
+
import { s as ConnectionOptions, t as ApplicationPayloadCrypto, u as ApplicationPayloadReadinessOptions, v as ApplicationPayloadRouteOptions, w as ProtocolName, x as ApplicationPayloadSendOptions, T as TransportLatencySnapshot, y as ChannelDescriptor$1, L as LocalDeviceInfo, z as IncomingStreamChannelMetadata, e as ClientOptions, h as Device, m as SignalingSession, f as RuntimeIdentity, i as DeviceStatusSnapshot, F as ManagedDeviceConnectOptions, H as PeerState, J as PeerHealth, K as JoinRoomOptions, g as RoomMember, O as PeerScope, r as BackendConnectionState, Q as DevicePresenceStatus, U as PeerLifecycleStatus, P as PeerSessionSnapshot } from './types-CL4Da0BR.js';
|
|
3
3
|
|
|
4
4
|
interface ITransport {
|
|
5
5
|
readonly name: string;
|
|
@@ -262,6 +262,12 @@ declare class Connection {
|
|
|
262
262
|
* Disconnect the connection
|
|
263
263
|
*/
|
|
264
264
|
disconnect(): Promise<void>;
|
|
265
|
+
/**
|
|
266
|
+
* Consume an authoritative managed-session denial for the current
|
|
267
|
+
* capability epoch. This is terminal for the logical connection: optional
|
|
268
|
+
* routes cannot keep a revoked or rejected session alive.
|
|
269
|
+
*/
|
|
270
|
+
handleSessionAdmissionRejected(reason: string): void;
|
|
265
271
|
/**
|
|
266
272
|
* Listen for incoming messages
|
|
267
273
|
*/
|
|
@@ -242,6 +242,15 @@ interface ClientOptions {
|
|
|
242
242
|
* Hosted production clients receive the managed production default.
|
|
243
243
|
*/
|
|
244
244
|
coordinationGateway?: CoordinationGatewayOptions;
|
|
245
|
+
/**
|
|
246
|
+
* Supplies the provider-neutral platform-attestation token used by the
|
|
247
|
+
* configured coordination control plane.
|
|
248
|
+
*
|
|
249
|
+
* Hosted Firebase deployments use App Check by default. Custom hosts and
|
|
250
|
+
* deterministic harnesses can inject their own provider without coupling
|
|
251
|
+
* gateway coordination to Firebase-specific SDK state.
|
|
252
|
+
*/
|
|
253
|
+
platformAttestationTokenProvider?: (forceRefresh?: boolean) => Promise<string | null>;
|
|
245
254
|
storagePrefix?: string;
|
|
246
255
|
deviceTTL?: number;
|
|
247
256
|
deviceName?: string;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type AuthContext = {
|
|
2
|
-
userId: string;
|
|
3
|
-
token?: string | null;
|
|
4
|
-
refreshToken?: string | null;
|
|
5
|
-
customToken?: string | null;
|
|
6
|
-
tokenProvider?: (forceRefresh?: boolean) => Promise<string | null>;
|
|
7
|
-
expiresAtMs?: number | null;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type { AuthContext as A };
|