@shoppexio/storefront 1.0.100 → 1.0.102

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.102
4
+
5
+ - The checkout URL carries the buyer's cookie banner answer in its hash (`#shoppex_consent=…`, PR #3938), so the full hosted checkout page sends the shop's Purchase tags under the same consent. The hash never reaches a server; without an answer on a shop with the banner on, the checkout sends no tags.
6
+
7
+ ## 1.0.101
8
+
9
+ - Supplier sourcing is retired (PR #3825): `Product.supplier_backed` and `ProductVariant.supplier_backed` are gone, and `orderable` no longer turns an empty local stock into unlimited stock. Stock helpers read local units only; `orderable` stays the buy/sold-out gate.
10
+
3
11
  ## 1.0.100
4
12
 
5
13
  - `shoppex.client()` (the typed API client) is keyed on the active config: after `shoppex.init()` with a different `apiBaseUrl`, the next `shoppex.client().GET(...)` goes to the new host instead of the first one (#3863).
package/dist/customer.cjs CHANGED
@@ -20381,7 +20381,6 @@ var customerResellerCatalogVariantSchema = external_exports.object({
20381
20381
  variant_id: external_exports.string(),
20382
20382
  title: external_exports.string(),
20383
20383
  stock: external_exports.number(),
20384
- supplier_backed: external_exports.boolean(),
20385
20384
  orderable: external_exports.boolean(),
20386
20385
  base_price: external_exports.string(),
20387
20386
  unit_price: external_exports.string(),
@@ -20413,15 +20412,12 @@ var customerResellerCatalogSchema = external_exports.object({
20413
20412
  title: external_exports.string(),
20414
20413
  type: external_exports.string(),
20415
20414
  stock: external_exports.number(),
20416
- supplier_backed: external_exports.boolean(),
20417
20415
  orderable: external_exports.boolean(),
20418
20416
  volume_discount_enabled: external_exports.boolean(),
20419
20417
  base_price: external_exports.string(),
20420
20418
  unit_price: external_exports.string(),
20421
20419
  discount_percent: external_exports.number(),
20422
20420
  applied_override: customerResellerAppliedOverrideSchema,
20423
- /** The supplier's maximum price for reselling this product (and each variant); null = no limit. */
20424
- max_unit_price: external_exports.string().nullable(),
20425
20421
  /** Optional: a backend released before reseller custom fields does not send it. */
20426
20422
  custom_fields: external_exports.array(customerResellerCustomFieldSchema).optional(),
20427
20423
  variants: external_exports.array(customerResellerCatalogVariantSchema)