@better-auth/stripe 1.3.8-beta.3 → 1.3.8-beta.5

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,7 +1,10 @@
1
1
 
2
- > @better-auth/stripe@1.3.8-beta.3 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.3.8-beta.5 build /home/runner/work/better-auth/better-auth/packages/stripe
3
3
  > unbuild
4
4
 
5
+ Browserslist: caniuse-lite is outdated. Please run:
6
+ npx update-browserslist-db@latest
7
+ Why you should do it regularly: https://github.com/browserslist/update-db#readme
5
8
  [info] Automatically detected entries: src/index, src/client [esm] [cjs] [dts]
6
9
  [info] Building stripe
7
10
  [success] Build succeeded for stripe
@@ -13,5 +16,5 @@
13
16
 
14
17
  [log] dist/client.mjs (total size: 197 B, chunk size: 197 B, exports: stripeClient)
15
18
 
16
- Σ Total dist size (byte size): 221 kB
19
+ Σ Total dist size (byte size): 222 kB
17
20
  [log]
package/dist/index.d.cts CHANGED
@@ -478,6 +478,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
478
478
  metadata: Stripe.Metadata | null;
479
479
  mode: Stripe.Checkout.Session.Mode;
480
480
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
481
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
481
482
  payment_intent: string | Stripe.PaymentIntent | null;
482
483
  payment_link: string | Stripe.PaymentLink | null;
483
484
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
@@ -555,6 +556,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
555
556
  metadata: Stripe.Metadata | null;
556
557
  mode: Stripe.Checkout.Session.Mode;
557
558
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
559
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
558
560
  payment_intent: string | Stripe.PaymentIntent | null;
559
561
  payment_link: string | Stripe.PaymentLink | null;
560
562
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
package/dist/index.d.mts CHANGED
@@ -478,6 +478,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
478
478
  metadata: Stripe.Metadata | null;
479
479
  mode: Stripe.Checkout.Session.Mode;
480
480
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
481
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
481
482
  payment_intent: string | Stripe.PaymentIntent | null;
482
483
  payment_link: string | Stripe.PaymentLink | null;
483
484
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
@@ -555,6 +556,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
555
556
  metadata: Stripe.Metadata | null;
556
557
  mode: Stripe.Checkout.Session.Mode;
557
558
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
559
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
558
560
  payment_intent: string | Stripe.PaymentIntent | null;
559
561
  payment_link: string | Stripe.PaymentLink | null;
560
562
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
package/dist/index.d.ts CHANGED
@@ -478,6 +478,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
478
478
  metadata: Stripe.Metadata | null;
479
479
  mode: Stripe.Checkout.Session.Mode;
480
480
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
481
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
481
482
  payment_intent: string | Stripe.PaymentIntent | null;
482
483
  payment_link: string | Stripe.PaymentLink | null;
483
484
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
@@ -555,6 +556,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
555
556
  metadata: Stripe.Metadata | null;
556
557
  mode: Stripe.Checkout.Session.Mode;
557
558
  optional_items?: Array<Stripe.Checkout.Session.OptionalItem> | null;
559
+ origin_context: Stripe.Checkout.Session.OriginContext | null;
558
560
  payment_intent: string | Stripe.PaymentIntent | null;
559
561
  payment_link: string | Stripe.PaymentLink | null;
560
562
  payment_method_collection: Stripe.Checkout.Session.PaymentMethodCollection | null;
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.8-beta.3",
4
+ "version": "1.3.8-beta.5",
5
5
  "main": "dist/index.cjs",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -37,17 +37,17 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "better-auth": "^1.3.8-beta.3"
40
+ "zod": "^4.0.0",
41
+ "better-auth": "^1.3.8-beta.5"
41
42
  },
42
43
  "peerDependencies": {
43
- "zod": "^3.25.0 || ^4.0.0"
44
+ "stripe": "^18"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@types/better-sqlite3": "^7.6.12",
47
48
  "better-call": "1.0.15",
48
49
  "better-sqlite3": "^11.6.0",
49
- "stripe": "^18.0.0",
50
- "zod": "^4.0.0"
50
+ "stripe": "^18.0.0"
51
51
  },
52
52
  "scripts": {
53
53
  "test": "vitest",