@waffo/pancake-ts 0.16.0 → 0.17.0

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/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to `@waffo/pancake-ts` will be documented in this file.
4
4
 
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.17.0] - 2026-08-03
8
+
9
+ `supportEmail` and `website` were never applied by the update-store endpoint — passing them was silently ignored.
10
+
11
+ ### Removed
12
+
13
+ - `UpdateStoreParams.supportEmail` and `UpdateStoreParams.website` — the endpoint never wrote these fields, so passing them had no effect. They are derived from ownership verification and are set only by the flows that prove it: email code binding, domain verification, or KYB approval. Both remain readable on `Store`. Migration: drop them from your `stores.update()` calls; a `null` you were passing to "clear" them was never clearing anything.
14
+
15
+ ## [0.16.1] - 2026-07-30
16
+
17
+ Pre-filling a billing country restricts which payment methods the hosted cashier offers.
18
+
19
+ ### Changed
20
+
21
+ - `createCheckoutSession` — passing `billingDetail` couples the hosted 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. If the coupled market offers none of your enabled payment methods the order cannot be paid. Omit `billingDetail` to leave the cashier unrestricted. Types unchanged — no code migration.
22
+
7
23
  ## [0.16.0] - 2026-07-28
8
24
 
9
25
  Per-transaction payment method selection on the hosted checkout page.
package/README.md CHANGED
@@ -375,9 +375,10 @@ const { store } = await client.stores.create({ name: "My Store" });
375
375
  // notifySubscription* / notifyChargeback / notifyPayout*) are writable here;
376
376
  // consumer email toggles (emailOrderConfirmation, emailSubscription*, emailTrial*) are
377
377
  // managed by the PANCAKE platform and silently dropped if passed.
378
+ // NOTE: supportEmail and website are not writable here — they are set by
379
+ // ownership verification (email code / domain) or KYB approval.
378
380
  const { store: updated } = await client.stores.update({
379
381
  id: store.id,
380
- supportEmail: "help@example.com",
381
382
  notificationSettings: {
382
383
  notifyNewOrders: true,
383
384
  notifyNewSubscriptions: false,