@desivocal/agents-cdn 1.0.20-alpha.1 → 1.0.20-alpha.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/dv-agent.es.js +6 -2
- package/dist/dv-agent.umd.js +10 -10
- package/package.json +1 -1
package/dist/dv-agent.es.js
CHANGED
|
@@ -60533,7 +60533,7 @@ const qse = ({ room: t, config: e }) => {
|
|
|
60533
60533
|
console.warn("[RPC] No agent participant found to send response to");
|
|
60534
60534
|
return;
|
|
60535
60535
|
}
|
|
60536
|
-
const { name: Bt, originalConfig: bn } = It, jt =
|
|
60536
|
+
const { name: Bt, originalConfig: bn } = It, jt = "receive_dynamic_data";
|
|
60537
60537
|
let Sn;
|
|
60538
60538
|
if (Bt === "calendar") {
|
|
60539
60539
|
const wr = Me.step_data && Me.step_data.slot_id;
|
|
@@ -60548,7 +60548,11 @@ const qse = ({ room: t, config: e }) => {
|
|
|
60548
60548
|
Sn = (Array.isArray(bn) ? bn : []).find((Qe) => Qe.id === wr) || { id: wr };
|
|
60549
60549
|
} else
|
|
60550
60550
|
Sn = Me;
|
|
60551
|
-
const er = JSON.stringify(
|
|
60551
|
+
const er = JSON.stringify({
|
|
60552
|
+
componant_type: `receive_component_${Bt}`,
|
|
60553
|
+
component_id: et,
|
|
60554
|
+
componant_data: Sn
|
|
60555
|
+
});
|
|
60552
60556
|
try {
|
|
60553
60557
|
console.log(`[RPC] Sending ${jt}:`, er);
|
|
60554
60558
|
const wr = await Ve.localParticipant.performRpc({
|