@clicktap/state 0.12.7 → 0.12.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.
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { Actor, InspectionEvent, Observer } from 'xstate';
3
3
  import { authMachine } from './auth';
4
4
  export interface AuthContextType {
5
- authActor?: Actor<typeof authMachine>;
5
+ authActor: Actor<typeof authMachine>;
6
6
  isLoggedIn: boolean;
7
7
  }
8
8
  export declare const AuthContext: import("react").Context<Actor<import("xstate").StateMachine<import("./auth").AuthMachineContext, import("./auth").RefreshTokenEvent | import("./auth").LoginEvent | import("./auth").LogoutEvent | import("./auth").ClearErrorsEvent | import("xstate").DoneActorEvent<import("./auth").AuthenticateSuccessEvent> | import("xstate").DoneActorEvent<import("./auth").RefreshTokenSuccessEvent>, {
@@ -157,7 +157,7 @@ export declare const AuthContext: import("react").Context<Actor<import("xstate")
157
157
  type: "clearErrors";
158
158
  params: import("xstate").NonReducibleUnknown;
159
159
  };
160
- }>, never, never, string, import("xstate").EventObject>>> | undefined>;
160
+ }>, never, never, string, import("xstate").EventObject>>>>;
161
161
  export declare const useAuth: () => AuthContextType;
162
162
  type AuthOptions = {
163
163
  inspect: Observer<InspectionEvent> | undefined;