@better-auth/stripe 1.3.6 → 1.3.7-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,11 +1,11 @@
1
1
 
2
- > @better-auth/stripe@1.3.6 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.3.7-beta.2 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]
6
6
  [info] Building stripe
7
7
  [success] Build succeeded for stripe
8
- [log] dist/index.cjs (total size: 43.3 kB, chunk size: 43.3 kB, exports: stripe)
8
+ [log] dist/index.cjs (total size: 43.4 kB, chunk size: 43.4 kB, exports: stripe)
9
9
 
10
10
  [log] dist/client.cjs (total size: 224 B, chunk size: 224 B, exports: stripeClient)
11
11
 
@@ -13,5 +13,5 @@
13
13
 
14
14
  [log] dist/client.mjs (total size: 197 B, chunk size: 197 B, exports: stripeClient)
15
15
 
16
- Σ Total dist size (byte size): 216 kB
16
+ Σ Total dist size (byte size): 217 kB
17
17
  [log]
package/dist/index.cjs CHANGED
@@ -1194,7 +1194,9 @@ const stripe = (options) => {
1194
1194
  metadata: {
1195
1195
  isAction: false
1196
1196
  },
1197
- cloneRequest: true
1197
+ cloneRequest: true,
1198
+ //don't parse the body
1199
+ disableBody: true
1198
1200
  },
1199
1201
  async (ctx) => {
1200
1202
  if (!ctx.request?.body) {
package/dist/index.d.cts CHANGED
@@ -382,6 +382,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
382
382
  isAction: boolean;
383
383
  };
384
384
  cloneRequest: true;
385
+ disableBody: true;
385
386
  } & {
386
387
  use: any[];
387
388
  };
package/dist/index.d.mts CHANGED
@@ -382,6 +382,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
382
382
  isAction: boolean;
383
383
  };
384
384
  cloneRequest: true;
385
+ disableBody: true;
385
386
  } & {
386
387
  use: any[];
387
388
  };
package/dist/index.d.ts CHANGED
@@ -382,6 +382,7 @@ declare const stripe: <O extends StripeOptions>(options: O) => {
382
382
  isAction: boolean;
383
383
  };
384
384
  cloneRequest: true;
385
+ disableBody: true;
385
386
  } & {
386
387
  use: any[];
387
388
  };
package/dist/index.mjs CHANGED
@@ -1178,7 +1178,9 @@ const stripe = (options) => {
1178
1178
  metadata: {
1179
1179
  isAction: false
1180
1180
  },
1181
- cloneRequest: true
1181
+ cloneRequest: true,
1182
+ //don't parse the body
1183
+ disableBody: true
1182
1184
  },
1183
1185
  async (ctx) => {
1184
1186
  if (!ctx.request?.body) {
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.6",
4
+ "version": "1.3.7-beta.2",
5
5
  "main": "dist/index.cjs",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -37,7 +37,7 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "better-auth": "^1.3.6"
40
+ "better-auth": "^1.3.7-beta.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "zod": "^3.25.0 || ^4.0.0"
package/src/index.ts CHANGED
@@ -1113,6 +1113,8 @@ export const stripe = <O extends StripeOptions>(options: O) => {
1113
1113
  isAction: false,
1114
1114
  },
1115
1115
  cloneRequest: true,
1116
+ //don't parse the body
1117
+ disableBody: true,
1116
1118
  },
1117
1119
  async (ctx) => {
1118
1120
  if (!ctx.request?.body) {