@pagelines/sdk 1.0.207 → 1.0.209
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/{AgentProvider.vue_vue_type_script_setup_true_lang-3Bb9TMh9.js → AgentProvider.vue_vue_type_script_setup_true_lang-GgGjo40K.js} +2 -2
- package/dist/{AgentProvider.vue_vue_type_script_setup_true_lang-3Bb9TMh9.js.map → AgentProvider.vue_vue_type_script_setup_true_lang-GgGjo40K.js.map} +1 -1
- package/dist/{AgentWidgetInline-S_dLDyR4.js → AgentWidgetInline-BXeTufF0.js} +2 -2
- package/dist/{AgentWidgetInline-S_dLDyR4.js.map → AgentWidgetInline-BXeTufF0.js.map} +1 -1
- package/dist/{AgentWidgetModal-B-SpFsc0.js → AgentWidgetModal-DP7iwx2o.js} +2 -2
- package/dist/{AgentWidgetModal-B-SpFsc0.js.map → AgentWidgetModal-DP7iwx2o.js.map} +1 -1
- package/dist/{AgentWidgetPopup-DL5gm6Oe.js → AgentWidgetPopup-C5ZgN09k.js} +2 -2
- package/dist/{AgentWidgetPopup-DL5gm6Oe.js.map → AgentWidgetPopup-C5ZgN09k.js.map} +1 -1
- package/dist/{AgentWrap.vue_vue_type_script_setup_true_lang-TroCRBgC.js → AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js} +615 -605
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js.map +1 -0
- package/dist/agent/schema.d.ts +1 -0
- package/dist/agent.js +3 -3
- package/dist/clients/ChatClient.d.ts +1 -0
- package/dist/clients/types.d.ts +2 -2
- package/dist/sdk.js +1 -1
- package/dist/{sdkClient-90qax7Jh.js → sdkClient-B3EKDRYb.js} +365 -190
- package/dist/sdkClient-B3EKDRYb.js.map +1 -0
- package/dist/sdkClient.d.ts +1 -1
- package/dist/widget.js +4 -4
- package/package.json +2 -2
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-TroCRBgC.js.map +0 -1
- package/dist/sdkClient-90qax7Jh.js.map +0 -1
package/dist/agent/schema.d.ts
CHANGED
package/dist/agent.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var c = (e, r) => y(e, "name", { value: r, configurable: !0 });
|
|
3
|
-
import { _ as E, g as C, a as I } from "./AgentWrap.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { f as q, b as J, d as K, c as X, A as Y, C as ee, E as te, V as se, e as ae, j as oe, h as ne, i as ie, k as le, p as re } from "./AgentWrap.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as E, g as C, a as I } from "./AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js";
|
|
4
|
+
import { f as q, b as J, d as K, c as X, A as Y, C as ee, E as te, V as se, e as ae, j as oe, h as ne, i as ie, k as le, p as re } from "./AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js";
|
|
5
5
|
import { defineComponent as x, createBlock as g, openBlock as l, withCtx as b, createElementVNode as o, createVNode as M, ref as h, watch as _, nextTick as O, createElementBlock as f, createCommentVNode as u, normalizeClass as p, normalizeStyle as U, unref as V } from "vue";
|
|
6
6
|
import { _ as $ } from "./FModal.vue_vue_type_script_setup_true_lang-cL0BFEkZ.js";
|
|
7
|
-
import { _ as N } from "./AgentProvider.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as N } from "./AgentProvider.vue_vue_type_script_setup_true_lang-GgGjo40K.js";
|
|
8
8
|
import { getDefaultAvatarUrl as ce } from "@pagelines/types";
|
|
9
9
|
const S = { class: "relative w-full h-[80vh] md:h-[600px]" }, P = /* @__PURE__ */ x({
|
|
10
10
|
name: "AgentModal",
|
package/dist/clients/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SDKAppType } from '@/modules/main/server';
|
|
|
3
3
|
import { Agent, ApiResponse, EnrichedUser } from '@pagelines/types';
|
|
4
4
|
import { ComputedRef, Ref } from 'vue';
|
|
5
5
|
import { SDKStorage } from '../sdkStorage';
|
|
6
|
-
import {
|
|
6
|
+
import { LogHelper } from '../utils/logger';
|
|
7
7
|
export interface SDKContext {
|
|
8
8
|
api: ReturnType<typeof hc<SDKAppType>> extends {
|
|
9
9
|
api: infer A;
|
|
@@ -17,6 +17,6 @@ export interface SDKContext {
|
|
|
17
17
|
currentAgent: ComputedRef<Agent | undefined>;
|
|
18
18
|
storage: SDKStorage;
|
|
19
19
|
sessionId: string;
|
|
20
|
-
logger:
|
|
20
|
+
logger: LogHelper;
|
|
21
21
|
processApiResponse: (response: ApiResponse<any>) => void;
|
|
22
22
|
}
|
package/dist/sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, C as r, P as s, U as o } from "./sdkClient-
|
|
1
|
+
import { A as t, C as r, P as s, U as o } from "./sdkClient-B3EKDRYb.js";
|
|
2
2
|
import { MediaSchema as i } from "@pagelines/types";
|
|
3
3
|
import { S as m } from "./socialPlatforms-Ck-b3SnQ.js";
|
|
4
4
|
export {
|