rudder-sdk-js 1.2.10 → 1.2.11

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.
Files changed (2) hide show
  1. package/index.js +7 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5570,7 +5570,7 @@
5570
5570
  PRODUCT_REVIEWED: "Product Reviewed"
5571
5571
  }; // Enumeration for integrations supported
5572
5572
 
5573
- var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=1.2.10";
5573
+ var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=1.2.11";
5574
5574
  var MAX_WAIT_FOR_INTEGRATION_LOAD = 10000;
5575
5575
  var INTEGRATION_LOAD_CHECK_INTERVAL = 1000;
5576
5576
  /* module.exports = {
@@ -29796,7 +29796,10 @@
29796
29796
  var properties = message.properties ? Object.keys(message.properties) : null;
29797
29797
  properties.forEach(function (property) {
29798
29798
  var value = message.properties[property];
29799
- rawPayload[property] = value;
29799
+
29800
+ if (value && _typeof(value) !== "object" && !Array.isArray(value)) {
29801
+ rawPayload[property] = value;
29802
+ }
29800
29803
  });
29801
29804
 
29802
29805
  if (message.event) {
@@ -34085,7 +34088,7 @@
34085
34088
  this.build = "1.0.0";
34086
34089
  this.name = "RudderLabs JavaScript SDK";
34087
34090
  this.namespace = "com.rudderlabs.javascript";
34088
- this.version = "1.2.10";
34091
+ this.version = "1.2.11";
34089
34092
  };
34090
34093
 
34091
34094
  // Library information class
@@ -34093,7 +34096,7 @@
34093
34096
  _classCallCheck(this, RudderLibraryInfo);
34094
34097
 
34095
34098
  this.name = "RudderLabs JavaScript SDK";
34096
- this.version = "1.2.10";
34099
+ this.version = "1.2.11";
34097
34100
  }; // Operating System information class
34098
34101
 
34099
34102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rudder-sdk-js",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "RudderStack Javascript SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",