@splitsoftware/splitio-browserjs 0.6.0 → 0.6.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.
@@ -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.6.0';
6
+ var packageVersion = '0.6.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'.
@@ -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.6.0';
3
+ var packageVersion = '0.6.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.6.0",
3
+ "version": "0.6.1-rc.3",
4
4
  "description": "Split SDK for Javascript on Browser",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -61,7 +61,7 @@
61
61
  "bugs": "https://github.com/splitio/javascript-browser-client/issues",
62
62
  "homepage": "https://github.com/splitio/javascript-browser-client#readme",
63
63
  "dependencies": {
64
- "@splitsoftware/splitio-commons": "1.4.0",
64
+ "@splitsoftware/splitio-commons": "1.4.2-rc.3",
65
65
  "@types/google.analytics": "0.0.40"
66
66
  },
67
67
  "devDependencies": {
@@ -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.6.0';
5
+ const packageVersion = '0.6.1-rc.3';
6
6
 
7
7
  /**
8
8
  * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
@@ -91,7 +91,8 @@ interface ISettings {
91
91
  readonly sync: {
92
92
  splitFilters: SplitIO.SplitFilter[],
93
93
  impressionsMode: SplitIO.ImpressionsMode,
94
- localhostMode?: SplitIO.LocalhostFactory
94
+ localhostMode?: SplitIO.LocalhostFactory,
95
+ enabled?: boolean
95
96
  },
96
97
  readonly userConsent: SplitIO.ConsentStatus
97
98
  }
@@ -242,6 +243,16 @@ interface ISharedSettings {
242
243
  * @property {Object} localhostMode
243
244
  */
244
245
  localhostMode?: SplitIO.LocalhostFactory
246
+ /**
247
+ * Controls the SDK continuous synchronization flags.
248
+ *
249
+ * When `true` a running SDK will process rollout plan updates performed on the UI (default).
250
+ * When false it'll just fetch all data upon init
251
+ *
252
+ * @property {boolean} enabled
253
+ * @default true
254
+ */
255
+ enabled?: boolean
245
256
  }
246
257
  }
247
258
  /**