@wix/himalaya-cli 0.1737.0 → 0.1738.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.
@@ -43,21 +43,19 @@ export interface AppleSaleRule {
43
43
  * id (eCom's `catalogItemId`). One-time unlocks only, whatever the backend also accepts. */
44
44
  export declare const STORES_PRODUCT_SALE_RULE: AppleSaleRule;
45
45
  /**
46
- * Whether recurring Pricing Plans sell as App Store auto-renewing subscriptions. OFF: they stay off until
47
- * the subscription lifecycle (expiry, refunds, auto-renew off, grace) is proven; a separate change turns
48
- * it on. Off, an
46
+ * Whether recurring Pricing Plans sell as App Store auto-renewing subscriptions. ON. Off, an
49
47
  * `AUTO_RENEWING_SUBSCRIPTION` mapping is not for sale and a recurring plan cannot start Apple checkout.
50
48
  */
51
- export declare const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;
49
+ export declare const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
52
50
  /**
53
- * Whether Wix Video videos sell through the App Store. OFF until the Wix Video purchase is proven live
54
- * (gates G1–G4). A video with a one-time Sale price above zero is mapped under
55
- * its video id as a one-time unlock (`wixVideoItem`), and screens show its App Store price. ON, the Video
51
+ * Whether Wix Video videos sell through the App Store. ON. A video with a one-time Sale price above zero
52
+ * is mapped under its video id as a one-time unlock (`wixVideoItem`), and screens show its App Store
53
+ * price. ON, the Video
56
54
  * screen offers Buy: the device opens Video's own SALE order on its GraphQL gateway (`wixVideoOrders`),
57
55
  * and the shared checkout charges it with appleIAP and pays it through StartPayment. OFF, the adapter
58
56
  * refuses every sale and the screen composes no checkout.
59
57
  */
60
- export declare const VIDEOS_APPLE_SALES_ENABLED = false;
58
+ export declare const VIDEOS_APPLE_SALES_ENABLED = true;
61
59
  /**
62
60
  * The one definition `himi store iap connect` writes mappings by and the mapping source reads them by,
63
61
  * keyed by catalog kind. Every vertical but Video sells through wix-iap StartItemPayment, which orders
@@ -7,5 +7,5 @@ export declare function appleIapCheckoutEnabled(): boolean;
7
7
  * Kept because screens generated from earlier `himi init` templates still call it. */
8
8
  export declare function storesAppleSalesEnabled(): boolean;
9
9
  /** Whether a Wix Video sells through the App Store: the device opens Video's SALE order and the
10
- * shared checkout pays it (`VIDEOS_APPLE_SALES_ENABLED` in @himalaya/iap, off until its live gates pass). */
10
+ * shared checkout pays it (`VIDEOS_APPLE_SALES_ENABLED` in @himalaya/iap). */
11
11
  export declare function videosAppleSalesEnabled(): boolean;
@@ -727,8 +727,8 @@ var ATTENDANCE_SALE_RULE = { appProductId: (id) => id, productType: "CONSUMABLE"
727
727
  var STORES_PRODUCT_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
728
728
  var ONLINE_PROGRAM_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
729
729
  var PRICING_PLAN_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
730
- var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;
731
- var VIDEOS_APPLE_SALES_ENABLED = false;
730
+ var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
731
+ var VIDEOS_APPLE_SALES_ENABLED = true;
732
732
  var VIDEO_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
733
733
  function appleSaleRules(options = {}) {
734
734
  return {
@@ -687,8 +687,8 @@ var ATTENDANCE_SALE_RULE = { appProductId: (id) => id, productType: "CONSUMABLE"
687
687
  var STORES_PRODUCT_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
688
688
  var ONLINE_PROGRAM_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
689
689
  var PRICING_PLAN_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
690
- var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;
691
- var VIDEOS_APPLE_SALES_ENABLED = false;
690
+ var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
691
+ var VIDEOS_APPLE_SALES_ENABLED = true;
692
692
  var VIDEO_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
693
693
  function appleSaleRules(options = {}) {
694
694
  return {
@@ -2376,8 +2376,8 @@ var ATTENDANCE_SALE_RULE = { appProductId: (id2) => id2, productType: "CONSUMABL
2376
2376
  var STORES_PRODUCT_SALE_RULE = { appProductId: (id2) => id2, productType: "NON_CONSUMABLE" };
2377
2377
  var ONLINE_PROGRAM_SALE_RULE = { appProductId: (id2) => id2, productType: "NON_CONSUMABLE" };
2378
2378
  var PRICING_PLAN_SALE_RULE = { appProductId: (id2) => id2, productType: "NON_CONSUMABLE" };
2379
- var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;
2380
- var VIDEOS_APPLE_SALES_ENABLED = false;
2379
+ var PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
2380
+ var VIDEOS_APPLE_SALES_ENABLED = true;
2381
2381
  var VIDEO_SALE_RULE = { appProductId: (id2) => id2, productType: "NON_CONSUMABLE" };
2382
2382
  function appleSaleRules(options = {}) {
2383
2383
  return {
package/dist/cli.mjs CHANGED
@@ -40525,7 +40525,6 @@ function shouldRevealError(args) {
40525
40525
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
40526
40526
  var init_validation = __esm({
40527
40527
  "../../core/ts/src/validation.ts"() {
40528
- "use strict";
40529
40528
  init_define_HHP_CATALOG();
40530
40529
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
40531
40530
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -241243,8 +241242,8 @@ var init_wix_payments_contract = __esm({
241243
241242
  STORES_PRODUCT_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
241244
241243
  ONLINE_PROGRAM_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
241245
241244
  PRICING_PLAN_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
241246
- PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;
241247
- VIDEOS_APPLE_SALES_ENABLED = false;
241245
+ PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
241246
+ VIDEOS_APPLE_SALES_ENABLED = true;
241248
241247
  VIDEO_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
241249
241248
  APPLE_SALE_RULES = appleSaleRules();
241250
241249
  APPLE_PROVISIONING_RULES = {
@@ -557,7 +557,7 @@ In order:
557
557
  4. **One mapping per Wix item → Apple product, through Catalog `listProducts` / `createProduct`.** Online Programs map by program id, Wix Stores
558
558
  digital products by product id, one-time unlimited Pricing Plans by plan id, and Wix videos by
559
559
  video id (the ids the purchase flow looks up), all only as non-consumables. A mapped video gets
560
- its App Store price on the Videos screens; buying it stays off until its live gates pass (device order,
560
+ its App Store price on the Videos screens, and the Video screen sells it (device order,
561
561
  [checkout](iap-wix-checkout.md#wix-video-the-device-opens-videos-order)). A plan is mapped only when the site reads it
562
562
  as one-time unlimited (one payment, valid until cancelled); a recurring, time-limited or archived
563
563
  plan is skipped. When the site's plans cannot be read, each plan is `failed` (`request_failed`,
@@ -21,7 +21,7 @@ and generated templates. Historical receipts retain their recorded amounts.
21
21
  | `himi-branded-lite-cart` | Full catalog app/item/options reference and quantity; line `total` | Refreshes the current cart and routes before payment; only verified physical regular carts keep checkout; Apple, mixed, multiple-digital, unknown and unverified digital carts are blocked |
22
22
  | `himi-store-cart` | Full catalog reference; line `total` | Consistent shared prices and suppressed Wix subtotal when routes are unsettled or Apple; remains read-only |
23
23
  | `himi-branded-lite-order` | Original catalog app/item/options and quantity | Preserves references; checks current routing and catalog facts before re-adding physical items; never reprices the paid receipt |
24
- | `himi-branded-lite-videos`, `himi-branded-lite-video` (Videos, channel and Video screens) | Wix video ID (`wixVideo`); carousel and row `priceLine`, Video `priceText` / `priceNote` / `purchaseNote` | Shared pricing for videos with a one-time Sale price, in channels that require no subscription or plan. The Video screen's Buy (`buyHidden` / `buyLabel` / `buyDisabled` / `buyNote`) sells through `wixVideoOrders`, the device's own Video order, only while `VIDEOS_APPLE_SALES_ENABLED` is on; it is off, so no Buy shows. Home's video rail stays unpriced |
24
+ | `himi-branded-lite-videos`, `himi-branded-lite-video` (Videos, channel and Video screens) | Wix video ID (`wixVideo`); carousel and row `priceLine`, Video `priceText` / `priceNote` / `purchaseNote` | Shared pricing for videos with a one-time Sale price, in channels that require no subscription or plan. The Video screen's Buy (`buyHidden` / `buyLabel` / `buyDisabled` / `buyNote`) sells through `wixVideoOrders`, the device's own Video order, while `VIDEOS_APPLE_SALES_ENABLED` is on, which it is by default. Home's video rail stays unpriced |
25
25
  | `video-courses-preview` / Atlas | `storeProductId`, plus course-specific member access mirror | Deferred: deployment and usable course access are unverified. Existing native digital-checkout guard remains; Atlas courses are Stores products, not Wix Video, so `wixVideoOrders` does not apply |
26
26
  | `wix-spaces-product-detail`, `wix-spaces-shop`, `wix-spaces-saved`, `wix-spaces-cart` | Legacy worker sources | Retired `fixtures/wix-spaces-clone/dev` descriptors still reference these workers; no active app or generated template consumer. Legacy pricing/checkout is not migrated or certified for managed Apple IAP |
27
27
  | `hip-shop-product`, `hip-shop-home`, `hip-shop-explore`, `hip-shop-saved`, `hip-shop-cart` | Legacy worker sources | Retired `fixtures/hip-shop/dev` descriptors reference these workers; no active app or generated template consumer. Legacy pricing/checkout is not migrated or certified for managed Apple IAP |
@@ -2947,15 +2947,15 @@
2947
2947
  {
2948
2948
  "name": "PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED",
2949
2949
  "kind": "const",
2950
- "jsdoc": "/**\n * Whether recurring Pricing Plans sell as App Store auto-renewing subscriptions. OFF: they stay off until\n * the subscription lifecycle (expiry, refunds, auto-renew off, grace) is proven; a separate change turns\n * it on. Off, an\n * `AUTO_RENEWING_SUBSCRIPTION` mapping is not for sale and a recurring plan cannot start Apple checkout.\n */",
2951
- "decl": "export const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = false;",
2950
+ "jsdoc": "/**\n * Whether recurring Pricing Plans sell as App Store auto-renewing subscriptions. ON. Off, an\n * `AUTO_RENEWING_SUBSCRIPTION` mapping is not for sale and a recurring plan cannot start Apple checkout.\n */",
2951
+ "decl": "export const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;",
2952
2952
  "verificationChecked": true
2953
2953
  },
2954
2954
  {
2955
2955
  "name": "VIDEOS_APPLE_SALES_ENABLED",
2956
2956
  "kind": "const",
2957
- "jsdoc": "/**\n * Whether Wix Video videos sell through the App Store. OFF until the Wix Video purchase is proven live\n * (gates G1–G4). A video with a one-time Sale price above zero is mapped under\n * its video id as a one-time unlock (`wixVideoItem`), and screens show its App Store price. ON, the Video\n * screen offers Buy: the device opens Video's own SALE order on its GraphQL gateway (`wixVideoOrders`),\n * and the shared checkout charges it with appleIAP and pays it through StartPayment. OFF, the adapter\n * refuses every sale and the screen composes no checkout.\n */",
2958
- "decl": "export const VIDEOS_APPLE_SALES_ENABLED = false;",
2957
+ "jsdoc": "/**\n * Whether Wix Video videos sell through the App Store. ON. A video with a one-time Sale price above zero\n * is mapped under its video id as a one-time unlock (`wixVideoItem`), and screens show its App Store\n * price. ON, the Video\n * screen offers Buy: the device opens Video's own SALE order on its GraphQL gateway (`wixVideoOrders`),\n * and the shared checkout charges it with appleIAP and pays it through StartPayment. OFF, the adapter\n * refuses every sale and the screen composes no checkout.\n */",
2958
+ "decl": "export const VIDEOS_APPLE_SALES_ENABLED = true;",
2959
2959
  "verificationChecked": true
2960
2960
  },
2961
2961
  {
@@ -3573,7 +3573,7 @@
3573
3573
  {
3574
3574
  "name": "videosAppleSalesEnabled",
3575
3575
  "kind": "function",
3576
- "jsdoc": "/** Whether a Wix Video sells through the App Store: the device opens Video's SALE order and the\n * shared checkout pays it (`VIDEOS_APPLE_SALES_ENABLED` in @himalaya/iap, off until its live gates pass). */",
3576
+ "jsdoc": "/** Whether a Wix Video sells through the App Store: the device opens Video's SALE order and the\n * shared checkout pays it (`VIDEOS_APPLE_SALES_ENABLED` in @himalaya/iap). */",
3577
3577
  "decl": "export function videosAppleSalesEnabled(): boolean;",
3578
3578
  "verificationChecked": true
3579
3579
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1737.0",
3
+ "version": "0.1738.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "f308d2c7fe0f96f21d7d9142477191faeca77627eb905c906d102ee7"
85
+ "falconPackageHash": "26b1e9660b92a3e0f8ff7d79994417ca7897c939c71128191df49bd7"
86
86
  }