@waffo/pancake-nextjs 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -180,6 +180,12 @@ import { checkout } from "./lib/waffo";
180
180
  For programmatic control — same props as `CheckoutButton`, returns `{ checkout, isLoading, error }`:
181
181
 
182
182
  ```tsx
183
+
184
+
185
+ > Passing `billingDetail` couples the cashier to the order's billing country: it then offers only that country's
186
+ > payment market and the customer cannot switch. The country that applies is the one on the finished order, not the
187
+ > one you sent; a country outside the payment markets we cover applies no restriction. Omit it to leave the cashier
188
+ > unrestricted.
183
189
  import { useCheckout } from "@waffo/pancake-nextjs";
184
190
  import { checkout as checkoutAction } from "./lib/waffo";
185
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waffo/pancake-nextjs",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Next.js SDK for Waffo Pancake — checkout components and hooks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",