@better-auth/stripe 1.4.8-beta.1 → 1.4.8-beta.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @better-auth/stripe@1.4.8-beta.1 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.4.8-beta.2 build /home/runner/work/better-auth/better-auth/packages/stripe
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.17.2 powered by rolldown v1.0.0-beta.53
@@ -7,10 +7,10 @@
7
7
  ℹ entry: src/index.ts, src/client.ts
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
- ℹ dist/index.mjs 40.71 kB │ gzip: 7.59 kB
10
+ ℹ dist/index.mjs 40.72 kB │ gzip: 7.59 kB
11
11
  ℹ dist/client.mjs  0.26 kB │ gzip: 0.20 kB
12
- ℹ dist/client.d.mts  0.62 kB │ gzip: 0.34 kB
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-Dbyi2yVo.d.mts 24.87 kB │ gzip: 4.82 kB
15
- ℹ 5 files, total: 66.68 kB
16
- ✔ Build complete in 12245ms
14
+ ℹ dist/index-DQa3pHPd.d.mts 24.89 kB │ gzip: 4.83 kB
15
+ ℹ 5 files, total: 66.71 kB
16
+ ✔ Build complete in 11373ms
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as stripe } from "./index-Dbyi2yVo.mjs";
1
+ import { n as stripe } from "./index-DQa3pHPd.mjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  declare const stripeClient: <O extends {
@@ -730,6 +730,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
730
730
  };
731
731
  };
732
732
  schema: {};
733
+ options: NoInfer<O>;
733
734
  $ERROR_CODES: {
734
735
  readonly SUBSCRIPTION_NOT_FOUND: "Subscription not found";
735
736
  readonly SUBSCRIPTION_PLAN_NOT_FOUND: "Subscription plan not found";
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-Dbyi2yVo.mjs";
1
+ import { a as SubscriptionOptions, i as Subscription, n as stripe, r as StripePlan, t as StripePlugin } from "./index-DQa3pHPd.mjs";
2
2
  export { StripePlan, StripePlugin, Subscription, SubscriptionOptions, stripe };
package/dist/index.mjs CHANGED
@@ -1045,6 +1045,7 @@ const stripe = (options) => {
1045
1045
  } } } };
1046
1046
  },
1047
1047
  schema: getSchema(options),
1048
+ options,
1048
1049
  $ERROR_CODES: STRIPE_ERROR_CODES
1049
1050
  };
1050
1051
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/stripe",
3
3
  "author": "Bereket Engida",
4
- "version": "1.4.8-beta.1",
4
+ "version": "1.4.8-beta.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
7
  "types": "dist/index.d.mts",
@@ -50,15 +50,15 @@
50
50
  },
51
51
  "peerDependencies": {
52
52
  "stripe": "^18 || ^19 || ^20",
53
- "better-auth": "1.4.8-beta.1",
54
- "@better-auth/core": "1.4.8-beta.1"
53
+ "@better-auth/core": "1.4.8-beta.2",
54
+ "better-auth": "1.4.8-beta.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "better-call": "1.1.5",
58
58
  "stripe": "^20.0.0",
59
59
  "tsdown": "^0.17.2",
60
- "@better-auth/core": "1.4.8-beta.1",
61
- "better-auth": "1.4.8-beta.1"
60
+ "@better-auth/core": "1.4.8-beta.2",
61
+ "better-auth": "1.4.8-beta.2"
62
62
  },
63
63
  "scripts": {
64
64
  "test": "vitest",
package/src/index.ts CHANGED
@@ -205,6 +205,7 @@ export const stripe = <O extends StripeOptions>(options: O) => {
205
205
  };
206
206
  },
207
207
  schema: getSchema(options),
208
+ options: options as NoInfer<O>,
208
209
  $ERROR_CODES: STRIPE_ERROR_CODES,
209
210
  } satisfies BetterAuthPlugin;
210
211
  };