@better-auth/stripe 1.5.0-beta.2 → 1.5.0-beta.3

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,16 +0,0 @@
1
- import { defineErrorCodes } from "@better-auth/core/utils";
2
-
3
- //#region src/error-codes.ts
4
- const STRIPE_ERROR_CODES = defineErrorCodes({
5
- SUBSCRIPTION_NOT_FOUND: "Subscription not found",
6
- SUBSCRIPTION_PLAN_NOT_FOUND: "Subscription plan not found",
7
- ALREADY_SUBSCRIBED_PLAN: "You're already subscribed to this plan",
8
- UNABLE_TO_CREATE_CUSTOMER: "Unable to create customer",
9
- FAILED_TO_FETCH_PLANS: "Failed to fetch plans",
10
- EMAIL_VERIFICATION_REQUIRED: "Email verification is required before you can subscribe to a plan",
11
- SUBSCRIPTION_NOT_ACTIVE: "Subscription is not active",
12
- SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION: "Subscription is not scheduled for cancellation"
13
- });
14
-
15
- //#endregion
16
- export { STRIPE_ERROR_CODES as t };