diff --git a/packages/better-auth/src/adapters/kysely-adapter/test/state.txt b/packages/better-auth/src/adapters/kysely-adapter/test/state.txt index 0e5ea08e54..027047b43c 100644 --- a/packages/better-auth/src/adapters/kysely-adapter/test/state.txt +++ b/packages/better-auth/src/adapters/kysely-adapter/test/state.txt @@ -1 +1 @@ -RUNNING \ No newline at end of file +IDLE \ No newline at end of file diff --git a/packages/stripe/src/index.ts b/packages/stripe/src/index.ts index ad7f1bc039..032da446e7 100644 --- a/packages/stripe/src/index.ts +++ b/packages/stripe/src/index.ts @@ -207,7 +207,7 @@ export const stripe = (options: O) => { * Return URL */ returnUrl: z - .string({ + .string().meta({ description: 'Return URL to redirect back after successful subscription. Eg: "https://example.com/success"', }) @@ -216,7 +216,7 @@ export const stripe = (options: O) => { * Disable Redirect */ disableRedirect: z - .boolean({ + .boolean().meta({ description: "Disable redirect after successful subscription. Eg: true", }) @@ -601,18 +601,18 @@ export const stripe = (options: O) => { method: "POST", body: z.object({ referenceId: z - .string({ + .string().meta({ description: "Reference id of the subscription to cancel. Eg: '123'", }) .optional(), subscriptionId: z - .string({ + .string().meta({ description: "The id of the subscription to cancel. Eg: 'sub_123'", }) .optional(), - returnUrl: z.string({ + returnUrl: z.string().meta({ description: "Return URL to redirect back after successful subscription. Eg: 'https://example.com/success'", }), @@ -743,13 +743,13 @@ export const stripe = (options: O) => { method: "POST", body: z.object({ referenceId: z - .string({ + .string().meta({ description: "Reference id of the subscription to restore. Eg: '123'", }) .optional(), subscriptionId: z - .string({ + .string().meta({ description: "The id of the subscription to restore. Eg: 'sub_123'", }) @@ -875,7 +875,7 @@ export const stripe = (options: O) => { query: z.optional( z.object({ referenceId: z - .string({ + .string().meta({ description: "Reference id of the subscription to list. Eg: '123'", })