authscape 1.0.230 → 1.0.232

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
@@ -99,7 +99,7 @@ function AuthScapeApp(_ref) {
99
99
  open: isLoading
100
100
  }, /*#__PURE__*/_react["default"].createElement(_CircularProgress["default"], {
101
101
  color: "inherit"
102
- })), /*#__PURE__*/_react["default"].createElement(_reactToastify.ToastContainer, null))), process.env.microsoftClarityTrackingCode != null && /*#__PURE__*/_react["default"].createElement("script", {
102
+ })), /*#__PURE__*/_react["default"].createElement(_reactToastify.ToastContainer, null))), loadedUser && process.env.microsoftClarityTrackingCode != null && process.env.staging == "production" && /*#__PURE__*/_react["default"].createElement("script", {
103
103
  dangerouslySetInnerHTML: {
104
104
  __html: "\n (function(c,l,a,r,i,t,y){\n c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };\n t=l.createElement(r);\n t.async=1;\n t.src=\"https://www.clarity.ms/tag/\"+i;\n y=l.getElementsByTagName(r)[0];\n y.parentNode.insertBefore(t,y);\n })(window, document, \"clarity\", \"script\", \"" + process.env.microsoftClarityTrackingCode + "\");"
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.230",
3
+ "version": "1.0.232",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -91,7 +91,7 @@ export function AuthScapeApp({Component, pageProps, muiTheme = {}, enforceLogged
91
91
  }
92
92
  </ThemeProvider>
93
93
 
94
- {process.env.microsoftClarityTrackingCode != null &&
94
+ {(loadedUser && process.env.microsoftClarityTrackingCode != null && process.env.staging == "production") &&
95
95
  <script
96
96
  dangerouslySetInnerHTML={{
97
97
  __html: `