@splitsoftware/splitio-browserjs 0.2.1-rc.1 → 0.2.1-rc.2

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.
@@ -1,15 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SplitFactory = void 0;
4
- var tslib_1 = require("tslib");
5
4
  var full_1 = require("../settings/full");
6
5
  var getModules_1 = require("../platform/getModules");
7
6
  var index_1 = require("@splitsoftware/splitio-commons/cjs/sdkFactory/index");
8
7
  var lang_1 = require("@splitsoftware/splitio-commons/cjs/utils/lang");
9
8
  var getFetchFull_1 = require("../platform/getFetchFull");
10
9
  var getEventSource_1 = require("../platform/getEventSource");
11
- var MinEvents_1 = tslib_1.__importDefault(require("@splitsoftware/splitio-commons/cjs/utils/MinEvents"));
12
- var platform = { getFetch: getFetchFull_1.getFetch, getEventSource: getEventSource_1.getEventSource, EventEmitter: MinEvents_1.default };
10
+ var MinEvents_1 = require("@splitsoftware/splitio-commons/cjs/utils/MinEvents");
11
+ var platform = { getFetch: getFetchFull_1.getFetch, getEventSource: getEventSource_1.getEventSource, EventEmitter: MinEvents_1.EventEmitter };
13
12
  /**
14
13
  * SplitFactory with pluggable modules for Browser.
15
14
  * Includes localhost mode and fetch polyfill out-of-the-box.
@@ -2,7 +2,7 @@
2
2
  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
- var packageVersion = '0.2.1-rc.1';
5
+ var packageVersion = '0.2.1-rc.2';
6
6
  /**
7
7
  * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
8
8
  * Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
@@ -1,15 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SplitFactory = void 0;
4
- var tslib_1 = require("tslib");
5
4
  var settings_1 = require("./settings");
6
5
  var getModules_1 = require("./platform/getModules");
7
6
  var index_1 = require("@splitsoftware/splitio-commons/cjs/sdkFactory/index");
8
7
  var lang_1 = require("@splitsoftware/splitio-commons/cjs/utils/lang");
9
8
  var getFetchSlim_1 = require("./platform/getFetchSlim");
10
9
  var getEventSource_1 = require("./platform/getEventSource");
11
- var MinEvents_1 = tslib_1.__importDefault(require("@splitsoftware/splitio-commons/cjs/utils/MinEvents"));
12
- var platform = { getFetch: getFetchSlim_1.getFetch, getEventSource: getEventSource_1.getEventSource, EventEmitter: MinEvents_1.default };
10
+ var MinEvents_1 = require("@splitsoftware/splitio-commons/cjs/utils/MinEvents");
11
+ var platform = { getFetch: getFetchSlim_1.getFetch, getEventSource: getEventSource_1.getEventSource, EventEmitter: MinEvents_1.EventEmitter };
13
12
  /**
14
13
  * Slim SplitFactory with pluggable modules for Browser.
15
14
  * Doesn't include localhost mode and fetch ponyfill out-of-the-box.
@@ -4,7 +4,7 @@ import { sdkFactory } from '@splitsoftware/splitio-commons/esm/sdkFactory/index'
4
4
  import { merge } from '@splitsoftware/splitio-commons/esm/utils/lang';
5
5
  import { getFetch } from '../platform/getFetchFull';
6
6
  import { getEventSource } from '../platform/getEventSource';
7
- import EventEmitter from '@splitsoftware/splitio-commons/esm/utils/MinEvents';
7
+ import { EventEmitter } from '@splitsoftware/splitio-commons/esm/utils/MinEvents';
8
8
  var platform = { getFetch: getFetch, getEventSource: getEventSource, EventEmitter: EventEmitter };
9
9
  /**
10
10
  * SplitFactory with pluggable modules for Browser.
@@ -1,5 +1,5 @@
1
1
  import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/esm/logger/index';
2
- var packageVersion = '0.2.1-rc.1';
2
+ var packageVersion = '0.2.1-rc.2';
3
3
  /**
4
4
  * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
5
5
  * Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
@@ -4,7 +4,7 @@ import { sdkFactory } from '@splitsoftware/splitio-commons/esm/sdkFactory/index'
4
4
  import { merge } from '@splitsoftware/splitio-commons/esm/utils/lang';
5
5
  import { getFetch } from './platform/getFetchSlim';
6
6
  import { getEventSource } from './platform/getEventSource';
7
- import EventEmitter from '@splitsoftware/splitio-commons/esm/utils/MinEvents';
7
+ import { EventEmitter } from '@splitsoftware/splitio-commons/esm/utils/MinEvents';
8
8
  var platform = { getFetch: getFetch, getEventSource: getEventSource, EventEmitter: EventEmitter };
9
9
  /**
10
10
  * Slim SplitFactory with pluggable modules for Browser.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio-browserjs",
3
- "version": "0.2.1-rc.1",
3
+ "version": "0.2.1-rc.2",
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.0.1-rc.4",
64
+ "@splitsoftware/splitio-commons": "1.0.1-rc.5",
65
65
  "@types/google.analytics": "0.0.40"
66
66
  },
67
67
  "devDependencies": {
@@ -5,7 +5,7 @@ import { ISdkFactoryParams } from '@splitsoftware/splitio-commons/src/sdkFactory
5
5
  import { merge } from '@splitsoftware/splitio-commons/src/utils/lang';
6
6
  import { getFetch } from '../platform/getFetchFull';
7
7
  import { getEventSource } from '../platform/getEventSource';
8
- import EventEmitter from '@splitsoftware/splitio-commons/src/utils/MinEvents';
8
+ import { EventEmitter } from '@splitsoftware/splitio-commons/src/utils/MinEvents';
9
9
 
10
10
  const platform = { getFetch, getEventSource, EventEmitter };
11
11
 
@@ -1,7 +1,7 @@
1
1
  import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/logger/index';
2
2
  import { LogLevel } from '@splitsoftware/splitio-commons/src/types';
3
3
 
4
- const packageVersion = '0.2.1-rc.1';
4
+ const packageVersion = '0.2.1-rc.2';
5
5
 
6
6
  /**
7
7
  * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
@@ -5,7 +5,7 @@ import { ISdkFactoryParams } from '@splitsoftware/splitio-commons/src/sdkFactory
5
5
  import { merge } from '@splitsoftware/splitio-commons/src/utils/lang';
6
6
  import { getFetch } from './platform/getFetchSlim';
7
7
  import { getEventSource } from './platform/getEventSource';
8
- import EventEmitter from '@splitsoftware/splitio-commons/src/utils/MinEvents';
8
+ import { EventEmitter } from '@splitsoftware/splitio-commons/src/utils/MinEvents';
9
9
 
10
10
  const platform = { getFetch, getEventSource, EventEmitter };
11
11