@dodopayments/astro 0.1.1 → 0.1.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.
package/README.md CHANGED
@@ -35,14 +35,12 @@ export const GET = Checkout({
35
35
  type: "static", // optional, defaults to 'static'
36
36
  });
37
37
 
38
-
39
38
  export const POST = Checkout({
40
39
  bearerToken: import.meta.env.DODO_PAYMENTS_API_KEY,
41
40
  returnUrl: import.meta.env.DODO_PAYMENTS_RETURN_URL,
42
41
  environment: import.meta.env.DODO_PAYMENTS_ENVIRONMENT,
43
42
  type: "dynamic", // for dynamic checkout
44
43
  });
45
-
46
44
  ```
47
45
 
48
46
  ---
package/dist/index.cjs CHANGED
@@ -1824,7 +1824,7 @@ var checkoutQuerySchema = zod.z.object({
1824
1824
  showDiscounts: zod.z.string().optional(),
1825
1825
  // Metadata (allow any key starting with metadata_)
1826
1826
  // We'll handle metadata separately in the handler
1827
- });
1827
+ }).catchall(zod.z.unknown());
1828
1828
  // Add Zod schema for dynamic checkout body
1829
1829
  var dynamicCheckoutBodySchema = zod.z
1830
1830
  .object({