@deliverart/sdk-js-receipt-template 2.25.0 → 2.25.2
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/README.md +4 -0
- package/dist/index.cjs +89 -13813
- package/dist/index.d.cts +385 -1
- package/dist/index.d.ts +385 -1
- package/dist/index.js +93 -13825
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -26,3 +26,7 @@ const updated = await sdk.call(
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
`UpdateReceiptTemplate` emits `application/merge-patch+json` and a strong `If-Match` header. A stale revision is rejected by the API instead of silently overwriting a newer edit.
|
|
29
|
+
|
|
30
|
+
Time, customer, address, and note blocks support `fieldLayout: "inline" | "stacked"`. Existing definitions default to `inline`. In stacked mode, `labelStyle` controls each field heading while `style` independently controls its value; stacked layout is rejected for other block types.
|
|
31
|
+
|
|
32
|
+
`order_times` blocks support `showDate: false` when a receipt should print only the localized time. Missing or `null` values retain the legacy date-and-time format. The option is rejected on every other block type.
|