@inventbuild/supamachine 0.3.1 → 0.3.2

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.
@@ -148,6 +148,9 @@ export function reducer(state, event) {
148
148
  };
149
149
  }
150
150
  break;
151
+ case AuthEventType.AUTH_INITIATED:
152
+ next = { status: AuthStateStatus.AUTHENTICATING, context: NO_CONTEXT };
153
+ break;
151
154
  default:
152
155
  return invalidTransition(state, event);
153
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventbuild/supamachine",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Deterministic auth state machine for Supabase apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",