@wellesley/auth 1.0.687 → 1.0.689

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{api as ms,handleBasicResponse as Gt,useGetApiV1SearchQuery as MO,usePostApiV1AccountsConfirmEmailMutation as i9,usePutApiV1AccountsResendEmailByHashMutation as XO,usePostApiV1AccountsAddReasonMutation as GO}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.631";import{createSlice as jo,createAction as f9,createSelector as Ba}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import{toast as fo}from"https://cdn.jsdelivr.net/npm/react-toastify@10.0.5/+esm";import{getErrorMsg as Wa,getServerApiErrorCode as Tn}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.482";import*as xf from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import YO,{forwardRef as Oo,createElement as Lp,useCallback as Et,useMemo as lo,useEffect as Ye,useState as Ue,useRef as ut}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Te,useDispatch as Lt}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{AppsLink as Qr,useAppsNavigate as dr,routerSlice as ZO,useAppsSearchParams as LO,matchPath as AO}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.559";import{cn as Ne,Button as Zs,HoverCard as RO,HoverCardTrigger as BO,HoverCardContent as WO,Switch as EO,Tooltip as Um,TooltipTrigger as Km,TooltipContent as Vm,Avatar as SO,AvatarImage as CO,Textarea as IO,getTextareaClassName as FO,FormLabel as QO,useFormField as l9,FormField as qO,FormItem as JO,FormControl as Rc,Input as jf,FormMessage as UO,Form as Ea,ButtonLoader as pr,useIsMobile as uh,Dialog as KO,DialogContent as VO,Tabs as _O,TabsList as $O,TabsTrigger as _m,TabsContent as $m}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.593";import{instanceInfoSlice as eT}from"https://cdn.jsdelivr.net/npm/@wellesley/instanceinfo@1.0.504";import{get as Ap,set as Of,appendErrors as tT,useForm as To}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{rootReducer as rT,getStore as gs}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.630";import{EmojiPicker as aT,EmojiStyle as nT}from"https://cdn.jsdelivr.net/npm/@wellesley/emoji-picker@1.0.482";import{useSearchParams as sT,useLocation as cT,useParams as oT}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const iT="wlsy",u9=()=>{try{return window.localStorage}catch(e){console.warn("Error getting window.localStorage storage",e)}},d9=()=>{const e=new Set,t=u9();if(!t)return[];for(let r=0;r<(null==t?void 0:t.length);r+=1){const a=null==t?void 0:t.key(r);"string"==typeof a&&e.add(a)}return Array.from(e)},Ls=e=>{const t=`${iT}${e?`:${e}`:""}`,r=e=>`${t}:${e}`,a=()=>d9().filter((e=>e.startsWith(`${t}:`))),n=e=>e.slice(t.length+1),s=u9(),o=e=>{try{return null==s?void 0:s.getItem(r(e))}catch{return null}},c=(e,t)=>{try{null==s||s.setItem(r(e),String(t))}catch{return}};return{getItem:o,setItem:c,removeItem:e=>{try{null==s||s.removeItem(r(e))}catch{return}},clear:()=>{try{a().forEach((e=>null==s?void 0:s.removeItem(e)))}catch{return}},keys:()=>a().map(n),has:e=>null!==o(e),getJSON:e=>{const t=o(e);if(null==t)return null;try{return JSON.parse(t)}catch{return null}},setJSON:(e,t)=>{try{c(e,JSON.stringify(t))}catch{return}}}},Ho="auth_token",dh=Ls("user"),p9=()=>dh.getItem(Ho)||void 0,fT=e=>dh.setItem(Ho,e),lT=()=>dh.removeItem(Ho),uT=()=>!!p9(),As={getToken:p9,setToken:fT,removeToken:lT,hasToken:uT},eg={forgotPasswordStep:"request",forgotPasswordFields:null,signupStep:"rules",signupFields:null,token:null,newEmail:null,isPending:!!As.getToken(),isAuthenticated:!1,isAskLoginOpen:!1},we=jo({name:"auth",initialState:eg,reducers:{setAskLoginOpen:(e,t)=>{e.isAskLoginOpen=t.payload},login:(e,t)=>{e.isAuthenticated=!0,e.token=t.payload||null,e.isPending=!1},logout:()=>({...eg,isPending:!1}),setNewEmail:(e,t)=>{e.newEmail=t.payload},setForgotPasswordStep:(e,t)=>{e.forgotPasswordStep=t.payload},updateForgotPasswordFields:(e,t)=>{e.forgotPasswordFields={...e.forgotPasswordFields,...t.payload}},resetForgotPasswordFields:e=>{e.forgotPasswordFields=null},setSignupStep:(e,t)=>{e.signupStep=t.payload},updateSignupFields:(e,t)=>{e.signupFields={...e.signupFields,...t.payload}},resetSignupFields:e=>{e.signupFields=null},setPending:(e,t)=>{e.isPending=t.payload}},selectors:{selectAskLoginOpen:e=>e.isAskLoginOpen,selectToken:e=>e.token,selectNewEmail:e=>e.newEmail,selectForgotPasswordStep:e=>e.forgotPasswordStep,selectForgotPasswordFields:e=>e.forgotPasswordFields,selectSignupStep:e=>e.signupStep,selectSignupFields:e=>e.signupFields,selectPending:e=>e.isPending,selectIsAuthenticated:e=>e.isAuthenticated}}),dT=e=>{if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)},pT=e=>dT(e)&&"type"in e&&"string"==typeof e.type,je=e=>{const t=t=>({type:e,payload:t});return t.toString=()=>`${e}`,t.type=e,t.match=t=>pT(t)&&t.type===e,t};je("remoteReady");const hT=je("askLogin");je("reselectUser"),je("requestLogout"),je("setConfirmLeavePage"),je("requestChangePath"),je("wsSubscribe"),je("wsUnSubscribe"),je("hostStoreConnect");const yT=je("remoteLogin"),h9=je("remoteLogout");je("wsOnMessage"),je("setRouterPath"),je("setDeviceType");const vT=je("setUserError"),mT=je("setUserIsError"),gT=je("setUserPending"),bT=je("setUserSuccess"),zT=je("setUserData"),y9=je("updateAccountData"),wT=je("updateUser");je("addNotification"),je("markNotification"),je("setNotificationsError"),je("setNotificationsList"),je("setNotificationsPending"),je("setNotificationsTotalCount"),je("setNotificationsUnreadCount"),je("resetNotificationsState"),je("undoNotification"),je("setInstanceInfo"),je("setInstanceInfoPending"),je("setInstanceInfoError");const PT=je("setPlatformSettings");je("setProfileSettings"),je("setGroupData"),je("setGroupLoading"),f9("requestMicroFrontendFetch"),f9("sendMicroFrontendFetchResponse");const v9=e=>{var t;return 401===(null==e?void 0:e.status)&&"UserBadCreds"===(null==(t=null==e?void 0:e.data)?void 0:t.errorCode)},Tf=async({dispatch:e,queryFulfilled:t,onSuccess:r,showInvalidCredsToast:a=!0,showErrorToast:n=!0})=>{try{e(we.actions.setPending(!0));const{data:a}=await t,n="sessionKey"in a?a.sessionKey:a.token.sessionKey;return As.setToken(n),null==r||r(),t}catch(t){const r=t.error,s=v9(r);if(e(we.actions.setPending(!1)),s&&!a)return;n&&fo.error(Wa(t))}},kT=ms.enhanceEndpoints({endpoints:{getApiV1Rules:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecover:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecoverCheckCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecoverChange:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordChangeConfirm:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsPasswordChangeResendCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordChangeRequest:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsEmailChangeResendCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsResendEmailByHash:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsEmailChangeRequest:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsEmailChangeConfirm:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsConfirmEmail:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsCheckCaptcha:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsFinishCreating:{async onQueryStarted(e,{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r,showErrorToast:!1,onSuccess:()=>{fo.success("User registered successfully")}})}},postApiV1AccountsAuthenticateEmail:{invalidatesTags:["Secure"],async onQueryStarted(e,{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r,showInvalidCredsToast:!1})}},postApiV1AccountsSignup:{invalidatesTags:["Secure"]},postApiV1AccountsUserReselectUser:{async onQueryStarted({userId:e},{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r}),e&&(t(y9({selectedUserId:e})),t(ms.util.invalidateTags(["UserSettings"])))}},getApiV1RbacActorsByActorIdPermissions:{providesTags:["RBAC"],async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}}}}),{useGetApiV1RulesQuery:xT,usePostApiV1AccountsPasswordRecoverMutation:m9,usePostApiV1AccountsPasswordRecoverCheckCodeMutation:ph,usePostApiV1AccountsPasswordRecoverChangeMutation:jT,usePostApiV1AccountsPasswordChangeConfirmMutation:g9,usePostApiV1AccountsPasswordChangeRequestMutation:OT,usePutApiV1AccountsPasswordChangeResendCodeMutation:TT,usePostApiV1AccountsAuthenticateEmailMutation:b9,usePostApiV1AccountsEmailChangeRequestMutation:HT,usePostApiV1AccountsEmailChangeConfirmMutation:z9,usePostApiV1AccountsSignupMutation:hh,usePutApiV1AccountsResendEmailByHashMutation:bue,usePutApiV1AccountsEmailChangeResendCodeMutation:NT,usePostApiV1AccountsConfirmEmailMutation:zue,usePostApiV1AccountsFinishCreatingMutation:w9,usePostApiV1AccountsUserReselectUserMutation:wue,usePostApiV1AccountsCheckCaptchaMutation:DT,useGetApiV1RbacActorsByActorIdPermissionsQuery:MT}=kT;var ua=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tg,rg,Hf={exports:{}},as={};
1
+ import{api as ms,handleBasicResponse as Gt,useGetApiV1SearchQuery as MO,usePostApiV1AccountsConfirmEmailMutation as i9,usePutApiV1AccountsResendEmailByHashMutation as XO,usePostApiV1AccountsAddReasonMutation as GO}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.633";import{createSlice as jo,createAction as f9,createSelector as Ba}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import{toast as fo}from"https://cdn.jsdelivr.net/npm/react-toastify@10.0.5/+esm";import{getErrorMsg as Wa,getServerApiErrorCode as Tn}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.484";import*as xf from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import YO,{forwardRef as Oo,createElement as Lp,useCallback as Et,useMemo as lo,useEffect as Ye,useState as Ue,useRef as ut}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Te,useDispatch as Lt}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{AppsLink as Qr,useAppsNavigate as dr,routerSlice as ZO,useAppsSearchParams as LO,matchPath as AO}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.561";import{cn as Ne,Button as Zs,HoverCard as RO,HoverCardTrigger as BO,HoverCardContent as WO,Switch as EO,Tooltip as Um,TooltipTrigger as Km,TooltipContent as Vm,Avatar as SO,AvatarImage as CO,Textarea as IO,getTextareaClassName as FO,FormLabel as QO,useFormField as l9,FormField as qO,FormItem as JO,FormControl as Rc,Input as jf,FormMessage as UO,Form as Ea,ButtonLoader as pr,useIsMobile as uh,Dialog as KO,DialogContent as VO,Tabs as _O,TabsList as $O,TabsTrigger as _m,TabsContent as $m}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.595";import{instanceInfoSlice as eT}from"https://cdn.jsdelivr.net/npm/@wellesley/instanceinfo@1.0.506";import{get as Ap,set as Of,appendErrors as tT,useForm as To}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{rootReducer as rT,getStore as gs}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.632";import{EmojiPicker as aT,EmojiStyle as nT}from"https://cdn.jsdelivr.net/npm/@wellesley/emoji-picker@1.0.484";import{useSearchParams as sT,useLocation as cT,useParams as oT}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const iT="wlsy",u9=()=>{try{return window.localStorage}catch(e){console.warn("Error getting window.localStorage storage",e)}},d9=()=>{const e=new Set,t=u9();if(!t)return[];for(let r=0;r<(null==t?void 0:t.length);r+=1){const a=null==t?void 0:t.key(r);"string"==typeof a&&e.add(a)}return Array.from(e)},Ls=e=>{const t=`${iT}${e?`:${e}`:""}`,r=e=>`${t}:${e}`,a=()=>d9().filter((e=>e.startsWith(`${t}:`))),n=e=>e.slice(t.length+1),s=u9(),o=e=>{try{return null==s?void 0:s.getItem(r(e))}catch{return null}},c=(e,t)=>{try{null==s||s.setItem(r(e),String(t))}catch{return}};return{getItem:o,setItem:c,removeItem:e=>{try{null==s||s.removeItem(r(e))}catch{return}},clear:()=>{try{a().forEach((e=>null==s?void 0:s.removeItem(e)))}catch{return}},keys:()=>a().map(n),has:e=>null!==o(e),getJSON:e=>{const t=o(e);if(null==t)return null;try{return JSON.parse(t)}catch{return null}},setJSON:(e,t)=>{try{c(e,JSON.stringify(t))}catch{return}}}},Ho="auth_token",dh=Ls("user"),p9=()=>dh.getItem(Ho)||void 0,fT=e=>dh.setItem(Ho,e),lT=()=>dh.removeItem(Ho),uT=()=>!!p9(),As={getToken:p9,setToken:fT,removeToken:lT,hasToken:uT},eg={forgotPasswordStep:"request",forgotPasswordFields:null,signupStep:"rules",signupFields:null,token:null,newEmail:null,isPending:!!As.getToken(),isAuthenticated:!1,isAskLoginOpen:!1},we=jo({name:"auth",initialState:eg,reducers:{setAskLoginOpen:(e,t)=>{e.isAskLoginOpen=t.payload},login:(e,t)=>{e.isAuthenticated=!0,e.token=t.payload||null,e.isPending=!1},logout:()=>({...eg,isPending:!1}),setNewEmail:(e,t)=>{e.newEmail=t.payload},setForgotPasswordStep:(e,t)=>{e.forgotPasswordStep=t.payload},updateForgotPasswordFields:(e,t)=>{e.forgotPasswordFields={...e.forgotPasswordFields,...t.payload}},resetForgotPasswordFields:e=>{e.forgotPasswordFields=null},setSignupStep:(e,t)=>{e.signupStep=t.payload},updateSignupFields:(e,t)=>{e.signupFields={...e.signupFields,...t.payload}},resetSignupFields:e=>{e.signupFields=null},setPending:(e,t)=>{e.isPending=t.payload}},selectors:{selectAskLoginOpen:e=>e.isAskLoginOpen,selectToken:e=>e.token,selectNewEmail:e=>e.newEmail,selectForgotPasswordStep:e=>e.forgotPasswordStep,selectForgotPasswordFields:e=>e.forgotPasswordFields,selectSignupStep:e=>e.signupStep,selectSignupFields:e=>e.signupFields,selectPending:e=>e.isPending,selectIsAuthenticated:e=>e.isAuthenticated}}),dT=e=>{if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)},pT=e=>dT(e)&&"type"in e&&"string"==typeof e.type,je=e=>{const t=t=>({type:e,payload:t});return t.toString=()=>`${e}`,t.type=e,t.match=t=>pT(t)&&t.type===e,t};je("remoteReady");const hT=je("askLogin");je("reselectUser"),je("requestLogout"),je("setConfirmLeavePage"),je("requestChangePath"),je("wsSubscribe"),je("wsUnSubscribe"),je("hostStoreConnect");const yT=je("remoteLogin"),h9=je("remoteLogout");je("wsOnMessage"),je("setRouterPath"),je("setDeviceType");const vT=je("setUserError"),mT=je("setUserIsError"),gT=je("setUserPending"),bT=je("setUserSuccess"),zT=je("setUserData"),y9=je("updateAccountData"),wT=je("updateUser");je("addNotification"),je("markNotification"),je("setNotificationsError"),je("setNotificationsList"),je("setNotificationsPending"),je("setNotificationsTotalCount"),je("setNotificationsUnreadCount"),je("resetNotificationsState"),je("undoNotification"),je("setInstanceInfo"),je("setInstanceInfoPending"),je("setInstanceInfoError");const PT=je("setPlatformSettings");je("setProfileSettings"),je("setGroupData"),je("setGroupLoading"),f9("requestMicroFrontendFetch"),f9("sendMicroFrontendFetchResponse");const v9=e=>{var t;return 401===(null==e?void 0:e.status)&&"UserBadCreds"===(null==(t=null==e?void 0:e.data)?void 0:t.errorCode)},Tf=async({dispatch:e,queryFulfilled:t,onSuccess:r,showInvalidCredsToast:a=!0,showErrorToast:n=!0})=>{try{e(we.actions.setPending(!0));const{data:a}=await t,n="sessionKey"in a?a.sessionKey:a.token.sessionKey;return As.setToken(n),null==r||r(),t}catch(t){const r=t.error,s=v9(r);if(e(we.actions.setPending(!1)),s&&!a)return;n&&fo.error(Wa(t))}},kT=ms.enhanceEndpoints({endpoints:{getApiV1Rules:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecover:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecoverCheckCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordRecoverChange:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordChangeConfirm:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsPasswordChangeResendCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsPasswordChangeRequest:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsEmailChangeResendCode:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},putApiV1AccountsResendEmailByHash:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsEmailChangeRequest:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsEmailChangeConfirm:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsConfirmEmail:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsCheckCaptcha:{async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}},postApiV1AccountsFinishCreating:{async onQueryStarted(e,{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r,showErrorToast:!1,onSuccess:()=>{fo.success("User registered successfully")}})}},postApiV1AccountsAuthenticateEmail:{invalidatesTags:["Secure"],async onQueryStarted(e,{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r,showInvalidCredsToast:!1})}},postApiV1AccountsSignup:{invalidatesTags:["Secure"]},postApiV1AccountsUserReselectUser:{async onQueryStarted({userId:e},{dispatch:t,queryFulfilled:r}){await Tf({dispatch:t,queryFulfilled:r}),e&&(t(y9({selectedUserId:e})),t(ms.util.invalidateTags(["UserSettings"])))}},getApiV1RbacActorsByActorIdPermissions:{providesTags:["RBAC"],async onQueryStarted(e,{queryFulfilled:t}){await Gt(t)}}}}),{useGetApiV1RulesQuery:xT,usePostApiV1AccountsPasswordRecoverMutation:m9,usePostApiV1AccountsPasswordRecoverCheckCodeMutation:ph,usePostApiV1AccountsPasswordRecoverChangeMutation:jT,usePostApiV1AccountsPasswordChangeConfirmMutation:g9,usePostApiV1AccountsPasswordChangeRequestMutation:OT,usePutApiV1AccountsPasswordChangeResendCodeMutation:TT,usePostApiV1AccountsAuthenticateEmailMutation:b9,usePostApiV1AccountsEmailChangeRequestMutation:HT,usePostApiV1AccountsEmailChangeConfirmMutation:z9,usePostApiV1AccountsSignupMutation:hh,usePutApiV1AccountsResendEmailByHashMutation:bue,usePutApiV1AccountsEmailChangeResendCodeMutation:NT,usePostApiV1AccountsConfirmEmailMutation:zue,usePostApiV1AccountsFinishCreatingMutation:w9,usePostApiV1AccountsUserReselectUserMutation:wue,usePostApiV1AccountsCheckCaptchaMutation:DT,useGetApiV1RbacActorsByActorIdPermissionsQuery:MT}=kT;var ua=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tg,rg,Hf={exports:{}},as={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wellesley/auth",
3
- "version": "1.0.687",
3
+ "version": "1.0.689",
4
4
  "license": "UNLICENSED",
5
5
  "main": "index.mjs",
6
6
  "files": [