@shoppexio/storefront 1.0.80 → 1.0.81

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.cts CHANGED
@@ -205,6 +205,8 @@ interface ProductCategory {
205
205
  image_storage?: string | null;
206
206
  cloudflare_image_id?: string | null;
207
207
  cdn_image_url?: string | null;
208
+ /** The merchant's category order (lower first); the same value the catalog's top-level `categories` carry as `sort_priority`. */
209
+ sort_order?: number;
208
210
  }
209
211
  interface ProductDescriptionTab {
210
212
  title: string;
package/dist/index.d.ts CHANGED
@@ -205,6 +205,8 @@ interface ProductCategory {
205
205
  image_storage?: string | null;
206
206
  cloudflare_image_id?: string | null;
207
207
  cdn_image_url?: string | null;
208
+ /** The merchant's category order (lower first); the same value the catalog's top-level `categories` carry as `sort_priority`. */
209
+ sort_order?: number;
208
210
  }
209
211
  interface ProductDescriptionTab {
210
212
  title: string;
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  union,
23
23
  unknown,
24
24
  url
25
- } from "./chunk-ZVOFFURI.js";
25
+ } from "./chunk-QNHOMMRG.js";
26
26
 
27
27
  // ../sdk/src/core/errors.ts
28
28
  var CURRENCY_UNAVAILABLE_ERROR_CODE = "errors.storefront.currency_unavailable";
@@ -2519,10 +2519,11 @@ var publicInvoiceWireSchema = external_exports.object({
2519
2519
  cashapp_qrcode: external_exports.string().nullable().optional(),
2520
2520
  created_at: external_exports.string().optional(),
2521
2521
  crypto_address: external_exports.string().nullable().optional(),
2522
- crypto_amount: stringOrNumberSchema.optional(),
2522
+ // null when the invoice has no crypto leg (card, PayPal, unselected gateway).
2523
+ crypto_amount: stringOrNumberSchema.nullable().optional(),
2523
2524
  crypto_confirmations_needed: external_exports.number().nullable().optional(),
2524
2525
  crypto_exchange_rate: stringOrNumberSchema.nullable().optional(),
2525
- crypto_received: stringOrNumberSchema.optional(),
2526
+ crypto_received: stringOrNumberSchema.nullable().optional(),
2526
2527
  crypto_uri: external_exports.string().nullable().optional(),
2527
2528
  developer_invoice: external_exports.unknown().optional(),
2528
2529
  developer_return_url: external_exports.string().nullable().optional(),