@nibssplc/cams-sdk-react 0.0.1-beta.80 → 0.0.1-beta.82

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
@@ -152,10 +152,6 @@ function useCAMSAuth(options) {
152
152
  // Only initialize on client side
153
153
  if (typeof window === "undefined")
154
154
  return;
155
- // Initialize popup auth handler if in popup
156
- if (camsSdk.isPopupWindow()) {
157
- camsSdk.initializePopupAuth();
158
- }
159
155
  (_a = sessionManagerRef.current) !== null && _a !== void 0 ? _a : (sessionManagerRef.current = new camsSdk.CAMSSessionManager(localStorage, options.storageKey || "CAMS-AUTH-SDK", {
160
156
  onAuthSuccess: function (res) {
161
157
  var _a;