@pelcro/react-pelcro-js 3.19.0-beta.2 → 3.19.0-beta.3

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.
package/dist/index.cjs.js CHANGED
@@ -12426,14 +12426,13 @@ function userMustVerifyEmail() {
12426
12426
  function notifyBugsnag() {
12427
12427
  let message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Error';
12428
12428
  notifier.notify(message, event => {
12429
- var _window$Pelcro3, _window$Pelcro3$site, _window$Pelcro4, _window$Pelcro4$user, _window$Pelcro5, _window$Pelcro5$uiSet, _window$Pelcro6, _window$Pelcro7, _window$Pelcro7$uiSet;
12430
- event.addMetadata("MetaData", {
12431
- site: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$site = _window$Pelcro3.site) === null || _window$Pelcro3$site === void 0 ? void 0 : _window$Pelcro3$site.read(),
12432
- user: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : (_window$Pelcro4$user = _window$Pelcro4.user) === null || _window$Pelcro4$user === void 0 ? void 0 : _window$Pelcro4$user.read(),
12433
- uiVersion: (_window$Pelcro5 = window.Pelcro) === null || _window$Pelcro5 === void 0 ? void 0 : (_window$Pelcro5$uiSet = _window$Pelcro5.uiSettings) === null || _window$Pelcro5$uiSet === void 0 ? void 0 : _window$Pelcro5$uiSet.uiVersion,
12434
- environment: (_window$Pelcro6 = window.Pelcro) === null || _window$Pelcro6 === void 0 ? void 0 : _window$Pelcro6.environment
12435
- });
12436
- event.app.version = (_window$Pelcro7 = window.Pelcro) === null || _window$Pelcro7 === void 0 ? void 0 : (_window$Pelcro7$uiSet = _window$Pelcro7.uiSettings) === null || _window$Pelcro7$uiSet === void 0 ? void 0 : _window$Pelcro7$uiSet.uiVersion;
12429
+ // event.addMetadata("MetaData", {
12430
+ // site: window.Pelcro?.site?.read(),
12431
+ // user: window.Pelcro?.user?.read(),
12432
+ // uiVersion: window.Pelcro?.uiSettings?.uiVersion,
12433
+ // environment: window.Pelcro?.environment
12434
+ // });
12435
+ // event.app.version = window.Pelcro?.uiSettings?.uiVersion
12437
12436
  });
12438
12437
  }
12439
12438
 
package/dist/index.esm.js CHANGED
@@ -12385,14 +12385,13 @@ function userMustVerifyEmail() {
12385
12385
  function notifyBugsnag() {
12386
12386
  let message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Error';
12387
12387
  notifier.notify(message, event => {
12388
- var _window$Pelcro3, _window$Pelcro3$site, _window$Pelcro4, _window$Pelcro4$user, _window$Pelcro5, _window$Pelcro5$uiSet, _window$Pelcro6, _window$Pelcro7, _window$Pelcro7$uiSet;
12389
- event.addMetadata("MetaData", {
12390
- site: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$site = _window$Pelcro3.site) === null || _window$Pelcro3$site === void 0 ? void 0 : _window$Pelcro3$site.read(),
12391
- user: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : (_window$Pelcro4$user = _window$Pelcro4.user) === null || _window$Pelcro4$user === void 0 ? void 0 : _window$Pelcro4$user.read(),
12392
- uiVersion: (_window$Pelcro5 = window.Pelcro) === null || _window$Pelcro5 === void 0 ? void 0 : (_window$Pelcro5$uiSet = _window$Pelcro5.uiSettings) === null || _window$Pelcro5$uiSet === void 0 ? void 0 : _window$Pelcro5$uiSet.uiVersion,
12393
- environment: (_window$Pelcro6 = window.Pelcro) === null || _window$Pelcro6 === void 0 ? void 0 : _window$Pelcro6.environment
12394
- });
12395
- event.app.version = (_window$Pelcro7 = window.Pelcro) === null || _window$Pelcro7 === void 0 ? void 0 : (_window$Pelcro7$uiSet = _window$Pelcro7.uiSettings) === null || _window$Pelcro7$uiSet === void 0 ? void 0 : _window$Pelcro7$uiSet.uiVersion;
12388
+ // event.addMetadata("MetaData", {
12389
+ // site: window.Pelcro?.site?.read(),
12390
+ // user: window.Pelcro?.user?.read(),
12391
+ // uiVersion: window.Pelcro?.uiSettings?.uiVersion,
12392
+ // environment: window.Pelcro?.environment
12393
+ // });
12394
+ // event.app.version = window.Pelcro?.uiSettings?.uiVersion
12396
12395
  });
12397
12396
  }
12398
12397
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.19.0-beta.2",
4
+ "version": "3.19.0-beta.3",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",