@kehto/paja 0.28.0 → 0.28.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.
@@ -17155,6 +17155,17 @@ function nappletNamespacePrelude(domains, normalizeIntentUri2) {
17155
17155
  const target = window;
17156
17156
  const allowed2 = new Set(domains);
17157
17157
  const requestTimeoutMs = 3e4;
17158
+ for (const rtcCtor of ["RTCPeerConnection", "webkitRTCPeerConnection"]) {
17159
+ try {
17160
+ Object.defineProperty(target, rtcCtor, {
17161
+ value: void 0,
17162
+ writable: false,
17163
+ configurable: false,
17164
+ enumerable: false
17165
+ });
17166
+ } catch {
17167
+ }
17168
+ }
17158
17169
  function id() {
17159
17170
  if (target.crypto?.randomUUID) return target.crypto.randomUUID();
17160
17171
  return `napplet-${Date.now()}-${Math.random().toString(16).slice(2)}`;