@kameleoon/javascript-sdk-core 5.14.1 → 5.14.2
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 -0
- package/dist/javascript-sdk-core-browser.cjs.js +0 -1
- package/dist/javascript-sdk-core-browser.cjs.js.map +1 -1
- package/dist/javascript-sdk-core-browser.es.js +0 -1
- package/dist/javascript-sdk-core-browser.es.js.map +1 -1
- package/dist/javascript-sdk-core.cjs.js +0 -1
- package/dist/javascript-sdk-core.cjs.js.map +1 -1
- package/dist/javascript-sdk-core.es.js +0 -1
- package/dist/javascript-sdk-core.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.14.2 (2025-08-01)
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed an issue where [`setLegalConsent()`][setLegalConsent] automatically triggered [`flush()`][flush], which could cause extra latency in serverless or edge environments (e.g., **Lambda@Edge**). It now requires an explicit `flush()`, giving developers full control over data submission.
|
|
8
|
+
|
|
9
|
+
> [!WARNING]
|
|
10
|
+
> If you're upgrading from a version earlier than 5.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
11
|
+
|
|
3
12
|
## 5.14.1 (2025-07-30)
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -8,6 +17,9 @@
|
|
|
8
17
|
- Optimized tree-shaking to reduce bundle size by eliminating unused code.
|
|
9
18
|
- Removed Node.js crypto dependency from the browser bundle to prevent build-time errors.
|
|
10
19
|
|
|
20
|
+
> [!WARNING]
|
|
21
|
+
> If you're upgrading from a version earlier than 5.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
22
|
+
|
|
11
23
|
[defaultDataFile]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk/#configuration-parameters
|
|
12
24
|
|
|
13
25
|
## 5.14.0 (2025-07-24)
|
|
@@ -8598,7 +8598,6 @@ class KameleoonClient {
|
|
|
8598
8598
|
});
|
|
8599
8599
|
}
|
|
8600
8600
|
}
|
|
8601
|
-
this.flush(visitorCode);
|
|
8602
8601
|
KameleoonLogger.info `RETURN: KameleoonClient.setUserConsent(visitorCode: ${visitorCode}, consent: ${consent}, setData: ${setData})`;
|
|
8603
8602
|
}
|
|
8604
8603
|
updateConsentData(visitorCode, consent) {
|