@mparticle/web-facebook-kit 3.9.0 → 3.11.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,17 +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
- __proto__: null,
16
- 'default': isObject
17
- });
18
-
19
- function getCjsExportFromNamespace (n) {
20
- return n && n['default'] || n;
21
- }
22
-
23
- var isobject$1 = getCjsExportFromNamespace(isobject);
24
-
25
14
  /* eslint-disable no-undef */
26
15
  // Copyright 2015 mParticle, Inc.
27
16
  //
@@ -494,7 +483,7 @@ var name = 'Facebook',
494
483
  // Apply configured mappings to custom attributes
495
484
  productAttributeMapping.forEach(function(productMapping) {
496
485
  if (
497
- !isobject$1(productMapping) ||
486
+ !isObject(productMapping) ||
498
487
  !productMapping.map ||
499
488
  !productMapping.value
500
489
  ) {
@@ -567,14 +556,14 @@ function register(config) {
567
556
  return;
568
557
  }
569
558
 
570
- if (!isobject$1(config)) {
559
+ if (!isObject(config)) {
571
560
  console.log(
572
561
  "'config' must be an object. You passed in a " + typeof config
573
562
  );
574
563
  return;
575
564
  }
576
565
 
577
- if (isobject$1(config.kits)) {
566
+ if (isObject(config.kits)) {
578
567
  config.kits[name] = {
579
568
  constructor: constructor,
580
569
  };
@@ -9,17 +9,6 @@ function isObject(val) {
9
9
  return val != null && typeof val === 'object' && Array.isArray(val) === false;
10
10
  }
11
11
 
12
- var isobject = /*#__PURE__*/Object.freeze({
13
- __proto__: null,
14
- 'default': isObject
15
- });
16
-
17
- function getCjsExportFromNamespace (n) {
18
- return n && n['default'] || n;
19
- }
20
-
21
- var isobject$1 = getCjsExportFromNamespace(isobject);
22
-
23
12
  /* eslint-disable no-undef */
24
13
  // Copyright 2015 mParticle, Inc.
25
14
  //
@@ -492,7 +481,7 @@ var name = 'Facebook',
492
481
  // Apply configured mappings to custom attributes
493
482
  productAttributeMapping.forEach(function(productMapping) {
494
483
  if (
495
- !isobject$1(productMapping) ||
484
+ !isObject(productMapping) ||
496
485
  !productMapping.map ||
497
486
  !productMapping.value
498
487
  ) {
@@ -565,14 +554,14 @@ function register(config) {
565
554
  return;
566
555
  }
567
556
 
568
- if (!isobject$1(config)) {
557
+ if (!isObject(config)) {
569
558
  console.log(
570
559
  "'config' must be an object. You passed in a " + typeof config
571
560
  );
572
561
  return;
573
562
  }
574
563
 
575
- if (isobject$1(config.kits)) {
564
+ if (isObject(config.kits)) {
576
565
  config.kits[name] = {
577
566
  constructor: constructor,
578
567
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/web-facebook-kit",
3
- "version": "3.9.0",
3
+ "version": "3.11.0",
4
4
  "author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)",
5
5
  "description": "mParticle integration sdk for facebook",
6
6
  "main": "dist/FacebookEventForwarder.common.js",