@_solaris/messenger-widget 0.4.11 → 0.4.12
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/messenger.cjs +2 -2
- package/dist/messenger.embed.js +14 -14
- package/dist/messenger.js +6 -3
- package/package.json +1 -1
package/dist/messenger.js
CHANGED
|
@@ -77,9 +77,12 @@ function We(e) {
|
|
|
77
77
|
}
|
|
78
78
|
async function p() {
|
|
79
79
|
const [d, f] = await Promise.all([
|
|
80
|
-
// Public
|
|
80
|
+
// Public endpoint, but auth-aware: when the HMAC triplet is
|
|
81
|
+
// present the server resolves {{customer.*}} templates against
|
|
82
|
+
// the authenticated customer's stored values.
|
|
81
83
|
fetch(
|
|
82
|
-
`${t.baseUrl}/widgets/${encodeURIComponent(t.widgetId)}/config
|
|
84
|
+
`${t.baseUrl}/widgets/${encodeURIComponent(t.widgetId)}/config`,
|
|
85
|
+
{ headers: s() }
|
|
83
86
|
).then(async (_) => {
|
|
84
87
|
if (!_.ok) {
|
|
85
88
|
const y = await l(_);
|
|
@@ -6005,7 +6008,7 @@ function Pa(e, t, n, i, r, s) {
|
|
|
6005
6008
|
], 6)) : b("", !0)
|
|
6006
6009
|
], 2);
|
|
6007
6010
|
}
|
|
6008
|
-
const za = /* @__PURE__ */ B(Ma, [["render", Pa], ["__scopeId", "data-v-ab81ed67"]]), qa = "0.4.
|
|
6011
|
+
const za = /* @__PURE__ */ B(Ma, [["render", Pa], ["__scopeId", "data-v-ab81ed67"]]), qa = "0.4.12";
|
|
6009
6012
|
export {
|
|
6010
6013
|
le as AIAvatar,
|
|
6011
6014
|
fe as AVATAR_COLORS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_solaris/messenger-widget",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"description": "Embeddable chat messenger widget — Vue 3 library + standalone embed build. Wired to the messenger-server (HMAC + widgetId).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|