@splitsoftware/splitio-browserjs
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -6,3 +6,3 @@ "use strict"; | ||
var constants_1 = require("@splitsoftware/splitio-commons/cjs/utils/constants"); | ||
var packageVersion = '1.0.0-rc.1'; | ||
var packageVersion = '1.0.0-rc.2'; | ||
/** | ||
@@ -9,0 +9,0 @@ * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item. |
@@ -15,4 +15,4 @@ "use strict"; | ||
* | ||
* @param config configuration object used to instantiate the SDK | ||
* @param __updateModules optional function that lets redefine internal SDK modules. Use with | ||
* @param config - configuration object used to instantiate the SDK | ||
* @param __updateModules - optional function that lets redefine internal SDK modules. Use with | ||
* caution since, unlike `config`, this param is not validated neither considered part of the public API. | ||
@@ -19,0 +19,0 @@ * @throws Will throw an error if the provided config is invalid. |
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/esm/logger/index'; | ||
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/esm/utils/constants'; | ||
var packageVersion = '1.0.0-rc.1'; | ||
var packageVersion = '1.0.0-rc.2'; | ||
/** | ||
@@ -5,0 +5,0 @@ * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item. |
@@ -12,4 +12,4 @@ import { settingsFactory } from './settings'; | ||
* | ||
* @param config configuration object used to instantiate the SDK | ||
* @param __updateModules optional function that lets redefine internal SDK modules. Use with | ||
* @param config - configuration object used to instantiate the SDK | ||
* @param __updateModules - optional function that lets redefine internal SDK modules. Use with | ||
* caution since, unlike `config`, this param is not validated neither considered part of the public API. | ||
@@ -16,0 +16,0 @@ * @throws Will throw an error if the provided config is invalid. |
{ | ||
"name": "@splitsoftware/splitio-browserjs", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"description": "Split SDK for JavaScript on Browser", | ||
@@ -61,3 +61,3 @@ "main": "cjs/index.js", | ||
"dependencies": { | ||
"@splitsoftware/splitio-commons": "2.0.0-rc.4", | ||
"@splitsoftware/splitio-commons": "2.0.0-rc.5", | ||
"tslib": "^2.3.1" | ||
@@ -77,2 +77,3 @@ }, | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-tsdoc": "^0.3.0", | ||
"fetch-mock": "^11.1.3", | ||
@@ -79,0 +80,0 @@ "jest": "^27.2.3", |
@@ -28,3 +28,3 @@ import { splitApiFactory } from '@splitsoftware/splitio-commons/src/services/splitApi'; | ||
storageFactory: settings.storage, | ||
storageFactory: settings.storage as ISdkFactoryParams['storageFactory'], | ||
@@ -31,0 +31,0 @@ splitApiFactory, |
@@ -0,6 +1,6 @@ | ||
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio'; | ||
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/logger/index'; | ||
import { ConsentStatus, LogLevel } from '@splitsoftware/splitio-commons/src/types'; | ||
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants'; | ||
const packageVersion = '1.0.0-rc.1'; | ||
const packageVersion = '1.0.0-rc.2'; | ||
@@ -13,3 +13,3 @@ /** | ||
*/ | ||
let initialLogLevel: LogLevel | undefined; | ||
let initialLogLevel: SplitIO.LogLevel | undefined; | ||
@@ -38,3 +38,3 @@ const LS_KEY = 'splitio_debug'; | ||
// Consent is considered granted by default | ||
userConsent: CONSENT_GRANTED as ConsentStatus, | ||
userConsent: CONSENT_GRANTED as SplitIO.ConsentStatus, | ||
@@ -41,0 +41,0 @@ // Instance version. |
@@ -0,1 +1,2 @@ | ||
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio'; | ||
import { settingsFactory } from './settings'; | ||
@@ -9,3 +10,2 @@ import { getModules } from './platform/getModules'; | ||
import { now } from '@splitsoftware/splitio-commons/src/utils/timeTracker/now/browser'; | ||
import SplitIO from '@splitsoftware/splitio-commons/types/splitio'; | ||
@@ -17,4 +17,4 @@ const platform = { getFetch, getEventSource, EventEmitter, now }; | ||
* | ||
* @param config configuration object used to instantiate the SDK | ||
* @param __updateModules optional function that lets redefine internal SDK modules. Use with | ||
* @param config - configuration object used to instantiate the SDK | ||
* @param __updateModules - optional function that lets redefine internal SDK modules. Use with | ||
* caution since, unlike `config`, this param is not validated neither considered part of the public API. | ||
@@ -21,0 +21,0 @@ * @throws Will throw an error if the provided config is invalid. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
60446
4
31
+ Added@splitsoftware/splitio-commons@2.0.0-rc.5(transitive)
- Removed@splitsoftware/splitio-commons@2.0.0-rc.4(transitive)