@pagelines/sdk 1.0.211 → 1.0.212
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-GgGjo40K.js → AgentProvider.vue_vue_type_script_setup_true_lang-J2dPA8gh.js} +2 -2
- package/dist/{AgentProvider.vue_vue_type_script_setup_true_lang-GgGjo40K.js.map → AgentProvider.vue_vue_type_script_setup_true_lang-J2dPA8gh.js.map} +1 -1
- package/dist/{AgentWidgetInline-BXeTufF0.js → AgentWidgetInline-a7B42aCD.js} +2 -2
- package/dist/{AgentWidgetInline-BXeTufF0.js.map → AgentWidgetInline-a7B42aCD.js.map} +1 -1
- package/dist/{AgentWidgetModal-DP7iwx2o.js → AgentWidgetModal-DmiBPAeW.js} +2 -2
- package/dist/{AgentWidgetModal-DP7iwx2o.js.map → AgentWidgetModal-DmiBPAeW.js.map} +1 -1
- package/dist/{AgentWidgetPopup-C5ZgN09k.js → AgentWidgetPopup-kDs-plgY.js} +2 -2
- package/dist/{AgentWidgetPopup-C5ZgN09k.js.map → AgentWidgetPopup-kDs-plgY.js.map} +1 -1
- package/dist/{AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js → AgentWrap.vue_vue_type_script_setup_true_lang-Cc3E_MFR.js} +4 -3
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-Cc3E_MFR.js.map +1 -0
- package/dist/agent.js +3 -3
- package/dist/widget.js +3 -3
- package/package.json +2 -2
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-Bv2KuZP0.js.map +0 -1
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-Cc3E_MFR.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-Cc3E_MFR.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-J2dPA8gh.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/widget.js
CHANGED
|
@@ -70,7 +70,7 @@ const B = `@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-
|
|
|
70
70
|
async mountMode(t) {
|
|
71
71
|
const { mode: e } = this.config;
|
|
72
72
|
if (e === "inline") {
|
|
73
|
-
const { default: a } = await import("./AgentWidgetInline-
|
|
73
|
+
const { default: a } = await import("./AgentWidgetInline-a7B42aCD.js");
|
|
74
74
|
this.app = k(a, {
|
|
75
75
|
sdk: this.sdk,
|
|
76
76
|
handle: this.config.handle,
|
|
@@ -103,7 +103,7 @@ const B = `@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-
|
|
|
103
103
|
a.removeEventListener("click", n), c.info(`Button mode widget destroyed for handle: ${this.config.handle}`);
|
|
104
104
|
};
|
|
105
105
|
} else if (e === "popup") {
|
|
106
|
-
const { default: a } = await import("./AgentWidgetPopup-
|
|
106
|
+
const { default: a } = await import("./AgentWidgetPopup-kDs-plgY.js");
|
|
107
107
|
this.app = k(a, {
|
|
108
108
|
sdk: this.sdk,
|
|
109
109
|
handle: this.config.handle,
|
|
@@ -116,7 +116,7 @@ const B = `@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-
|
|
|
116
116
|
chatOnly: this.config.chatOnly
|
|
117
117
|
}), this.widgetInstance = this.app.mount(t);
|
|
118
118
|
} else if (e === "modal") {
|
|
119
|
-
const { default: a } = await import("./AgentWidgetModal-
|
|
119
|
+
const { default: a } = await import("./AgentWidgetModal-DmiBPAeW.js");
|
|
120
120
|
this.app = k(a, {
|
|
121
121
|
sdk: this.sdk,
|
|
122
122
|
handle: this.config.handle,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagelines/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.212",
|
|
4
4
|
"description": "PageLines SDK for agent management, auth, and billing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/sdk.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"nanoid": "^5.1.6",
|
|
61
61
|
"nanostores": "^1.1.1",
|
|
62
62
|
"zod": "^4.3.6",
|
|
63
|
-
"@pagelines/types": "1.0.
|
|
63
|
+
"@pagelines/types": "1.0.193"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@antfu/eslint-config": "^7.6.1",
|