@splitsoftware/splitio 11.1.0-rc.2 → 11.1.1-rc.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.
- package/CHANGES.txt +5 -5
- package/README.md +1 -0
- package/cjs/settings/defaults/version.js +1 -1
- package/cjs/settings/storage/browser.js +1 -3
- package/esm/settings/defaults/version.js +1 -1
- package/esm/settings/storage/browser.js +1 -3
- package/package.json +2 -2
- package/src/settings/defaults/version.js +1 -1
- package/src/settings/storage/browser.js +1 -5
package/CHANGES.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
11.
|
|
2
|
-
- Added
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
1
|
+
11.2.0 (March 28, 2025)
|
|
2
|
+
- Added new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impression object sent to Split's backend. Read more in our docs.
|
|
3
|
+
|
|
4
|
+
11.1.0 (January 17, 2025)
|
|
5
|
+
- Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on `SplitView` type objects. Read more in our docs.
|
|
6
6
|
- Updated @splitsoftware/splitio-commons package to version 2.1.0.
|
|
7
7
|
|
|
8
8
|
11.0.4 (January 9, 2025)
|
package/README.md
CHANGED
|
@@ -65,6 +65,7 @@ Split has built and maintains SDKs for:
|
|
|
65
65
|
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
|
|
66
66
|
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
|
|
67
67
|
* Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities)
|
|
68
|
+
* Elixir thin-client [Github](https://github.com/splitio/elixir-thin-client) [Docs](https://help.split.io/hc/en-us/articles/26988707417869-Elixir-Thin-Client-SDK)
|
|
68
69
|
* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin)
|
|
69
70
|
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
|
|
70
71
|
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)
|
|
@@ -5,7 +5,7 @@ var isLocalStorageAvailable_1 = require("@splitsoftware/splitio-commons/cjs/util
|
|
|
5
5
|
var constants_1 = require("@splitsoftware/splitio-commons/cjs/utils/constants");
|
|
6
6
|
var STORAGE_LOCALSTORAGE = 'LOCALSTORAGE';
|
|
7
7
|
function validateStorage(settings) {
|
|
8
|
-
var log = settings.log, mode = settings.mode, _a = settings.storage, _b = _a === void 0 ? { type: constants_1.STORAGE_MEMORY } : _a, type = _b.type, _c = _b.options, options = _c === void 0 ? {} : _c, prefix = _b.prefix
|
|
8
|
+
var log = settings.log, mode = settings.mode, _a = settings.storage, _b = _a === void 0 ? { type: constants_1.STORAGE_MEMORY } : _a, type = _b.type, _c = _b.options, options = _c === void 0 ? {} : _c, prefix = _b.prefix;
|
|
9
9
|
var __originalType;
|
|
10
10
|
var fallbackToMemory = function () {
|
|
11
11
|
__originalType = type;
|
|
@@ -27,8 +27,6 @@ function validateStorage(settings) {
|
|
|
27
27
|
type: type,
|
|
28
28
|
options: options,
|
|
29
29
|
prefix: prefix,
|
|
30
|
-
expirationDays: expirationDays,
|
|
31
|
-
clearOnInit: clearOnInit,
|
|
32
30
|
__originalType: __originalType
|
|
33
31
|
};
|
|
34
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = '11.1.
|
|
1
|
+
export var packageVersion = '11.1.1-rc.0';
|
|
@@ -2,7 +2,7 @@ import { isLocalStorageAvailable } from '@splitsoftware/splitio-commons/esm/util
|
|
|
2
2
|
import { LOCALHOST_MODE, STORAGE_MEMORY } from '@splitsoftware/splitio-commons/esm/utils/constants';
|
|
3
3
|
var STORAGE_LOCALSTORAGE = 'LOCALSTORAGE';
|
|
4
4
|
export function validateStorage(settings) {
|
|
5
|
-
var log = settings.log, mode = settings.mode, _a = settings.storage, _b = _a === void 0 ? { type: STORAGE_MEMORY } : _a, type = _b.type, _c = _b.options, options = _c === void 0 ? {} : _c, prefix = _b.prefix
|
|
5
|
+
var log = settings.log, mode = settings.mode, _a = settings.storage, _b = _a === void 0 ? { type: STORAGE_MEMORY } : _a, type = _b.type, _c = _b.options, options = _c === void 0 ? {} : _c, prefix = _b.prefix;
|
|
6
6
|
var __originalType;
|
|
7
7
|
var fallbackToMemory = function () {
|
|
8
8
|
__originalType = type;
|
|
@@ -24,8 +24,6 @@ export function validateStorage(settings) {
|
|
|
24
24
|
type: type,
|
|
25
25
|
options: options,
|
|
26
26
|
prefix: prefix,
|
|
27
|
-
expirationDays: expirationDays,
|
|
28
|
-
clearOnInit: clearOnInit,
|
|
29
27
|
__originalType: __originalType
|
|
30
28
|
};
|
|
31
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.1-rc.0",
|
|
4
4
|
"description": "Split SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"README.md",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"node": ">=14.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@splitsoftware/splitio-commons": "2.1.
|
|
41
|
+
"@splitsoftware/splitio-commons": "2.1.1-rc.1",
|
|
42
42
|
"bloom-filters": "^3.0.4",
|
|
43
43
|
"ioredis": "^4.28.0",
|
|
44
44
|
"js-yaml": "^3.13.1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = '11.1.
|
|
1
|
+
export const packageVersion = '11.1.1-rc.0';
|
|
@@ -10,9 +10,7 @@ export function validateStorage(settings) {
|
|
|
10
10
|
storage: {
|
|
11
11
|
type,
|
|
12
12
|
options = {},
|
|
13
|
-
prefix
|
|
14
|
-
expirationDays,
|
|
15
|
-
clearOnInit
|
|
13
|
+
prefix
|
|
16
14
|
} = { type: STORAGE_MEMORY },
|
|
17
15
|
} = settings;
|
|
18
16
|
let __originalType;
|
|
@@ -40,8 +38,6 @@ export function validateStorage(settings) {
|
|
|
40
38
|
type,
|
|
41
39
|
options,
|
|
42
40
|
prefix,
|
|
43
|
-
expirationDays,
|
|
44
|
-
clearOnInit,
|
|
45
41
|
__originalType
|
|
46
42
|
};
|
|
47
43
|
}
|