@wallavi/widget 1.12.2 → 1.12.3

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/index.js CHANGED
@@ -3721,6 +3721,8 @@ function useAutoConfig(agentId, enabled) {
3721
3721
  remote.ragTopics = cfg.ragTopics;
3722
3722
  if (Array.isArray(cfg.ragDocuments))
3723
3723
  remote.ragDocuments = cfg.ragDocuments;
3724
+ if (cfg.locale != null)
3725
+ remote.locale = cfg.locale;
3724
3726
  setResult({
3725
3727
  remoteConfig: remote,
3726
3728
  bubbleIconUrl: cfg.chatIcon || cfg.profilePicture || void 0,
package/dist/index.mjs CHANGED
@@ -3695,6 +3695,8 @@ function useAutoConfig(agentId, enabled) {
3695
3695
  remote.ragTopics = cfg.ragTopics;
3696
3696
  if (Array.isArray(cfg.ragDocuments))
3697
3697
  remote.ragDocuments = cfg.ragDocuments;
3698
+ if (cfg.locale != null)
3699
+ remote.locale = cfg.locale;
3698
3700
  setResult({
3699
3701
  remoteConfig: remote,
3700
3702
  bubbleIconUrl: cfg.chatIcon || cfg.profilePicture || void 0,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "private": false,
44
44
  "types": "./dist/index.d.ts",
45
- "version": "1.12.2",
45
+ "version": "1.12.3",
46
46
  "scripts": {
47
47
  "build": "tsup && pnpm build:css",
48
48
  "build:css": "tailwindcss -i ./src/styles.css -o ./dist/styles.css --config tailwind.config.cjs --minify",