openrtc 2.0.0-rc.19 → 2.0.0-rc.20
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.md +10 -0
- package/dist/{DelegatingRuntimeAdapter-Btvzi1s9.d.ts → DelegatingRuntimeAdapter-7Y3gss5D.d.ts} +2 -2
- package/dist/WasmBridge-VN3MA4LT.js +1 -0
- package/dist/{chunk-4O7LBIZ7.js → chunk-FQH6O3SU.js} +2 -2
- package/dist/{chunk-QN6CWX67.js → chunk-KEPDY3LB.js} +2 -2
- package/dist/{chunk-5BJH7BT3.js → chunk-NCMT4MKM.js} +1 -1
- package/dist/chunk-NW25RLPN.js +2 -0
- package/dist/{chunk-5MKOU7KA.js → chunk-R2QM2IDY.js} +1 -1
- package/dist/{chunk-7CXATNTI.js → chunk-RGRVKR66.js} +1 -1
- package/dist/deviceProfile-3BEQZLJF.js +2 -0
- package/dist/factories-NLQVWWJE.js +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/ipcFactory-SMUMTEMH.js +1 -0
- package/dist/native.d.ts +4 -4
- package/dist/native.js +1 -1
- package/dist/{openrtc-2YBQTEN6.js → openrtc-3YHRRPAG.js} +1 -1
- package/dist/openrtc_bg.wasm +0 -0
- package/dist/runtime/WasmRuntimeAdapter.d.ts +2 -2
- package/dist/runtime/WasmRuntimeAdapter.js +1 -1
- package/dist/runtime/device-status.d.ts +2 -2
- package/dist/runtime/index.d.ts +6 -6
- package/dist/runtime/index.js +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +1 -1
- package/dist/transport/index.d.ts +2 -2
- package/dist/{types-DHuvdODq.d.ts → types-BwmoJU2O.d.ts} +2 -0
- package/dist/{types-DGLT7H_k.d.ts → types-DE4iPkMB.d.ts} +17 -11
- package/dist/{types-Br65RHyy.d.ts → types-oGGnaSW2.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/WasmBridge-ZVBWB3NH.js +0 -1
- package/dist/chunk-RCDFNDJ5.js +0 -2
- package/dist/factories-TJRYJNYB.js +0 -1
- package/dist/ipcFactory-4DBAKI42.js +0 -1
package/README.md
CHANGED
|
@@ -63,9 +63,19 @@ const rtc = OpenRTC({
|
|
|
63
63
|
const devices = await rtc.devices.start({
|
|
64
64
|
auth,
|
|
65
65
|
autoConnect: 'online',
|
|
66
|
+
// Optional. Browser clients infer labels such as "Chrome on Android";
|
|
67
|
+
// native clients should pass the host-reported OS and user-visible name.
|
|
68
|
+
profile: { name: "Bryant's iPhone", platform: 'ios' },
|
|
66
69
|
});
|
|
67
70
|
```
|
|
68
71
|
|
|
72
|
+
`profile` is presentation metadata, not device identity. OpenRTC continues to
|
|
73
|
+
bind enrollment and limits to its stable installation ID and device key. A
|
|
74
|
+
changed profile updates the existing enrollment once; it does not enroll or
|
|
75
|
+
bill a second device. User-assigned hardware names are not exposed by every
|
|
76
|
+
browser or mobile OS, so privacy-safe defaults identify the available
|
|
77
|
+
environment (for example `iPhone`, `Chrome on iPhone`, or `Chrome on Android`).
|
|
78
|
+
|
|
69
79
|
Consumer apps own login UX, product authorization, IdP registration, and
|
|
70
80
|
platform-attestation setup. OpenRTC owns assertion validation, device binding,
|
|
71
81
|
grant issuance and refresh, revocation, budgets, metering, and abuse controls.
|
package/dist/{DelegatingRuntimeAdapter-Btvzi1s9.d.ts → DelegatingRuntimeAdapter-7Y3gss5D.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DiscoveryMode, A as AuthMode, S as SignalingMode, C as ClientOptions, E as ExplicitFileDataSendParams, I as ISignalingBackend, R as RuntimeIdentity, a as RoomMember, b as Device, c as DeviceStatusSnapshot, P as PeerSessionSnapshot, d as ResolvedPeerIdentity, M as ManagedConnectionRecord, e as SignalingEnvelope, f as DeviceEvent, g as DesiredPeerProjection, h as SignalingSession, i as SessionEvent, L as LocalDeviceInfo, N as NativeManagedSessionStartResult, G as GrantScope, B as BackendPeerBiStream, j as BackendPeerUniStream, k as NativeConnectParams, l as NativeConnectResult, m as BackendConnectionState } from './types-
|
|
1
|
+
import { D as DiscoveryMode, A as AuthMode, S as SignalingMode, C as ClientOptions, E as ExplicitFileDataSendParams, I as ISignalingBackend, R as RuntimeIdentity, a as RoomMember, b as Device, c as DeviceStatusSnapshot, P as PeerSessionSnapshot, d as ResolvedPeerIdentity, M as ManagedConnectionRecord, e as SignalingEnvelope, f as DeviceEvent, g as DesiredPeerProjection, h as SignalingSession, i as SessionEvent, L as LocalDeviceInfo, N as NativeManagedSessionStartResult, G as GrantScope, B as BackendPeerBiStream, j as BackendPeerUniStream, k as NativeConnectParams, l as NativeConnectResult, m as BackendConnectionState } from './types-BwmoJU2O.js';
|
|
2
2
|
import { A as AuthContext } from './IEngineBridge-BbsT8hof.js';
|
|
3
3
|
import { R as RuntimeCapabilities } from './capabilities-YSskrE8H.js';
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ interface WasmBridgeOptions {
|
|
|
14
14
|
coordinationAvenueOverride?: ClientOptions['coordinationAvenueOverride'];
|
|
15
15
|
platformAttestationTokenProvider?: ClientOptions['platformAttestationTokenProvider'];
|
|
16
16
|
/** Internal host hint used by the provider-neutral gateway projection. */
|
|
17
|
-
coordinationPlatformType?:
|
|
17
|
+
coordinationPlatformType?: string;
|
|
18
18
|
storagePrefix?: string;
|
|
19
19
|
deviceIdPersistence?: 'persistent' | 'ephemeral';
|
|
20
20
|
endpointIdPersistence?: 'persistent' | 'ephemeral';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{y as WasmBridge}from'./chunk-FQH6O3SU.js';import'./chunk-NT5YHZQH.js';import'./chunk-PQK5SJ47.js';import'./chunk-QHSM5NFZ.js';import'./chunk-C7YN5MSV.js';
|