diff --git a/CHANGES.txt b/CHANGES.txt index 66511bc..2839b27 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +0.9.4 (April 28, 2023) + - Bugfixing - Updated `unfetch` package as a runtime dependency, required when using the "full" entrypoint (`import { SplitFactory } from '@splitsoftware/splitio-browserjs/full'`). + 0.9.3 (March 20, 2023) - Updated @splitsoftware/splitio-commons package to version 1.8.1 that includes minor improvements. - Updated some transitive dependencies for vulnerability fixes. diff --git a/package-lock.json b/package-lock.json index 8ba53d2..54e0d36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,17 @@ { "name": "@splitsoftware/splitio-browserjs", - "version": "0.9.3", + "version": "0.9.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@splitsoftware/splitio-browserjs", - "version": "0.9.3", + "version": "0.9.4", "license": "Apache-2.0", "dependencies": { "@splitsoftware/splitio-commons": "1.8.1", - "@types/google.analytics": "0.0.40" + "@types/google.analytics": "0.0.40", + "unfetch": "^4.2.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", @@ -42,8 +43,7 @@ "tape": "4.13.2", "tape-catch": "1.0.6", "ts-jest": "^27.0.5", - "typescript": "4.4.4", - "unfetch": "^4.2.0" + "typescript": "4.4.4" } }, "node_modules/@ampproject/remapping": { @@ -11368,8 +11368,7 @@ "node_modules/unfetch": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==", - "dev": true + "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", @@ -20426,8 +20425,7 @@ "unfetch": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==", - "dev": true + "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", diff --git a/package.json b/package.json index 3b94956..ef5fc77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@splitsoftware/splitio-browserjs", - "version": "0.9.3", + "version": "0.9.4", "description": "Split SDK for JavaScript on Browser", "main": "cjs/index.js", "module": "esm/index.js", @@ -65,7 +65,8 @@ "homepage": "https://github.com/splitio/javascript-browser-client#readme", "dependencies": { "@splitsoftware/splitio-commons": "1.8.1", - "@types/google.analytics": "0.0.40" + "@types/google.analytics": "0.0.40", + "unfetch": "^4.2.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", @@ -97,8 +98,7 @@ "tape": "4.13.2", "tape-catch": "1.0.6", "ts-jest": "^27.0.5", - "typescript": "4.4.4", - "unfetch": "^4.2.0" + "typescript": "4.4.4" }, "sideEffects": false } diff --git a/src/settings/defaults.ts b/src/settings/defaults.ts index 1b65d96..eb9a3e5 100644 --- a/src/settings/defaults.ts +++ b/src/settings/defaults.ts @@ -2,7 +2,7 @@ import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/ import { ConsentStatus, LogLevel } from '@splitsoftware/splitio-commons/src/types'; import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants'; -const packageVersion = '0.9.3'; +const packageVersion = '0.9.4'; /** * In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.