@better-auth/stripe 1.3.27 → 1.3.28

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.3.27 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.3.28 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
@@ -1076,7 +1076,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1076
1076
  emailVerified: boolean;
1077
1077
  name: string;
1078
1078
  image?: string | null | undefined;
1079
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1079
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1080
1080
  };
1081
1081
  update: {
1082
1082
  after(user: {
@@ -1087,7 +1087,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1087
1087
  emailVerified: boolean;
1088
1088
  name: string;
1089
1089
  image?: string | null | undefined;
1090
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1090
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1091
1091
  };
1092
1092
  };
1093
1093
  };
package/dist/index.d.mts CHANGED
@@ -1076,7 +1076,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1076
1076
  emailVerified: boolean;
1077
1077
  name: string;
1078
1078
  image?: string | null | undefined;
1079
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1079
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1080
1080
  };
1081
1081
  update: {
1082
1082
  after(user: {
@@ -1087,7 +1087,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1087
1087
  emailVerified: boolean;
1088
1088
  name: string;
1089
1089
  image?: string | null | undefined;
1090
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1090
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1091
1091
  };
1092
1092
  };
1093
1093
  };
package/dist/index.d.ts CHANGED
@@ -1076,7 +1076,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1076
1076
  emailVerified: boolean;
1077
1077
  name: string;
1078
1078
  image?: string | null | undefined;
1079
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1079
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1080
1080
  };
1081
1081
  update: {
1082
1082
  after(user: {
@@ -1087,7 +1087,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
1087
1087
  emailVerified: boolean;
1088
1088
  name: string;
1089
1089
  image?: string | null | undefined;
1090
- } & Record<string, unknown>, ctx: GenericEndpointContext | undefined): Promise<void>;
1090
+ } & Record<string, unknown>, ctx: GenericEndpointContext<better_auth.BetterAuthOptions> | undefined): Promise<void>;
1091
1091
  };
1092
1092
  };
1093
1093
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/stripe",
3
3
  "author": "Bereket Engida",
4
- "version": "1.3.27",
4
+ "version": "1.3.28",
5
5
  "main": "dist/index.cjs",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -42,15 +42,15 @@
42
42
  },
43
43
  "peerDependencies": {
44
44
  "stripe": "^18",
45
- "@better-auth/core": "1.3.27",
46
- "better-auth": "1.3.27"
45
+ "@better-auth/core": "1.3.28",
46
+ "better-auth": "1.3.28"
47
47
  },
48
48
  "devDependencies": {
49
49
  "better-call": "1.0.19",
50
50
  "stripe": "^18.5.0",
51
51
  "unbuild": "3.6.1",
52
- "@better-auth/core": "1.3.27",
53
- "better-auth": "1.3.27"
52
+ "@better-auth/core": "1.3.28",
53
+ "better-auth": "1.3.28"
54
54
  },
55
55
  "scripts": {
56
56
  "test": "vitest",