@pelcro/react-pelcro-js 3.19.0-beta.1 → 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,13 +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;
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
- });
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
12436
12436
  });
12437
12437
  }
12438
12438
 
package/dist/index.esm.js CHANGED
@@ -12385,13 +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;
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
- });
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
12395
12395
  });
12396
12396
  }
12397
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.1",
4
+ "version": "3.19.0-beta.3",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",
@@ -101,7 +101,6 @@
101
101
  },
102
102
  "dependencies": {
103
103
  "@bugsnag/js": "^7.20.0",
104
- "@bugsnag/plugin-react": "^7.19.0",
105
104
  "@headlessui/react": "^0.3.0",
106
105
  "@stripe/stripe-js": "^1.21.1",
107
106
  "gapi-script": "^1.2.0",