@mparticle/web-sdk
Advanced tools
Comparing version 2.16.1 to 2.16.2
{ | ||
"name": "@mparticle/web-sdk", | ||
"version": "2.16.1", | ||
"version": "2.16.2", | ||
"description": "mParticle core SDK for web applications", | ||
@@ -70,4 +70,8 @@ "license": "Apache-2.0", | ||
"@mparticle/data-planning-models": "^0.1.0", | ||
"@mparticle/event-models": "^1.1.4", | ||
"@mparticle/event-models": "^1.1.6", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-typescript": "^8.3.3", | ||
"@rollup/plugin-babel": "5.3.1", | ||
"@rollup/plugin-commonjs": "22.0.1", | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
@@ -78,2 +82,3 @@ "@semantic-release/exec": "^5.0.0", | ||
"@types/mocha": "^9.0.0", | ||
"@types/mparticle__web-sdk": "^2.16.1", | ||
"@types/node": "^16.0.0", | ||
@@ -104,7 +109,3 @@ "babel-eslint": "^10.0.3", | ||
"prettier": "1.18.2", | ||
"rollup": "^1.19.4", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-typescript": "^1.0.1", | ||
"rollup": "^2.75.7", | ||
"shelljs": "^0.8.4", | ||
@@ -111,0 +112,0 @@ "should": "^7.1.0", |
@@ -139,3 +139,3 @@ import { Batch } from '@mparticle/event-models'; | ||
uploadBatchObject = onCreateBatchCallback(uploadBatchObject); | ||
uploadBatchObject.mutated = true; | ||
uploadBatchObject.modified = true; | ||
} | ||
@@ -142,0 +142,0 @@ |
@@ -62,4 +62,3 @@ import { version } from '../package.json'; | ||
'There is an invalid key on your identityRequest object. It can only contain a `userIdentities` object and a `onUserAlias` function. Request not sent to server. Please fix and try again.', | ||
OnUserAliasType: | ||
'The onUserAlias value must be a function. The onUserAlias provided is of type', | ||
OnUserAliasType: 'The onUserAlias value must be a function.', | ||
UserIdentities: | ||
@@ -66,0 +65,0 @@ 'The userIdentities key must be an object with keys of identityTypes and values of strings. Request not sent to server. Please fix and try again.', |
type valueof<T> = T[keyof T]; | ||
const inArray = (items: any[], name: string): boolean => { | ||
const i = 0; | ||
let i = 0; | ||
@@ -6,0 +6,0 @@ if (Array.prototype.indexOf) { |
@@ -81,7 +81,5 @@ import Types from './types'; | ||
valid: false, | ||
// FIXME: Validates type safety | ||
error: | ||
Constants.Messages.ValidationMessages | ||
.OnUserAliasType + | ||
typeof identityApiData[key], | ||
.OnUserAliasType, | ||
}; | ||
@@ -88,0 +86,0 @@ } |
Sorry, the diff of this file is too big to display
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
1382406
53
24245