@better-auth/stripe 1.3.10-beta.4 → 1.3.10-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,5 +1,5 @@
1
1
 
2
- > @better-auth/stripe@1.3.10-beta.4 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.3.10-beta.5 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]
@@ -7,11 +7,11 @@
7
7
  [success] Build succeeded for stripe
8
8
  [log] dist/index.cjs (total size: 45.4 kB, chunk size: 45.4 kB, exports: stripe)
9
9
 
10
- [log] dist/client.cjs (total size: 224 B, chunk size: 224 B, exports: stripeClient)
10
+ [log] dist/client.cjs (total size: 270 B, chunk size: 270 B, exports: stripeClient)
11
11
 
12
12
  [log] dist/index.mjs (total size: 44.5 kB, chunk size: 44.5 kB, exports: stripe)
13
13
 
14
- [log] dist/client.mjs (total size: 197 B, chunk size: 197 B, exports: stripeClient)
14
+ [log] dist/client.mjs (total size: 243 B, chunk size: 243 B, exports: stripeClient)
15
15
 
16
16
  Σ Total dist size (byte size): 227 kB
17
17
  [log]
package/dist/client.cjs CHANGED
@@ -5,7 +5,8 @@ const stripeClient = (options) => {
5
5
  id: "stripe-client",
6
6
  $InferServerPlugin: {},
7
7
  pathMethods: {
8
- "/subscription/restore": "POST"
8
+ "/subscription/restore": "POST",
9
+ "/subscription/billing-portal": "POST"
9
10
  }
10
11
  };
11
12
  };
package/dist/client.d.cts CHANGED
@@ -21,6 +21,7 @@ declare const stripeClient: <O extends {
21
21
  }>>;
22
22
  pathMethods: {
23
23
  "/subscription/restore": "POST";
24
+ "/subscription/billing-portal": "POST";
24
25
  };
25
26
  };
26
27
 
package/dist/client.d.mts CHANGED
@@ -21,6 +21,7 @@ declare const stripeClient: <O extends {
21
21
  }>>;
22
22
  pathMethods: {
23
23
  "/subscription/restore": "POST";
24
+ "/subscription/billing-portal": "POST";
24
25
  };
25
26
  };
26
27
 
package/dist/client.d.ts CHANGED
@@ -21,6 +21,7 @@ declare const stripeClient: <O extends {
21
21
  }>>;
22
22
  pathMethods: {
23
23
  "/subscription/restore": "POST";
24
+ "/subscription/billing-portal": "POST";
24
25
  };
25
26
  };
26
27
 
package/dist/client.mjs CHANGED
@@ -3,7 +3,8 @@ const stripeClient = (options) => {
3
3
  id: "stripe-client",
4
4
  $InferServerPlugin: {},
5
5
  pathMethods: {
6
- "/subscription/restore": "POST"
6
+ "/subscription/restore": "POST",
7
+ "/subscription/billing-portal": "POST"
7
8
  }
8
9
  };
9
10
  };
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.10-beta.4",
4
+ "version": "1.3.10-beta.5",
5
5
  "main": "dist/index.cjs",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -41,13 +41,13 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "stripe": "^18",
44
- "better-auth": "1.3.10-beta.4"
44
+ "better-auth": "1.3.10-beta.5"
45
45
  },
46
46
  "devDependencies": {
47
47
  "better-call": "1.0.18",
48
48
  "stripe": "^18.5.0",
49
49
  "unbuild": "3.6.1",
50
- "better-auth": "1.3.10-beta.4"
50
+ "better-auth": "1.3.10-beta.5"
51
51
  },
52
52
  "scripts": {
53
53
  "test": "vitest",
package/src/client.ts CHANGED
@@ -29,6 +29,7 @@ export const stripeClient = <
29
29
  >,
30
30
  pathMethods: {
31
31
  "/subscription/restore": "POST",
32
+ "/subscription/billing-portal": "POST",
32
33
  },
33
34
  } satisfies BetterAuthClientPlugin;
34
35
  };