@elevenlabs/convai-widget-embed 0.10.5 → 0.11.0

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.
@@ -1,11 +1,11 @@
1
1
 
2
- > @elevenlabs/convai-widget-embed@0.10.5 build /home/runner/work/packages/packages/packages/convai-widget-embed
2
+ > @elevenlabs/convai-widget-embed@0.11.0 build /home/runner/work/packages/packages/packages/convai-widget-embed
3
3
  > vite build
4
4
 
5
5
  vite v7.3.1 building client environment for production...
6
6
  transforming...
7
- ✓ 12 modules transformed.
7
+ ✓ 49 modules transformed.
8
8
  rendering chunks...
9
9
  computing gzip size...
10
- dist/index.js 1,381.72 kB │ gzip: 424.17 kB
11
- ✓ built in 3.83s
10
+ dist/index.js 1,382.47 kB │ gzip: 425.52 kB
11
+ ✓ built in 4.14s
@@ -1,4 +1,4 @@
1
1
 
2
- > @elevenlabs/convai-widget-embed@0.10.5 check-types /home/runner/work/packages/packages/packages/convai-widget-embed
2
+ > @elevenlabs/convai-widget-embed@0.11.0 check-types /home/runner/work/packages/packages/packages/convai-widget-embed
3
3
  > tsc --noEmit --skipLibCheck
4
4
 
@@ -1,6 +1,4 @@
1
1
 
2
- > @elevenlabs/convai-widget-embed@0.10.5 lint:es /home/runner/work/packages/packages/packages/convai-widget-embed
2
+ > @elevenlabs/convai-widget-embed@0.11.0 lint:es /home/runner/work/packages/packages/packages/convai-widget-embed
3
3
  > pnpm exec eslint .
4
4
 
5
- (node:3016) ESLintEmptyConfigWarning: Running ESLint with an empty config (from /home/runner/work/packages/packages/packages/convai-widget-embed/eslint.config.cjs). Please double-check that this is what you want. If you want to run ESLint with an empty config, export [{}] to remove this warning.
6
- (Use `node --trace-warnings ...` to show where the warning was created)
@@ -1,5 +1,5 @@
1
1
 
2
- > @elevenlabs/convai-widget-embed@0.10.5 lint:prettier /home/runner/work/packages/packages/packages/convai-widget-embed
2
+ > @elevenlabs/convai-widget-embed@0.11.0 lint:prettier /home/runner/work/packages/packages/packages/convai-widget-embed
3
3
  > prettier 'src/**/*.ts'
4
4
 
5
5
  import { registerWidget } from "@elevenlabs/convai-widget-core";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @elevenlabs/convai-widget-embed
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e656158: Auto-select widget language from localStorage history and browser language preferences.
8
+
9
+ When no explicit `language` attribute is set, the widget now resolves the initial language by checking (in order):
10
+ 1. The `language` attribute on the widget element
11
+ 2. The last language the user selected (persisted in localStorage)
12
+ 3. The user's browser language preferences (`navigator.languages`)
13
+ 4. The agent's default language
14
+
15
+ Language selections are persisted to localStorage so returning users see their preferred language automatically.
16
+
17
+ ## 0.10.6
18
+
3
19
  ## 0.10.5
4
20
 
5
21
  ## 0.10.4
@@ -10,6 +26,8 @@
10
26
 
11
27
  ## 0.10.1
12
28
 
29
+ ## 0.10.1-next.0
30
+
13
31
  ## 0.10.0
14
32
 
15
33
  ## 0.9.1