@appxiom/4react 0.1.7 → 0.1.9

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.
@@ -153,7 +153,7 @@ function patchDispatcher() {
153
153
 
154
154
  if (!internals || !dispatcherSlot) return;
155
155
 
156
- if (internals.__AX_DISPATCHER_PATCHED__) return;
156
+ if (internals?.__AX_DISPATCHER_PATCHED__) return;
157
157
  try {
158
158
  internals.__AX_DISPATCHER_PATCHED__ = true;
159
159
  } catch {
@@ -1,6 +1,6 @@
1
1
  export function getReactInternals(react) {
2
- return react.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
3
- || react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
2
+ return react?.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
3
+ || react?.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
4
4
  || null;
5
5
  }
6
6
 
package/package.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "description": "React integration layer for Appxiom Web Observability SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "BasilGregory Software Labs Private Limited",
6
- "homepage": "https://appxiom.io",
7
- "version": "0.1.7",
6
+ "homepage": "https://www.appxiom.com",
7
+ "version": "0.1.9",
8
8
  "publishConfig": {
9
9
  "access": "public"
10
10
  },