@mparticle/web-taplytics-kit 3.3.3 → 3.4.0
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/TaplyticsKit.common.js +2 -12
- package/package.json +1 -1
|
@@ -11,16 +11,6 @@ function isObject(val) {
|
|
|
11
11
|
return val != null && typeof val === 'object' && Array.isArray(val) === false;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
var isobject = /*#__PURE__*/Object.freeze({
|
|
15
|
-
'default': isObject
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
function getCjsExportFromNamespace (n) {
|
|
19
|
-
return n && n['default'] || n;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var isobject$1 = getCjsExportFromNamespace(isobject);
|
|
23
|
-
|
|
24
14
|
/* eslint-disable no-undef */
|
|
25
15
|
|
|
26
16
|
//
|
|
@@ -593,14 +583,14 @@ function register(config) {
|
|
|
593
583
|
return;
|
|
594
584
|
}
|
|
595
585
|
|
|
596
|
-
if (!
|
|
586
|
+
if (!isObject(config)) {
|
|
597
587
|
console.log(
|
|
598
588
|
"'config' must be an object. You passed in a " + typeof config
|
|
599
589
|
);
|
|
600
590
|
return;
|
|
601
591
|
}
|
|
602
592
|
|
|
603
|
-
if (
|
|
593
|
+
if (isObject(config.kits)) {
|
|
604
594
|
config.kits[name] = {
|
|
605
595
|
constructor: constructor,
|
|
606
596
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/web-taplytics-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)",
|
|
5
5
|
"description": "mParticle integration sdk for Taplytics",
|
|
6
6
|
"main": "dist/TaplyticsKit.common.js",
|