@dineway-ai/plugin-payment 0.2.4 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dineway-ai/plugin-payment",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Provider-neutral payment infrastructure and Stripe integration for Dineway plugins",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -63,7 +63,7 @@ export function createSubscriptionRoutes(
63
63
  "subscriptions/plans": {
64
64
  methods: ["GET"],
65
65
  public: true,
66
- input: empty,
66
+ input: empty.default({}),
67
67
  handler: async () => run(async () => ({ items: await (await service()).listPlans() })),
68
68
  },
69
69
  "subscriptions/checkout": privateRoute(checkoutSchema, "payments:manage_own", async (context) =>