@better-auth/stripe 1.4.6-beta.3 → 1.4.6

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.4.6-beta.3 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.4.6 build /home/runner/work/better-auth/better-auth/packages/stripe
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.17.0 powered by rolldown v1.0.0-beta.53
@@ -11,6 +11,6 @@
11
11
  ℹ dist/client.mjs  0.26 kB │ gzip: 0.20 kB
12
12
  ℹ dist/client.d.mts  0.62 kB │ gzip: 0.35 kB
13
13
  ℹ dist/index.d.mts  0.21 kB │ gzip: 0.14 kB
14
- ℹ dist/index-Bz0Hb51G.d.mts 25.10 kB │ gzip: 4.83 kB
15
- ℹ 5 files, total: 66.52 kB
16
- ✔ Build complete in 11448ms
14
+ ℹ dist/index-B_7z2Xag.d.mts 25.09 kB │ gzip: 4.83 kB
15
+ ℹ 5 files, total: 66.51 kB
16
+ ✔ Build complete in 11661ms
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as stripe } from "./index-Bz0Hb51G.mjs";
1
+ import { n as stripe } from "./index-B_7z2Xag.mjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const stripeClient: <O extends {
@@ -728,7 +728,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
728
728
  emailVerified: boolean;
729
729
  name: string;
730
730
  image?: string | null | undefined;
731
- } & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | undefined): Promise<void>;
731
+ } & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | null): Promise<void>;
732
732
  };
733
733
  update: {
734
734
  after(user: {
@@ -739,7 +739,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
739
739
  emailVerified: boolean;
740
740
  name: string;
741
741
  image?: string | null | undefined;
742
- } & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | undefined): Promise<void>;
742
+ } & Record<string, unknown>, ctx: better_auth0.GenericEndpointContext | null): Promise<void>;
743
743
  };
744
744
  };
745
745
  };
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as SubscriptionOptions, i as Subscription, n as stripe, r as StripePlan, t as StripePlugin } from "./index-Bz0Hb51G.mjs";
1
+ import { a as SubscriptionOptions, i as Subscription, n as stripe, r as StripePlan, t as StripePlugin } from "./index-B_7z2Xag.mjs";
2
2
  export { StripePlan, StripePlugin, Subscription, SubscriptionOptions, stripe };
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@better-auth/stripe",
3
3
  "author": "Bereket Engida",
4
- "version": "1.4.6-beta.3",
4
+ "version": "1.4.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
+ "types": "dist/index.d.mts",
7
8
  "license": "MIT",
8
9
  "homepage": "https://www.better-auth.com/docs/plugins/stripe",
9
10
  "repository": {
10
11
  "type": "git",
11
- "url": "https://github.com/better-auth/better-auth",
12
+ "url": "git+https://github.com/better-auth/better-auth.git",
12
13
  "directory": "packages/stripe"
13
14
  },
14
15
  "keywords": [
@@ -49,18 +50,19 @@
49
50
  },
50
51
  "peerDependencies": {
51
52
  "stripe": "^18 || ^19 || ^20",
52
- "@better-auth/core": "1.4.6-beta.3",
53
- "better-auth": "1.4.6-beta.3"
53
+ "@better-auth/core": "1.4.6",
54
+ "better-auth": "1.4.6"
54
55
  },
55
56
  "devDependencies": {
56
- "better-call": "1.1.4",
57
+ "better-call": "1.1.5",
57
58
  "stripe": "^20.0.0",
58
59
  "tsdown": "^0.17.0",
59
- "@better-auth/core": "1.4.6-beta.3",
60
- "better-auth": "1.4.6-beta.3"
60
+ "@better-auth/core": "1.4.6",
61
+ "better-auth": "1.4.6"
61
62
  },
62
63
  "scripts": {
63
64
  "test": "vitest",
65
+ "coverage": "vitest run --coverage",
64
66
  "lint:package": "publint run --strict",
65
67
  "build": "tsdown",
66
68
  "dev": "tsdown --watch",