@mparticle/web-taplytics-kit 3.3.2 → 3.3.3
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 +12 -2
- package/package.json +1 -1
|
@@ -11,6 +11,16 @@ 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
|
+
|
|
14
24
|
/* eslint-disable no-undef */
|
|
15
25
|
|
|
16
26
|
//
|
|
@@ -583,14 +593,14 @@ function register(config) {
|
|
|
583
593
|
return;
|
|
584
594
|
}
|
|
585
595
|
|
|
586
|
-
if (!
|
|
596
|
+
if (!isobject$1(config)) {
|
|
587
597
|
console.log(
|
|
588
598
|
"'config' must be an object. You passed in a " + typeof config
|
|
589
599
|
);
|
|
590
600
|
return;
|
|
591
601
|
}
|
|
592
602
|
|
|
593
|
-
if (
|
|
603
|
+
if (isobject$1(config.kits)) {
|
|
594
604
|
config.kits[name] = {
|
|
595
605
|
constructor: constructor,
|
|
596
606
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/web-taplytics-kit",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
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",
|