@pagelines/sdk 1.0.489 → 1.0.490

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.
@@ -242,11 +242,11 @@ Current User:
242
242
  onDone: c,
243
243
  onError: x,
244
244
  onStatus: h
245
- }) : s.chatStreamPublic({
245
+ }) : s.chat.chatStreamPublic({
246
246
  handle: this._agent.handle.value,
247
247
  message: e,
248
248
  attachments: n,
249
- anonymousId: s.generateAnonId(),
249
+ anonymousId: s.user.generateAnonId(),
250
250
  context: this.getDynamicSettings().context || void 0,
251
251
  onDelta: f,
252
252
  onDone: c,
@@ -2788,11 +2788,11 @@ const ii = { class: "@container/chat flex flex-col h-full relative" }, ai = {
2788
2788
  }
2789
2789
  try {
2790
2790
  r.value = !0, t.debug("Fetching public agent", { handle: e.handle });
2791
- const l = await n.getPublicAgent({ handle: e.handle });
2791
+ const l = await n.user.getPublicAgent({ handle: e.handle });
2792
2792
  l ? (s.value = new Tt({ config: l }), t.debug("Successfully fetched public agent", {
2793
2793
  agentId: l.agentId,
2794
2794
  handle: l.handle
2795
- }), l.agentId && n.track({
2795
+ }), l.agentId && n.user.track({
2796
2796
  event: "view_profile",
2797
2797
  agentId: l.agentId,
2798
2798
  properties: {