@clicktap/state 0.11.3 → 0.11.4

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/auth/auth.d.ts +0 -4
  2. package/package.json +1 -1
package/auth/auth.d.ts CHANGED
@@ -37,10 +37,6 @@ export interface RefreshTokenSuccessEvent {
37
37
  accessToken: AuthMachineContext['accessToken'];
38
38
  }
39
39
  export type AuthMachineEvents = RefreshTokenEvent | LoginEvent | LogoutEvent | ClearErrorsEvent | DoneActorEvent<AuthenticateSuccessEvent> | DoneActorEvent<RefreshTokenSuccessEvent>;
40
- /**
41
- * still need a factory pattern to pass context and state
42
- * until xstate supports both
43
- */
44
40
  export declare const authMachine: import("xstate").StateMachine<AuthMachineContext, RefreshTokenEvent | LoginEvent | LogoutEvent | ClearErrorsEvent | DoneActorEvent<AuthenticateSuccessEvent> | DoneActorEvent<RefreshTokenSuccessEvent>, {
45
41
  [x: string]: import("xstate").ActorRef<import("xstate").PromiseSnapshot<{
46
42
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clicktap/state",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "private": false,
5
5
  "author": "Clicktap",
6
6
  "description": "A state management library for Clicktap reference frontend.",