@tokenoftrust/storefront-runner 6.11.0 → 6.11.1

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.
@@ -289,7 +289,7 @@ function ledgerOrder(entry: CommerceOrderBookEntry, contactAvailability: OrderCo
289
289
  totals: {
290
290
  subtotal: toMajor(totals.subtotalMinor),
291
291
  shipping: toMajor(totals.shippingMinor),
292
- estimatedTax: toMajor(totals.taxMinor),
292
+ estimatedTax: toMajor(exciseMinor !== undefined ? Math.max(0, totals.taxMinor - exciseMinor) : totals.taxMinor),
293
293
  taxesAndFees: exciseMinor !== undefined ? toMajor(exciseMinor) : 0,
294
294
  total: toMajor(totals.totalMinor),
295
295
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/storefront-runner",
3
- "version": "6.11.0",
3
+ "version": "6.11.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
6
6
  "packageManager": "pnpm@11.9.0",