Releases: waffo-com/waffo-pancake-sdk-nextjs
Release list
v0.4.1
Passing billingDetail to CheckoutButton couples the cashier to the order's billing country: it then offers only that country's payment market and the customer cannot switch. The country that applies is the one on the finished order, not the one you sent; a country outside the payment markets we cover applies no restriction. Omit it to leave the cashier unrestricted.
Docs only — no code change.
v0.4.0
Checkout 支付方式选择。
Added
- 再导出
PaymentMethod(card/applepay/googlepay/wechat) - anonymous / authenticated checkout props 与
<CheckoutButton>接受互斥的includePaymentMethods/excludePaymentMethods,继承自@waffo/pancake-ts的 checkout 参数
Changed
@waffo/pancake-ts依赖范围提到^0.16.0
Link 模式不受影响:LinkCheckoutProps 不继承 AnonymousCheckoutParams,该路径本就不调用 create-session。
v0.3.0
CashierLanguage re-export + checkout language 支持
Added
CashierLanguage— re-export 自 @waffo/pancake-ts;checkout props 与<CheckoutButton>继承可选language- 依赖
@waffo/pancake-ts提升至^0.13.0
v0.2.0
Changed
- The buyer persona is renamed to customer across the public API:
useCustomer,useCustomerOrders/useCustomerPayments/useCustomerRefundTickets,createCustomerTokenAction/createCustomerSessionAction,Customer*types, and theWaffoPancakeProvidercustomerprop are canonical.
Deprecated
- All buyer-named exports (
useBuyer,useBuyerOrders,useBuyerPayments,useBuyerRefundTickets,createBuyerTokenAction,createBuyerSessionAction,Buyer*types) and the providerbuyerprop — use the customer-named equivalents.
Wire fields (buyerIdentity, buyerEmail) are unchanged.
v0.1.9
Bumped peer @waffo/pancake-ts to ^0.11.0
Picks up:
- Nullable
description/successUrlon Create/Update Product params - Alignment with backend product-service v2026.6.4 (
name ≤ 64 charsenforced)
Wrapper passes through transparently — useMerchant() product mutations and direct client.onetimeProducts / client.subscriptionProducts calls now accept null for these two fields.
See @waffo/pancake-ts@0.11.0 CHANGELOG for the migration diff.
v0.1.8
Bump peer @waffo/pancake-ts to ^0.10.0 to pick up the full 19-field NotificationSettings schema and merchant-writable type narrowing. Wrapper surface transparent. See CHANGELOG.
v0.1.7
Bump peer @waffo/pancake-ts to ^0.9.0. Adds flat dual-key external-id pass-through. See CHANGELOG.
v0.1.5
Add MIT LICENSE file and include in npm package
v0.1.4
Changes
- chore: add coverage thresholds, pre-push guard, and missing tests
v0.1.3
Changed
- Dependency
@waffo/pancake-tsbumped to^0.5.0— picks up enriched WebhookEventData with full transaction chain fields