@rtc-agent/component 0.3.0-rc.1 → 0.3.0-rc.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.
@@ -119,10 +119,12 @@ function copyWorkerFiles(targetDir) {
119
119
  }
120
120
 
121
121
  // Find the hashed worker file
122
- const hashedWorkerFile = workerFiles.find(f => f !== 'shared-worker.js' && f.match(/shared-worker-[A-Za-z0-9]+\.js/));
122
+ // Vite generates hashes with alphanumeric characters, underscores, and hyphens
123
+ const hashedWorkerFile = workerFiles.find(f => f !== 'shared-worker.js' && f.match(/shared-worker-[\w-]+\.js/));
123
124
 
124
125
  if (!hashedWorkerFile) {
125
126
  console.warn('⚠️ Warning: No hashed worker file found');
127
+ console.log(' Available worker files:', workerFiles.join(', '));
126
128
  return 0;
127
129
  }
128
130
 
@@ -1,8 +1,8 @@
1
1
  var I = Object.defineProperty;
2
2
  var R = (E, e, s) => e in E ? I(E, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : E[e] = s;
3
3
  var w = (E, e, s) => R(E, typeof e != "symbol" ? e + "" : e, s);
4
- import { h as C, t as B, T as U, f as H, e as N } from "./shared-worker-Bw4_Rekb.js";
5
- import { E as D, a as $, H as F, I as K, M as L, b as q, S as G, c as J, d as Q, g as V, i as W, j as X, r as Y, k as Z } from "./shared-worker-Bw4_Rekb.js";
4
+ import { h as C, t as B, T as U, f as H, e as N } from "./shared-worker-Czk9mL9X.js";
5
+ import { E as D, a as $, H as F, I as K, M as L, b as q, S as G, c as J, d as Q, g as V, i as W, j as X, r as Y, k as Z } from "./shared-worker-Czk9mL9X.js";
6
6
  class O {
7
7
  constructor({ marshaller: e, serializer: s, deserializer: l, serdeContext: c, defaultContentType: d, compositeErrorRegistry: o }) {
8
8
  w(this, "marshaller");