authscape 1.0.452 → 1.0.454

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/index.js CHANGED
@@ -243,7 +243,9 @@ function AuthScapeApp(_ref) {
243
243
  databaseDrivenPageView(window.location.pathname);
244
244
  _router["default"].events.on('routeChangeComplete', function () {
245
245
  if (ga4React != null) {
246
- ga4React.current.pageview(window.location.pathname);
246
+ try {
247
+ ga4React.current.pageview(window.location.pathname);
248
+ } catch (exp) {}
247
249
  }
248
250
  databaseDrivenPageView(window.location.pathname);
249
251
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.452",
3
+ "version": "1.0.454",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -207,7 +207,11 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
207
207
 
208
208
  if (ga4React != null)
209
209
  {
210
- ga4React.current.pageview(window.location.pathname);
210
+ try
211
+ {
212
+ ga4React.current.pageview(window.location.pathname);
213
+ }
214
+ catch(exp) {}
211
215
  }
212
216
 
213
217
  databaseDrivenPageView(window.location.pathname);