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

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.7-beta.3 build /home/runner/work/better-auth/better-auth/packages/stripe
2
+ > @better-auth/stripe@1.4.7 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
@@ -13,4 +13,4 @@
13
13
  ℹ dist/index.d.mts  0.21 kB │ gzip: 0.14 kB
14
14
  ℹ dist/index-Dbyi2yVo.d.mts 24.87 kB │ gzip: 4.82 kB
15
15
  ℹ 5 files, total: 66.68 kB
16
- ✔ Build complete in 11697ms
16
+ ✔ Build complete in 12391ms
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.7-beta.3",
4
+ "version": "1.4.7",
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/core": "1.4.7-beta.3",
54
- "better-auth": "1.4.7-beta.3"
53
+ "@better-auth/core": "1.4.7",
54
+ "better-auth": "1.4.7"
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.7-beta.3",
61
- "better-auth": "1.4.7-beta.3"
60
+ "@better-auth/core": "1.4.7",
61
+ "better-auth": "1.4.7"
62
62
  },
63
63
  "scripts": {
64
64
  "test": "vitest",
package/src/routes.ts CHANGED
@@ -889,8 +889,6 @@ export const restoreSubscription = (options: StripeOptions) => {
889
889
  (sub) => sub.status === "active" || sub.status === "trialing",
890
890
  ),
891
891
  );
892
-
893
- // Ensure the specified subscription belongs to the (validated) referenceId.
894
892
  if (
895
893
  ctx.body.subscriptionId &&
896
894
  subscription &&