@better-auth/stripe 1.2.9-beta.8 → 1.2.9-beta.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @better-auth/stripe@1.2.9-beta.8 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.2.9-beta.9 build /home/runner/work/better-auth/better-auth/packages/stripe
3
3
  > unbuild
4
4
 
5
5
  [info] Automatically detected entries: src/index, src/client [esm] [cjs] [dts]
package/dist/index.d.cts CHANGED
@@ -656,9 +656,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
656
656
  session: {
657
657
  session: Record<string, any> & {
658
658
  id: string;
659
+ token: string;
659
660
  createdAt: Date;
660
661
  updatedAt: Date;
661
- token: string;
662
662
  expiresAt: Date;
663
663
  userId: string;
664
664
  ipAddress?: string | null | undefined;
@@ -666,9 +666,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
666
666
  };
667
667
  user: Record<string, any> & {
668
668
  id: string;
669
- email: string;
670
- emailVerified: boolean;
671
669
  name: string;
670
+ emailVerified: boolean;
671
+ email: string;
672
672
  createdAt: Date;
673
673
  updatedAt: Date;
674
674
  image?: string | null | undefined;
@@ -768,9 +768,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
768
768
  session: {
769
769
  session: Record<string, any> & {
770
770
  id: string;
771
+ token: string;
771
772
  createdAt: Date;
772
773
  updatedAt: Date;
773
- token: string;
774
774
  expiresAt: Date;
775
775
  userId: string;
776
776
  ipAddress?: string | null | undefined;
@@ -778,9 +778,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
778
778
  };
779
779
  user: Record<string, any> & {
780
780
  id: string;
781
- email: string;
782
- emailVerified: boolean;
783
781
  name: string;
782
+ emailVerified: boolean;
783
+ email: string;
784
784
  createdAt: Date;
785
785
  updatedAt: Date;
786
786
  image?: string | null | undefined;
@@ -836,9 +836,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
836
836
  session: {
837
837
  session: Record<string, any> & {
838
838
  id: string;
839
+ token: string;
839
840
  createdAt: Date;
840
841
  updatedAt: Date;
841
- token: string;
842
842
  expiresAt: Date;
843
843
  userId: string;
844
844
  ipAddress?: string | null | undefined;
@@ -846,9 +846,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
846
846
  };
847
847
  user: Record<string, any> & {
848
848
  id: string;
849
- email: string;
850
- emailVerified: boolean;
851
849
  name: string;
850
+ emailVerified: boolean;
851
+ email: string;
852
852
  createdAt: Date;
853
853
  updatedAt: Date;
854
854
  image?: string | null | undefined;
@@ -932,9 +932,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
932
932
  session: {
933
933
  session: Record<string, any> & {
934
934
  id: string;
935
+ token: string;
935
936
  createdAt: Date;
936
937
  updatedAt: Date;
937
- token: string;
938
938
  expiresAt: Date;
939
939
  userId: string;
940
940
  ipAddress?: string | null | undefined;
@@ -942,9 +942,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
942
942
  };
943
943
  user: Record<string, any> & {
944
944
  id: string;
945
- email: string;
946
- emailVerified: boolean;
947
945
  name: string;
946
+ emailVerified: boolean;
947
+ email: string;
948
948
  createdAt: Date;
949
949
  updatedAt: Date;
950
950
  image?: string | null | undefined;
@@ -998,9 +998,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
998
998
  create: {
999
999
  after(user: {
1000
1000
  id: string;
1001
- email: string;
1002
- emailVerified: boolean;
1003
1001
  name: string;
1002
+ emailVerified: boolean;
1003
+ email: string;
1004
1004
  createdAt: Date;
1005
1005
  updatedAt: Date;
1006
1006
  image?: string | null | undefined;
package/dist/index.d.mts CHANGED
@@ -656,9 +656,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
656
656
  session: {
657
657
  session: Record<string, any> & {
658
658
  id: string;
659
+ token: string;
659
660
  createdAt: Date;
660
661
  updatedAt: Date;
661
- token: string;
662
662
  expiresAt: Date;
663
663
  userId: string;
664
664
  ipAddress?: string | null | undefined;
@@ -666,9 +666,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
666
666
  };
667
667
  user: Record<string, any> & {
668
668
  id: string;
669
- email: string;
670
- emailVerified: boolean;
671
669
  name: string;
670
+ emailVerified: boolean;
671
+ email: string;
672
672
  createdAt: Date;
673
673
  updatedAt: Date;
674
674
  image?: string | null | undefined;
@@ -768,9 +768,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
768
768
  session: {
769
769
  session: Record<string, any> & {
770
770
  id: string;
771
+ token: string;
771
772
  createdAt: Date;
772
773
  updatedAt: Date;
773
- token: string;
774
774
  expiresAt: Date;
775
775
  userId: string;
776
776
  ipAddress?: string | null | undefined;
@@ -778,9 +778,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
778
778
  };
779
779
  user: Record<string, any> & {
780
780
  id: string;
781
- email: string;
782
- emailVerified: boolean;
783
781
  name: string;
782
+ emailVerified: boolean;
783
+ email: string;
784
784
  createdAt: Date;
785
785
  updatedAt: Date;
786
786
  image?: string | null | undefined;
@@ -836,9 +836,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
836
836
  session: {
837
837
  session: Record<string, any> & {
838
838
  id: string;
839
+ token: string;
839
840
  createdAt: Date;
840
841
  updatedAt: Date;
841
- token: string;
842
842
  expiresAt: Date;
843
843
  userId: string;
844
844
  ipAddress?: string | null | undefined;
@@ -846,9 +846,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
846
846
  };
847
847
  user: Record<string, any> & {
848
848
  id: string;
849
- email: string;
850
- emailVerified: boolean;
851
849
  name: string;
850
+ emailVerified: boolean;
851
+ email: string;
852
852
  createdAt: Date;
853
853
  updatedAt: Date;
854
854
  image?: string | null | undefined;
@@ -932,9 +932,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
932
932
  session: {
933
933
  session: Record<string, any> & {
934
934
  id: string;
935
+ token: string;
935
936
  createdAt: Date;
936
937
  updatedAt: Date;
937
- token: string;
938
938
  expiresAt: Date;
939
939
  userId: string;
940
940
  ipAddress?: string | null | undefined;
@@ -942,9 +942,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
942
942
  };
943
943
  user: Record<string, any> & {
944
944
  id: string;
945
- email: string;
946
- emailVerified: boolean;
947
945
  name: string;
946
+ emailVerified: boolean;
947
+ email: string;
948
948
  createdAt: Date;
949
949
  updatedAt: Date;
950
950
  image?: string | null | undefined;
@@ -998,9 +998,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
998
998
  create: {
999
999
  after(user: {
1000
1000
  id: string;
1001
- email: string;
1002
- emailVerified: boolean;
1003
1001
  name: string;
1002
+ emailVerified: boolean;
1003
+ email: string;
1004
1004
  createdAt: Date;
1005
1005
  updatedAt: Date;
1006
1006
  image?: string | null | undefined;
package/dist/index.d.ts CHANGED
@@ -656,9 +656,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
656
656
  session: {
657
657
  session: Record<string, any> & {
658
658
  id: string;
659
+ token: string;
659
660
  createdAt: Date;
660
661
  updatedAt: Date;
661
- token: string;
662
662
  expiresAt: Date;
663
663
  userId: string;
664
664
  ipAddress?: string | null | undefined;
@@ -666,9 +666,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
666
666
  };
667
667
  user: Record<string, any> & {
668
668
  id: string;
669
- email: string;
670
- emailVerified: boolean;
671
669
  name: string;
670
+ emailVerified: boolean;
671
+ email: string;
672
672
  createdAt: Date;
673
673
  updatedAt: Date;
674
674
  image?: string | null | undefined;
@@ -768,9 +768,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
768
768
  session: {
769
769
  session: Record<string, any> & {
770
770
  id: string;
771
+ token: string;
771
772
  createdAt: Date;
772
773
  updatedAt: Date;
773
- token: string;
774
774
  expiresAt: Date;
775
775
  userId: string;
776
776
  ipAddress?: string | null | undefined;
@@ -778,9 +778,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
778
778
  };
779
779
  user: Record<string, any> & {
780
780
  id: string;
781
- email: string;
782
- emailVerified: boolean;
783
781
  name: string;
782
+ emailVerified: boolean;
783
+ email: string;
784
784
  createdAt: Date;
785
785
  updatedAt: Date;
786
786
  image?: string | null | undefined;
@@ -836,9 +836,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
836
836
  session: {
837
837
  session: Record<string, any> & {
838
838
  id: string;
839
+ token: string;
839
840
  createdAt: Date;
840
841
  updatedAt: Date;
841
- token: string;
842
842
  expiresAt: Date;
843
843
  userId: string;
844
844
  ipAddress?: string | null | undefined;
@@ -846,9 +846,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
846
846
  };
847
847
  user: Record<string, any> & {
848
848
  id: string;
849
- email: string;
850
- emailVerified: boolean;
851
849
  name: string;
850
+ emailVerified: boolean;
851
+ email: string;
852
852
  createdAt: Date;
853
853
  updatedAt: Date;
854
854
  image?: string | null | undefined;
@@ -932,9 +932,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
932
932
  session: {
933
933
  session: Record<string, any> & {
934
934
  id: string;
935
+ token: string;
935
936
  createdAt: Date;
936
937
  updatedAt: Date;
937
- token: string;
938
938
  expiresAt: Date;
939
939
  userId: string;
940
940
  ipAddress?: string | null | undefined;
@@ -942,9 +942,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
942
942
  };
943
943
  user: Record<string, any> & {
944
944
  id: string;
945
- email: string;
946
- emailVerified: boolean;
947
945
  name: string;
946
+ emailVerified: boolean;
947
+ email: string;
948
948
  createdAt: Date;
949
949
  updatedAt: Date;
950
950
  image?: string | null | undefined;
@@ -998,9 +998,9 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
998
998
  create: {
999
999
  after(user: {
1000
1000
  id: string;
1001
- email: string;
1002
- emailVerified: boolean;
1003
1001
  name: string;
1002
+ emailVerified: boolean;
1003
+ email: string;
1004
1004
  createdAt: Date;
1005
1005
  updatedAt: Date;
1006
1006
  image?: string | null | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/stripe",
3
3
  "author": "Bereket Engida",
4
- "version": "1.2.9-beta.8",
4
+ "version": "1.2.9-beta.9",
5
5
  "main": "dist/index.cjs",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "zod": "^3.24.1",
38
- "better-auth": "^1.2.9-beta.8"
38
+ "better-auth": "^1.2.9-beta.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/better-sqlite3": "^7.6.12",