@stardeck-customer-apps/testing 0.7.1 → 0.8.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/dist/index.d.mts CHANGED
@@ -241,6 +241,9 @@ type ReceiptBlock = {
241
241
  format: "qr" | "code128";
242
242
  data: string;
243
243
  align?: ReceiptAlign;
244
+ /** QR width as a percentage of the printable width (5–100). Omitted →
245
+ * the printer's default cell size. Mirrors the edge SDK. */
246
+ widthPercent?: number;
244
247
  };
245
248
  interface ReceiptPayload {
246
249
  paperWidth?: "58mm" | "80mm";
package/dist/index.d.ts CHANGED
@@ -241,6 +241,9 @@ type ReceiptBlock = {
241
241
  format: "qr" | "code128";
242
242
  data: string;
243
243
  align?: ReceiptAlign;
244
+ /** QR width as a percentage of the printable width (5–100). Omitted →
245
+ * the printer's default cell size. Mirrors the edge SDK. */
246
+ widthPercent?: number;
244
247
  };
245
248
  interface ReceiptPayload {
246
249
  paperWidth?: "58mm" | "80mm";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stardeck-customer-apps/testing",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Vitest test harness for Stardeck customer apps — in-process Postgres (PGlite) plus a control-plane simulator so the real Stardeck SDKs run unmodified in tests",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",