@mparticle/web-sdk 2.16.1 → 2.16.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.
- package/dist/mparticle.common.js +500 -2117
- package/dist/mparticle.esm.js +501 -2118
- package/dist/mparticle.js +2674 -3637
- package/package.json +8 -7
- package/src/batchUploader.ts +1 -1
- package/src/constants.ts +1 -2
- package/src/utils.ts +1 -1
- package/src/validators.ts +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/web-sdk",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.2",
|
|
4
4
|
"description": "mParticle core SDK for web applications",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -67,13 +67,18 @@
|
|
|
67
67
|
"@babel/preset-env": "^7.6.0",
|
|
68
68
|
"@babel/preset-typescript": "^7.6.0",
|
|
69
69
|
"@mparticle/data-planning-models": "^0.1.0",
|
|
70
|
-
"@mparticle/event-models": "^1.1.
|
|
70
|
+
"@mparticle/event-models": "^1.1.6",
|
|
71
71
|
"@rollup/plugin-json": "^4.1.0",
|
|
72
|
+
"@rollup/plugin-typescript": "^8.3.3",
|
|
73
|
+
"@rollup/plugin-babel": "5.3.1",
|
|
74
|
+
"@rollup/plugin-commonjs": "22.0.1",
|
|
75
|
+
"@rollup/plugin-node-resolve": "13.3.0",
|
|
72
76
|
"@semantic-release/changelog": "^5.0.1",
|
|
73
77
|
"@semantic-release/exec": "^5.0.0",
|
|
74
78
|
"@semantic-release/git": "^9.0.0",
|
|
75
79
|
"@types/chai": "^4.2.3",
|
|
76
80
|
"@types/mocha": "^9.0.0",
|
|
81
|
+
"@types/mparticle__web-sdk": "^2.16.1",
|
|
77
82
|
"@types/node": "^16.0.0",
|
|
78
83
|
"babel-eslint": "^10.0.3",
|
|
79
84
|
"babel-preset-minify": "^0.5.1",
|
|
@@ -99,11 +104,7 @@
|
|
|
99
104
|
"mocha": "^9.0.0",
|
|
100
105
|
"pre-commit": "^1.2.2",
|
|
101
106
|
"prettier": "1.18.2",
|
|
102
|
-
"rollup": "^
|
|
103
|
-
"rollup-plugin-babel": "^4.3.3",
|
|
104
|
-
"rollup-plugin-commonjs": "^10.1.0",
|
|
105
|
-
"rollup-plugin-node-resolve": "^5.2.0",
|
|
106
|
-
"rollup-plugin-typescript": "^1.0.1",
|
|
107
|
+
"rollup": "^2.75.7",
|
|
107
108
|
"shelljs": "^0.8.4",
|
|
108
109
|
"should": "^7.1.0",
|
|
109
110
|
"sinon": "^11.0.0",
|
package/src/batchUploader.ts
CHANGED
package/src/constants.ts
CHANGED
|
@@ -59,8 +59,7 @@ const Constants = {
|
|
|
59
59
|
'identityRequests to modify require userIdentities to be present. Request not sent to server. Please fix and try again',
|
|
60
60
|
IdentityRequesetInvalidKey:
|
|
61
61
|
'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.',
|
|
62
|
-
OnUserAliasType:
|
|
63
|
-
'The onUserAlias value must be a function. The onUserAlias provided is of type',
|
|
62
|
+
OnUserAliasType: 'The onUserAlias value must be a function.',
|
|
64
63
|
UserIdentities:
|
|
65
64
|
'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.',
|
|
66
65
|
UserIdentitiesInvalidKey:
|
package/src/utils.ts
CHANGED
package/src/validators.ts
CHANGED