@splitsoftware/splitio 10.19.2-rc.3 → 10.20.1-rc.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,8 @@
1
+ 10.20.0 (June 29, 2022)
2
+ - Added a new config option to control the tasks that listen or poll for updates on feature flags and segments, via the new config sync.enabled . Running online Split will always pull the most recent updates upon initialization, this only affects updates fetching on a running instance. Useful when a consistent session experience is a must or to save resources when updates are not being used.
3
+ - Updated telemetry logic to track the anonymous config for user consent flag set to declined or unknown.
4
+ - Updated submitters logic, to avoid duplicating the post of impressions to Split cloud when the SDK is destroyed while its periodic post of impressions is running.
5
+
1
6
  10.19.1 (Jun 13, 2022)
2
7
  - Updated eventsource dependency range to ^1.1.2 to avoid a vulnerability and dependency resolution to a vulnerable version of url-parse transitive dependency.
3
8
  - Bugfixing - Updated submitters logic, to avoid dropping impressions and events that are being tracked while POST request is pending.
@@ -1 +1 @@
1
- export var packageVersion = '10.19.2-rc.3';
1
+ export var packageVersion = '10.20.1-rc.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.19.2-rc.3';
4
+ exports.packageVersion = '10.20.1-rc.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.19.2-rc.3",
3
+ "version": "10.20.1-rc.1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -10,8 +10,7 @@
10
10
  "lib",
11
11
  "types",
12
12
  "es",
13
- "src",
14
- "scripts/GaToSplitAutoRequire"
13
+ "src"
15
14
  ],
16
15
  "repository": "splitio/javascript-client",
17
16
  "homepage": "https://github.com/splitio/javascript-client#readme",
@@ -33,7 +32,7 @@
33
32
  "node": ">=6"
34
33
  },
35
34
  "dependencies": {
36
- "@splitsoftware/splitio-commons": "1.4.2-rc.5",
35
+ "@splitsoftware/splitio-commons": "1.5.1-rc.1",
37
36
  "@types/google.analytics": "0.0.40",
38
37
  "@types/ioredis": "^4.28.0",
39
38
  "ioredis": "^4.28.0",
@@ -84,7 +83,6 @@
84
83
  "postbuild-cjs": "cross-env NODE_ENV=cjs node scripts/copy.packages.json.js && ./scripts/build_cjs_replace_imports.sh",
85
84
  "build-umd": "webpack --config webpack.dev.js --env branch=$BUILD_BRANCH --env commit_hash=$BUILD_COMMIT && webpack --config webpack.prod.js --env branch=$BUILD_BRANCH --env commit_hash=$BUILD_COMMIT && ./scripts/clean_umd_build.sh",
86
85
  "build:npm": "rimraf lib es && npm run build-cjs && npm run build-esm",
87
- "build:gaToSplitAutoRequire": "terser ./node_modules/@splitsoftware/splitio-commons/src/integrations/ga/autoRequire.js --output ./scripts/GaToSplitAutoRequire/index.js && cp ./scripts/GaToSplitAutoRequire/index.js umd/GaToSplitAutoRequire.js",
88
86
  "build": "rimraf lib umd es && npm run build-cjs && npm run build-esm && npm run build-umd",
89
87
  "check": "npm run check:lint && npm run check:version",
90
88
  "check:lint": "eslint src",
@@ -1 +1 @@
1
- export const packageVersion = '10.19.2-rc.3';
1
+ export const packageVersion = '10.20.1-rc.1';
@@ -758,17 +758,6 @@ declare namespace SplitIO {
758
758
  * If not provided, events are sent using the key and traffic type provided at SDK config
759
759
  */
760
760
  identities?: Identity[],
761
- /**
762
- * Optional flag to log an error if the `auto-require` script is not detected.
763
- * The auto-require script automatically requires the `splitTracker` plugin for created trackers,
764
- * and should be placed right after your Google Analytics, Google Tag Manager or gtag.js script tag.
765
- *
766
- * @see {@link https://help.split.io/hc/en-us/articles/360040838752#set-up-with-gtm-and-gtag.js}
767
- *
768
- * @property {boolean} autoRequire
769
- * @default false
770
- */
771
- autoRequire?: boolean,
772
761
  }
773
762
  /**
774
763
  * Object representing the data sent by Split (events and impressions).
@@ -1 +0,0 @@
1
- (function(i,r,s){i[s]=i[s]||r;i[r]=i[r]||function(){i[r].q.push(arguments)};i[r].q=i[r].q||[];var ts={};function n(arg){return typeof arg==="object"&&typeof arg.name==="string"&&arg.name}function p(v){if(v&&v[0]==="create"){var t=n(v[1])||n(v[2])||n(v[3])||(typeof v[3]==="string"?v[3]:undefined);if(!ts[t]){ts[t]=true;i[r]((t?t+".":"")+"require","splitTracker")}}}i[r].q.forEach((function(v){p(v)}));var o=i[r].q.push;i[r].q.push=function(v){var result=o.apply(this,arguments);p(v);return result}})(window,"ga","GoogleAnalyticsObject");