@absolutejs/auth 0.2.0 → 0.2.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.
@@ -139,3 +139,4 @@ export declare const absoluteAuth: <UserType>({ config, authorizeRoute, callback
139
139
  resolve: {};
140
140
  schema: {};
141
141
  }>;
142
+ export * from './utils';
@@ -28,7 +28,7 @@ export type OnCallback<UserType> = ({ authProvider, decodedIdToken, session, use
28
28
  };
29
29
  session: SessionRecord<UserType>;
30
30
  user_session_id: Cookie<string | undefined>;
31
- }) => void;
31
+ }) => void | Promise<void>;
32
32
  export type AbsoluteAuthProps<UserType> = {
33
33
  config: Oauth2ConfigOptions;
34
34
  authorizeRoute?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.2.2",
3
3
  "name": "@absolutejs/auth",
4
4
  "description": "An authorization library for absolutejs",
5
5
  "repository": {