@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.
- package/bin/rtc-agent-setup.js +3 -1
- package/dist/assets/{index.browser-D4SG7v3Y.js → index.browser-eyaxJE57.js} +2 -2
- package/dist/assets/{shared-worker-Bw4_Rekb.js → shared-worker-Czk9mL9X.js} +4747 -4769
- package/dist/{en-US-5v3M5mKE.js → en-US-DgHzAQSb.js} +1 -1
- package/dist/{highlight-languages-DNn7E0hV.js → highlight-languages-BkOtpFsF.js} +1 -1
- package/dist/{index-B1wkXAVX.js → index-C61Kt7ld.js} +4076 -4098
- package/dist/index.js +1 -1
- package/dist/index.umd.js +240 -240
- package/dist/stats.html +1 -1
- package/package.json +5 -5
package/bin/rtc-agent-setup.js
CHANGED
|
@@ -119,10 +119,12 @@ function copyWorkerFiles(targetDir) {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
// Find the hashed worker file
|
|
122
|
-
|
|
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-
|
|
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-
|
|
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");
|