@payez/next-mvp 4.0.3 → 4.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payez/next-mvp",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,13 @@
1
- export type Session = import('next-auth').Session;
2
- export type JWT = import('next-auth/jwt').JWT;
1
+ export interface Session {
2
+ user?: { name?: string | null; email?: string | null; image?: string | null; id?: string };
3
+ expires: string;
4
+ }
5
+ export interface JWT {
6
+ [key: string]: unknown;
7
+ name?: string | null;
8
+ email?: string | null;
9
+ sub?: string;
10
+ }
3
11
  export type TwoFactorMethod = 'none' | 'sms' | 'authenticator' | 'passkey';
4
12
 
5
13
  export interface User {