@cloudflare/realtimekit 1.1.7-staging.1 → 1.1.7-staging.2

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/index.d.ts CHANGED
@@ -5892,6 +5892,7 @@ declare global {
5892
5892
  RNLocalMediaHandlerImpl?: any;
5893
5893
  RNAudioSampleHandlerImpl?: any;
5894
5894
  RNBackgroundTimerImpl?: any;
5895
+ RNDeviceInfoImpl?: any;
5895
5896
  isReactNative?: boolean;
5896
5897
  }
5897
5898
  interface Window {
package/dist/index.es.js CHANGED
@@ -9704,7 +9704,9 @@ const CC = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d=
9704
9704
  init(t, e, r) {
9705
9705
  this.tracingEnabled = true, this.initialized = false, this.logsCache = [];
9706
9706
  const i = t.getValue("peerId");
9707
- this.meetingMetadata = e, this.tracingEnabled = r, this.meetingMetadata.peerId = i, this.meetingMetadata.sdkVersion = t.getValue("sdkVersion"), this.meetingMetadata.deviceInfo = Te.getDeviceInfo(), this.meetingMetadata.visitedUrl = !navigator.isReactNative && typeof window != "undefined" && window.location.href, this.logsProcessorTimer = setInterval(
9707
+ this.meetingMetadata = e, this.tracingEnabled = r, this.meetingMetadata.peerId = i, this.meetingMetadata.sdkVersion = t.getValue("sdkVersion");
9708
+ const { RNDeviceInfoImpl: n } = navigator;
9709
+ this.meetingMetadata.deviceInfo = navigator.isReactNative ? n == null ? void 0 : n.getDeviceInfo() : Te.getDeviceInfo(), this.meetingMetadata.visitedUrl = !navigator.isReactNative && typeof window != "undefined" && window.location.href, this.logsProcessorTimer = setInterval(
9708
9710
  this.processCachedLogs.bind(this),
9709
9711
  this.logsProcessingInterval
9710
9712
  ), r && (this.initialized = true);
@@ -30502,7 +30504,7 @@ let ri = (Wg = class {
30502
30504
  video: true
30503
30505
  };
30504
30506
  return n.setValue("options", e), n.setValue("peerId", t), n.setValue("modules", o), n.setValue("sdkName", "web-core"), n.setValue("meetingId", r), n.setValue("apiBase", i.apiBase), n.setValue("baseURI", i.baseURI), n.setValue("userId", i.participantId), n.setValue("organizationId", i.orgId), n.setValue("authToken", e.authToken), n.setValue("overrides", (d = e.overrides) != null ? d : {}), n.setValue("env", PC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
30505
- })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.7-staging.1"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30507
+ })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.7-staging.2"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30506
30508
  }
30507
30509
  join() {
30508
30510
  return u(this, null, function* () {