@splitsoftware/splitio-browserjs 0.8.1-rc.1 → 0.8.1-rc.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/cjs/settings/defaults.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaults = void 0;
|
|
4
4
|
var index_1 = require("@splitsoftware/splitio-commons/cjs/logger/index");
|
|
5
5
|
var constants_1 = require("@splitsoftware/splitio-commons/cjs/utils/constants");
|
|
6
|
-
var packageVersion = '0.8.1-rc.
|
|
6
|
+
var packageVersion = '0.8.1-rc.3';
|
|
7
7
|
/**
|
|
8
8
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|
|
9
9
|
* Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
|
package/esm/settings/defaults.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/esm/logger/index';
|
|
2
2
|
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/esm/utils/constants';
|
|
3
|
-
var packageVersion = '0.8.1-rc.
|
|
3
|
+
var packageVersion = '0.8.1-rc.3';
|
|
4
4
|
/**
|
|
5
5
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|
|
6
6
|
* Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio-browserjs",
|
|
3
|
-
"version": "0.8.1-rc.
|
|
3
|
+
"version": "0.8.1-rc.3",
|
|
4
4
|
"description": "Split SDK for Javascript on Browser",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"pretest-ts-decls": "npm run build:esm && npm run build:cjs && npm link",
|
|
43
43
|
"test-ts-decls": "./scripts/ts-tests.sh",
|
|
44
44
|
"posttest-ts-decls": "npm unlink && npm install",
|
|
45
|
+
"all": "npm run check && npm run build && npm run test-ts-decls && npm run test",
|
|
45
46
|
"publish:rc": "npm run check && npm run build && npm publish --tag rc",
|
|
46
47
|
"publish:stable": "npm run check && npm run build && npm publish"
|
|
47
48
|
},
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"bugs": "https://github.com/splitio/javascript-browser-client/issues",
|
|
64
65
|
"homepage": "https://github.com/splitio/javascript-browser-client#readme",
|
|
65
66
|
"dependencies": {
|
|
66
|
-
"@splitsoftware/splitio-commons": "1.6.2-rc.
|
|
67
|
+
"@splitsoftware/splitio-commons": "1.6.2-rc.14",
|
|
67
68
|
"@types/google.analytics": "0.0.40"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
package/src/settings/defaults.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/
|
|
|
2
2
|
import { ConsentStatus, LogLevel } from '@splitsoftware/splitio-commons/src/types';
|
|
3
3
|
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants';
|
|
4
4
|
|
|
5
|
-
const packageVersion = '0.8.1-rc.
|
|
5
|
+
const packageVersion = '0.8.1-rc.3';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|
package/types/splitio.d.ts
CHANGED
|
@@ -217,9 +217,11 @@ interface ISharedSettings {
|
|
|
217
217
|
splitFilters?: SplitIO.SplitFilter[]
|
|
218
218
|
/**
|
|
219
219
|
* Impressions Collection Mode. Option to determine how impressions are going to be sent to Split Servers.
|
|
220
|
-
* Possible values are 'DEBUG' and '
|
|
220
|
+
* Possible values are 'DEBUG', 'OPTIMIZED', and 'NONE'.
|
|
221
221
|
* - DEBUG: will send all the impressions generated (recommended only for debugging purposes).
|
|
222
222
|
* - OPTIMIZED: will send unique impressions to Split Servers avoiding a considerable amount of traffic that duplicated impressions could generate.
|
|
223
|
+
* - NONE: will send unique keys to Split Servers avoiding a considerable amount of traffic that impressions could generate.
|
|
224
|
+
*
|
|
223
225
|
* @property {String} impressionsMode
|
|
224
226
|
* @default 'OPTIMIZED'
|
|
225
227
|
*/
|