rudder-sdk-js 2.3.3 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -4709,7 +4709,7 @@
|
|
4709
4709
|
|
4710
4710
|
// Reserved Keywords for properties/traits
|
4711
4711
|
var ReservedPropertyKeywords = ["anonymous_id", "id", "sent_at", "received_at", "timestamp", "original_timestamp", "event_text", "event"]; // ECommerce Parameter Names Enumeration
|
4712
|
-
var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.3.
|
4712
|
+
var CONFIG_URL = "https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.3.4";
|
4713
4713
|
var CDN_INT_DIR = "js-integrations";
|
4714
4714
|
var DEST_SDK_BASE_URL = "https://cdn.rudderlabs.com/v1.1/".concat(CDN_INT_DIR);
|
4715
4715
|
var MAX_WAIT_FOR_INTEGRATION_LOAD = 10000;
|
@@ -11306,7 +11306,7 @@
|
|
11306
11306
|
this.build = "1.0.0";
|
11307
11307
|
this.name = "RudderLabs JavaScript SDK";
|
11308
11308
|
this.namespace = "com.rudderlabs.javascript";
|
11309
|
-
this.version = "2.3.
|
11309
|
+
this.version = "2.3.4";
|
11310
11310
|
});
|
11311
11311
|
|
11312
11312
|
/* eslint-disable max-classes-per-file */
|
@@ -11315,7 +11315,7 @@
|
|
11315
11315
|
_classCallCheck(this, RudderLibraryInfo);
|
11316
11316
|
|
11317
11317
|
this.name = "RudderLabs JavaScript SDK";
|
11318
|
-
this.version = "2.3.
|
11318
|
+
this.version = "2.3.4";
|
11319
11319
|
}); // Operating System information class
|
11320
11320
|
|
11321
11321
|
|
@@ -13085,7 +13085,7 @@
|
|
13085
13085
|
key: "enqueue",
|
13086
13086
|
value: function enqueue(rudderElement, type) {
|
13087
13087
|
var message = rudderElement.getElementContent();
|
13088
|
-
message.originalTimestamp = getCurrentTimeFormatted();
|
13088
|
+
message.originalTimestamp = message.originalTimestamp || getCurrentTimeFormatted();
|
13089
13089
|
message.sentAt = getCurrentTimeFormatted(); // add this, will get modified when actually being sent
|
13090
13090
|
// check message size, if greater log an error
|
13091
13091
|
|