@strivacity/sdk-react 2.0.0-beta.2 → 2.0.0-beta.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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 2.0.0-beta.3 (2025-08-01)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - documentation updates ([3549d61](https://github.com/strivacity/sdk-js/commit/3549d61))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated sdk-core to 2.0.0-beta.3
10
+
1
11
  ## 2.0.0-beta.2 (2025-07-24)
2
12
 
3
13
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -17,7 +17,7 @@ npm install @strivacity/sdk-react
17
17
 
18
18
  ### Wrap your app with `StyAuthProvider`
19
19
 
20
- Add the `StyAuthProvider` to your `layout.tsx` file.
20
+ Add the `StyAuthProvider` to your `main.tsx` file.
21
21
 
22
22
  ```tsx
23
23
  import { BrowserRouter, Navigate, Route, Routes } from 'react-router';
@@ -35,7 +35,9 @@ createRoot(document.getElementById('app')!).render(
35
35
  <BrowserRouter>
36
36
  <StyAuthProvider options={options}>
37
37
  <Routes>
38
- <Route element={<App />}>...</Route>
38
+ <Route path="/" element={<App />}>
39
+ ...
40
+ </Route>
39
41
  </Routes>
40
42
  </StyAuthProvider>
41
43
  </BrowserRouter>,
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@strivacity/sdk-react",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Strivacity React SDK client",
7
7
  "author": "strivacity <info@strivacity.com>",
8
8
  "dependencies": {
9
- "@strivacity/sdk-core": "2.0.0-beta.2"
9
+ "@strivacity/sdk-core": "2.0.0-beta.3"
10
10
  },
11
11
  "peerDependencies": {
12
12
  "react": ">=18"