@mparticle/web-bing-ads-kit 3.4.0 → 3.5.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.
|
@@ -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
|
// Copyright 2016 mParticle, Inc.
|
|
15
25
|
//
|
|
16
26
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -354,14 +364,14 @@ function register(config) {
|
|
|
354
364
|
return;
|
|
355
365
|
}
|
|
356
366
|
|
|
357
|
-
if (!
|
|
367
|
+
if (!isobject$1(config)) {
|
|
358
368
|
console.log(
|
|
359
369
|
"'config' must be an object. You passed in a " + typeof config
|
|
360
370
|
);
|
|
361
371
|
return;
|
|
362
372
|
}
|
|
363
373
|
|
|
364
|
-
if (
|
|
374
|
+
if (isobject$1(config.kits)) {
|
|
365
375
|
config.kits[name] = {
|
|
366
376
|
constructor: constructor,
|
|
367
377
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/web-bing-ads-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)",
|
|
5
5
|
"description": "mParticle integration sdk for Bing Ads",
|
|
6
6
|
"main": "dist/BingAdsEventForwarder.common.js",
|