@strivacity/sdk-svelte 3.0.0 → 3.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 3.0.1 (2026-04-20)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - handle language parameter from response body url correctly ([e42294b](https://github.com/Strivacity/sdk-js/commit/e42294b))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated sdk-core to 3.0.1
10
+
1
11
  # 3.0.0 (2026-04-09)
2
12
 
3
13
  ### 🚀 Features
package/README.md CHANGED
@@ -233,7 +233,7 @@ export const widgets = {
233
233
 
234
234
  #### Login page example
235
235
 
236
- The login page extracts `session_id` from the URL on load, cleans up the URL, and passes it to the renderer. When a `session_id` is present the renderer calls `startSession(sessionId)` to resume the existing flow instead of starting a new one.
236
+ The login page extracts `session_id` and optionally `language` from the URL on load, cleans up the URL, and passes them to the renderer. When a `session_id` is present the renderer calls `startSession(sessionId)` to resume the existing flow instead of starting a new one. When a `language` parameter is present it overrides `uiLocales` to display the authentication UI in the specified language.
237
237
 
238
238
  ```svelte
239
239
  <!-- src/routes/login/+page.svelte -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strivacity/sdk-svelte",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "license": "MIT",
5
5
  "description": "Strivacity Svelte SDK client",
6
6
  "author": "strivacity <opensource@strivacity.com>",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/Strivacity/sdk-js"
10
10
  },
11
11
  "dependencies": {
12
- "@strivacity/sdk-core": "3.0.0"
12
+ "@strivacity/sdk-core": "3.0.1"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "svelte": ">=5"