@kameleoon/react-sdk 10.10.0 → 10.10.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 +12 -4
- package/dist/createClient.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 10.10.1 (2025-04-08)
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Changed the order in which **conversion** and **experiment** events are sent. This may lead to more accurate **visit**-level experiment reporting.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @kameleoon/javascript-sdk@4.9.1
|
|
10
|
+
|
|
3
11
|
## 10.10.0 (2025-04-04)
|
|
4
12
|
|
|
5
13
|
### Features
|
|
6
14
|
|
|
7
|
-
- We've introduced a new [`KameleoonProviderSSR`](KameleoonProviderSSR), which is now the **recommended way** to use React with any server-side rendering (SSR) framework
|
|
8
|
-
Instead of requiring a manually created [`KameleoonClient`](createClient), this new provider accepts [`SDKParameters`](SDKParameters) and **automatically creates** a `KameleoonClient` instance upon first use.
|
|
9
|
-
To avoid unexpected issues, make sure that all calls to `KameleoonClient` methods happen inside a `useEffect` (or an equivalent hook) — check our code examples for guidance.
|
|
10
|
-
We strongly recommend migrating to this new provider to ensure compatibility with both Next.js routing systems: the **Pages Router** and the **App Router**.
|
|
15
|
+
- We've introduced a new [`KameleoonProviderSSR`](KameleoonProviderSSR), which is now the **recommended way** to use React with any server-side rendering (SSR) framework:
|
|
16
|
+
- Instead of requiring a manually created [`KameleoonClient`](createClient), this new provider accepts [`SDKParameters`](SDKParameters) and **automatically creates** a `KameleoonClient` instance upon first use.
|
|
17
|
+
- To avoid unexpected issues, make sure that all calls to `KameleoonClient` methods happen inside a `useEffect` (or an equivalent hook) — check our code examples for guidance.
|
|
18
|
+
- We strongly recommend migrating to this new provider to ensure compatibility with both Next.js routing systems: the **Pages Router** and the **App Router**.
|
|
11
19
|
|
|
12
20
|
[KameleoonProviderSSR]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/react-js-sdk/#kameleoonproviderssr
|
|
13
21
|
[createClient]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/react-js-sdk/#create-the-kameleoon-client
|
package/dist/createClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _javascriptSdk=require("@kameleoon/javascript-sdk");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClient=createClient;function createClient(a){let{siteCode:b,configuration:c,externals:d,stubMode:e}=a;const f=new _javascriptSdk.KameleoonClient({siteCode:b,configuration:c,externals:d,_internals:{packageInfo:{type:_javascriptSdk.SdkLanguageType.REACT,version:"10.10.
|
|
1
|
+
"use strict";var _javascriptSdk=require("@kameleoon/javascript-sdk");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClient=createClient;function createClient(a){let{siteCode:b,configuration:c,externals:d,stubMode:e}=a;const f=new _javascriptSdk.KameleoonClient({siteCode:b,configuration:c,externals:d,_internals:{packageInfo:{type:_javascriptSdk.SdkLanguageType.REACT,version:"10.10.1",isServer:!1},prng:null===d||void 0===d?void 0:d.prng},stubMode:e});return f}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kameleoon/react-sdk",
|
|
3
|
-
"version": "10.10.
|
|
3
|
+
"version": "10.10.1",
|
|
4
4
|
"description": "Kameleoon React SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "ISC",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@kameleoon/javascript-sdk": "4.9.
|
|
43
|
+
"@kameleoon/javascript-sdk": "4.9.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|