Skip to content

Releases: waffo-com/waffo-pancake-sdk-nextjs

v0.4.1

Choose a tag to compare

@Hill-waffo Hill-waffo released this 30 Jul 14:26
345dc73

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

Choose a tag to compare

@Hill-waffo Hill-waffo released this 28 Jul 07:27
3c2eae4

Checkout 支付方式选择。

Added

  • 再导出 PaymentMethodcard / 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

Choose a tag to compare

@Hill-waffo Hill-waffo released this 17 Jul 02:07
426451b

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

Choose a tag to compare

@Hill-waffo Hill-waffo released this 14 Jul 06:28
f0561c0

Changed

  • The buyer persona is renamed to customer across the public API: useCustomer, useCustomerOrders/useCustomerPayments/useCustomerRefundTickets, createCustomerTokenAction/createCustomerSessionAction, Customer* types, and the WaffoPancakeProvider customer prop are canonical.

Deprecated

  • All buyer-named exports (useBuyer, useBuyerOrders, useBuyerPayments, useBuyerRefundTickets, createBuyerTokenAction, createBuyerSessionAction, Buyer* types) and the provider buyer prop — use the customer-named equivalents.

Wire fields (buyerIdentity, buyerEmail) are unchanged.

v0.1.9

Choose a tag to compare

@Hill-waffo Hill-waffo released this 05 Jun 02:07
1905b13

Bumped peer @waffo/pancake-ts to ^0.11.0

Picks up:

  • Nullable description / successUrl on Create/Update Product params
  • Alignment with backend product-service v2026.6.4 (name ≤ 64 chars enforced)

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

Choose a tag to compare

@Hill-waffo Hill-waffo released this 01 Jun 08:03
48fc021

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

Choose a tag to compare

@Hill-waffo Hill-waffo released this 21 May 04:03
053f61c

Bump peer @waffo/pancake-ts to ^0.9.0. Adds flat dual-key external-id pass-through. See CHANGELOG.

v0.1.5

Choose a tag to compare

@Hill-waffo Hill-waffo released this 22 Apr 07:31
45e1d58

Add MIT LICENSE file and include in npm package

v0.1.4

Choose a tag to compare

@Hill-waffo Hill-waffo released this 22 Apr 07:12
9f1f619

Changes

  • chore: add coverage thresholds, pre-push guard, and missing tests

v0.1.3

Choose a tag to compare

@Hill-waffo Hill-waffo released this 18 Apr 13:45

Changed

  • Dependency @waffo/pancake-ts bumped to ^0.5.0 — picks up enriched WebhookEventData with full transaction chain fields