@splitsoftware/splitio 10.21.0 → 10.21.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/CHANGES.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 10.21.1 (July 25, 2022)
2
+ - Bugfixing - Added missed type definitions `enabled` from `sync`.
3
+
1
4
  10.21.0 (July 22, 2022)
2
5
  - Added `autoRequire` configuration option to the Google Analytics to Split integration, which takes care of requiring the splitTracker plugin on trackers dynamically created by Google tag managers (See https://help.split.io/hc/en-us/articles/360040838752#set-up-with-gtm-and-gtag.js).
3
6
  - Updated browser listener to push remaining impressions and events on 'visibilitychange' and 'pagehide' DOM events, instead of 'unload', which is not reliable in modern mobile and desktop Web browsers.
@@ -1 +1 @@
1
- export var packageVersion = '10.21.0';
1
+ export var packageVersion = '10.21.1';
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageVersion = void 0;
4
- exports.packageVersion = '10.21.0';
4
+ exports.packageVersion = '10.21.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.21.0",
3
+ "version": "10.21.1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -1 +1 @@
1
- export const packageVersion = '10.21.0';
1
+ export const packageVersion = '10.21.1';
@@ -110,6 +110,7 @@ interface ISettings {
110
110
  readonly sync: {
111
111
  splitFilters: SplitIO.SplitFilter[],
112
112
  impressionsMode: SplitIO.ImpressionsMode,
113
+ enabled: boolean
113
114
  }
114
115
  /**
115
116
  * User consent status if using in browser. Undefined if using in NodeJS.
@@ -234,6 +235,16 @@ interface ISharedSettings {
234
235
  * @default 'OPTIMIZED'
235
236
  */
236
237
  impressionsMode?: SplitIO.ImpressionsMode,
238
+ /**
239
+ * Controls the SDK continuous synchronization flags.
240
+ *
241
+ * When `true` a running SDK will process rollout plan updates performed on the UI (default).
242
+ * When false it'll just fetch all data upon init
243
+ *
244
+ * @property {boolean} enabled
245
+ * @default true
246
+ */
247
+ enabled?: boolean
237
248
  }
238
249
  }
239
250
  /**