@mparticle/web-sdk
Advanced tools
Comparing version 2.9.15-rc.1 to 2.9.16-rc.1
@@ -5,5 +5,9 @@ ## Releases | ||
#### 2.9.16 - 2019-11-06 | ||
- Bugfix - Parse string in shouldEnableBatching | ||
#### 2.9.15 - 2019-11-06 | ||
- Deprecate Cart - The mParticle functionality will be removed in a future release, please | ||
- Deprecate Cart - The mParticle functionality will be removed in a future release, please | ||
- Bugfix - Self hosting namespaces storage with workspaceToken again | ||
@@ -10,0 +14,0 @@ |
{ | ||
"name": "@mparticle/web-sdk", | ||
"version": "2.9.15-rc.1", | ||
"version": "2.9.16-rc.1", | ||
"description": "mParticle core SDK for web applications", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -28,11 +28,14 @@ import Helpers from './helpers'; | ||
} | ||
var eventsV3Percentage = Helpers.getFeatureFlag( | ||
Constants.FeatureFlags.EventsV3 | ||
// Returns a string of a number that must be parsed | ||
// Invalid strings will be parsed to NaN which is falsey | ||
var eventsV3Percentage = parseInt( | ||
Helpers.getFeatureFlag(Constants.FeatureFlags.EventsV3), | ||
10 | ||
); | ||
if ( | ||
!eventsV3Percentage || | ||
!Helpers.Validators.isNumber(eventsV3Percentage) | ||
) { | ||
if (!eventsV3Percentage) { | ||
return false; | ||
} | ||
var rampNumber = Helpers.getRampNumber(mParticle.Store.deviceId); | ||
@@ -39,0 +42,0 @@ return eventsV3Percentage >= rampNumber; |
var Constants = { | ||
sdkVersion: '2.9.15', | ||
sdkVersion: '2.9.16', | ||
sdkVendor: 'mparticle', | ||
@@ -4,0 +4,0 @@ platform: 'web', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
820241
14204