rudder-sdk-js 2.9.3 → 2.9.4

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 +6 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4939,7 +4939,7 @@
4939
4939
 
4940
4940
  // Reserved Keywords for properties/traits
4941
4941
  var RESERVED_KEYS = ['anonymous_id', 'id', 'sent_at', 'received_at', 'timestamp', 'original_timestamp', 'event_text', 'event'];
4942
- var CONFIG_URL = 'https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.9.3';
4942
+ var CONFIG_URL = 'https://api.rudderlabs.com/sourceConfig/?p=npm&v=2.9.4';
4943
4943
  var CDN_INT_DIR = 'js-integrations';
4944
4944
  var DEST_SDK_BASE_URL = "https://cdn.rudderlabs.com/v1.1/".concat(CDN_INT_DIR);
4945
4945
  var MAX_WAIT_FOR_INTEGRATION_LOAD = 10000;
@@ -10597,7 +10597,7 @@
10597
10597
  this.build = "1.0.0";
10598
10598
  this.name = "RudderLabs JavaScript SDK";
10599
10599
  this.namespace = "com.rudderlabs.javascript";
10600
- this.version = "2.9.3";
10600
+ this.version = "2.9.4";
10601
10601
  });
10602
10602
 
10603
10603
  /* eslint-disable max-classes-per-file */
@@ -10606,7 +10606,7 @@
10606
10606
  _classCallCheck(this, RudderLibraryInfo);
10607
10607
 
10608
10608
  this.name = "RudderLabs JavaScript SDK";
10609
- this.version = "2.9.3";
10609
+ this.version = "2.9.4";
10610
10610
  }); // Operating System information class
10611
10611
 
10612
10612
 
@@ -10650,7 +10650,8 @@
10650
10650
  this.screen.height = window.screen.height;
10651
10651
  this.screen.density = window.devicePixelRatio;
10652
10652
  this.screen.innerWidth = window.innerWidth;
10653
- this.screen.innerHeight = window.innerHeight; // For supporting Brave browser detection,
10653
+ this.screen.innerHeight = window.innerHeight;
10654
+ this.userAgent = navigator.userAgent; // For supporting Brave browser detection,
10654
10655
  // add "Brave/<version>" to the user agent with the version value from the Chrome component
10655
10656
 
10656
10657
  if (navigator.brave && Object.getPrototypeOf(navigator.brave).isBrave) {
@@ -13272,7 +13273,7 @@
13272
13273
  if (API_KEY.match(apiKeyRegex) !== null) return;
13273
13274
  window.rsBugsnagClient = window.Bugsnag.start({
13274
13275
  apiKey: API_KEY,
13275
- appVersion: "2.9.3",
13276
+ appVersion: "2.9.4",
13276
13277
  // Set SDK version as the app version
13277
13278
  metadata: META_DATA,
13278
13279
  onError: function onError(event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rudder-sdk-js",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "description": "RudderStack Javascript SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",