@rtc-agent/component 0.3.4-rc.1 → 0.3.4-rc.3

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.
@@ -1,4 +1,4 @@
1
- import { s as e } from "./index-DbBD1iUE.js";
1
+ import { s as e } from "./index-BvZsB3hz.js";
2
2
  const s = {
3
3
  s0016a70887124d70: "Session",
4
4
  s01366f0961abde4c: "Link",
@@ -1,4 +1,4 @@
1
- import { g as En } from "./index-DbBD1iUE.js";
1
+ import { g as En } from "./index-BvZsB3hz.js";
2
2
  function De(e) {
3
3
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
4
4
  throw new Error("map is read-only");
@@ -8355,7 +8355,7 @@ const x6 = (t) => (u6((e, r) => v6(rk, e, r)), Tm = tk = t.sourceLocale, Em = ne
8355
8355
  }), zl.reject(n));
8356
8356
  }), zl.promise;
8357
8357
  }, nk = Gt("I18n"), Ht = "zh-CN", Ar = ["en-US"], pw = {
8358
- "en-US": async () => (await import("./en-US-CnYTczGF.js")).default
8358
+ "en-US": async () => (await import("./en-US-CUrMM9Gx.js")).default
8359
8359
  }, { getLocale: Iv, setLocale: ik } = x6({
8360
8360
  sourceLocale: Ht,
8361
8361
  targetLocales: Ar,
@@ -16303,8 +16303,8 @@ const Us = Gt("UIUpdateBus"), Oo = class Oo {
16303
16303
  } catch {
16304
16304
  o = JSON.parse(JSON.stringify(e));
16305
16305
  }
16306
- const l = { event: o, timestamp: Date.now() };
16307
- n = await s.ui_updates.add(l);
16306
+ const l = { event: o, timestamp: Date.now() }, c = s.constructor.currentTransaction;
16307
+ c ? n = await c.table("ui_updates").add(l) : n = await s.ui_updates.add(l);
16308
16308
  } catch (s) {
16309
16309
  Us.warn("Failed to persist UI update to queue (seq not advanced):", s);
16310
16310
  }
@@ -16646,7 +16646,7 @@ class nN {
16646
16646
  */
16647
16647
  async write(e, r, n = "overwrite", i) {
16648
16648
  const s = Sa(e), o = Go(), l = this.inferFileType(s);
16649
- return o.transaction("rw", o.fileSystemEntries, async () => {
16649
+ return o.transaction("rw", o.fileSystemEntries, o.ui_updates, async () => {
16650
16650
  const c = await o.fileSystemEntries.get(s);
16651
16651
  if (n === "create-new" && c)
16652
16652
  return c.content.length;
@@ -16881,7 +16881,7 @@ class nN {
16881
16881
  throw new Error("old_string must not be empty");
16882
16882
  if (r === n)
16883
16883
  throw new Error("No changes to make: old_string and new_string are exactly the same");
16884
- return o.transaction("rw", o.fileSystemEntries, async () => {
16884
+ return o.transaction("rw", o.fileSystemEntries, o.ui_updates, async () => {
16885
16885
  const l = await o.fileSystemEntries.get(s);
16886
16886
  if (!l)
16887
16887
  throw new fu("ENOENT", `File not found: ${s}`);
@@ -16926,7 +16926,7 @@ String: ${r}`);
16926
16926
  const r = Sa(e);
16927
16927
  po.debug("remove:", r);
16928
16928
  const n = Go();
16929
- await n.transaction("rw", n.fileSystemEntries, async () => {
16929
+ await n.transaction("rw", n.fileSystemEntries, n.ui_updates, async () => {
16930
16930
  if (!await n.fileSystemEntries.get(r))
16931
16931
  throw po.debug("remove: file not found:", r), new fu("ENOENT", `File not found: ${r}`);
16932
16932
  await n.fileSystemEntries.delete(r);
@@ -69502,7 +69502,7 @@ class Pq {
69502
69502
  }
69503
69503
  function fP(t) {
69504
69504
  return new SharedWorker(
69505
- "" + new URL("assets/shared-worker-Cqq_7YGD.js", import.meta.url).href,
69505
+ "" + new URL("assets/shared-worker-BZNpAsxL.js", import.meta.url).href,
69506
69506
  {
69507
69507
  type: "module",
69508
69508
  name: t == null ? void 0 : t.name
@@ -81708,7 +81708,7 @@ let Ps = class extends ur {
81708
81708
  const [e, r, n] = await Promise.all([
81709
81709
  import("./marked.esm-Dch69AxC.js"),
81710
81710
  import("./purify.es-C-6FFqDW.js"),
81711
- import("./highlight-languages-B80SN_bH.js")
81711
+ import("./highlight-languages-CqJEzDCS.js")
81712
81712
  ]);
81713
81713
  return {
81714
81714
  marked: e.marked,
@@ -85059,7 +85059,7 @@ let bl = class extends ur {
85059
85059
  const [e, r, n] = await Promise.all([
85060
85060
  import("./marked.esm-Dch69AxC.js"),
85061
85061
  import("./purify.es-C-6FFqDW.js"),
85062
- import("./highlight-languages-B80SN_bH.js")
85062
+ import("./highlight-languages-CqJEzDCS.js")
85063
85063
  ]);
85064
85064
  return {
85065
85065
  marked: e.marked,
@@ -97322,7 +97322,7 @@ function _G(t) {
97322
97322
  }
97323
97323
  let xv = null, wv = null, Sv = null;
97324
97324
  async function xG() {
97325
- return xv || (xv = (await import("./marked.esm-Dch69AxC.js")).marked), wv || (wv = (await import("./purify.es-C-6FFqDW.js")).default), Sv || (Sv = (await import("./highlight-languages-B80SN_bH.js")).default), { marked: xv, DOMPurify: wv, hljs: Sv };
97325
+ return xv || (xv = (await import("./marked.esm-Dch69AxC.js")).marked), wv || (wv = (await import("./purify.es-C-6FFqDW.js")).default), Sv || (Sv = (await import("./highlight-languages-CqJEzDCS.js")).default), { marked: xv, DOMPurify: wv, hljs: Sv };
97326
97326
  }
97327
97327
  function wG(t, e) {
97328
97328
  return t.replace(
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as s, D as t, a as o, E as n, F as r, b as i, R as c, S as l, c as d, d as T, e as g, f as m, h as L, i as h, j as A, k as u, l as F, m as S, n as p, o as C, p as E, q as v, r as I, t as R, u as f, v as w, w as x, x as B, y, z as V, A as _, B as z, G as M, H as P, I as k, J as D, K as G, L as O, M as U, N as b, O as K, P as N, Q as j, T as q } from "./index-DbBD1iUE.js";
1
+ import { C as s, D as t, a as o, E as n, F as r, b as i, R as c, S as l, c as d, d as T, e as g, f as m, h as L, i as h, j as A, k as u, l as F, m as S, n as p, o as C, p as E, q as v, r as I, t as R, u as f, v as w, w as x, x as B, y, z as V, A as _, B as z, G as M, H as P, I as k, J as D, K as G, L as O, M as U, N as b, O as K, P as N, Q as j, T as q } from "./index-BvZsB3hz.js";
2
2
  export {
3
3
  s as CancelledError,
4
4
  t as DEFAULT_ACTIVITY_BAR_CONFIG,