@waffo/pancake-ts 0.16.1 → 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 +8 -0
- package/README.md +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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
|
+
|
|
7
15
|
## [0.16.1] - 2026-07-30
|
|
8
16
|
|
|
9
17
|
Pre-filling a billing country restricts which payment methods the hosted cashier offers.
|
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,
|