@wix/himalaya-cli 0.1736.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +6 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/checkout-source.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/cli.mjs +2 -2
- package/guides/iap-products.md +1 -1
- package/guides/iap-screen-adoption.md +1 -1
- package/guides/sdk-reference.json +5 -5
- package/package.json +2 -2
|
@@ -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.
|
|
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 =
|
|
49
|
+
export declare const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
|
|
52
50
|
/**
|
|
53
|
-
* Whether Wix Video videos sell through the App Store.
|
|
54
|
-
*
|
|
55
|
-
*
|
|
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 =
|
|
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
|
|
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 =
|
|
731
|
-
var VIDEOS_APPLE_SALES_ENABLED =
|
|
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 =
|
|
691
|
-
var VIDEOS_APPLE_SALES_ENABLED =
|
|
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 =
|
|
2380
|
-
var VIDEOS_APPLE_SALES_ENABLED =
|
|
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
|
@@ -241242,8 +241242,8 @@ var init_wix_payments_contract = __esm({
|
|
|
241242
241242
|
STORES_PRODUCT_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
|
|
241243
241243
|
ONLINE_PROGRAM_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
|
|
241244
241244
|
PRICING_PLAN_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
|
|
241245
|
-
PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED =
|
|
241246
|
-
VIDEOS_APPLE_SALES_ENABLED =
|
|
241245
|
+
PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED = true;
|
|
241246
|
+
VIDEOS_APPLE_SALES_ENABLED = true;
|
|
241247
241247
|
VIDEO_SALE_RULE = { appProductId: (id) => id, productType: "NON_CONSUMABLE" };
|
|
241248
241248
|
APPLE_SALE_RULES = appleSaleRules();
|
|
241249
241249
|
APPLE_PROVISIONING_RULES = {
|
package/guides/iap-products.md
CHANGED
|
@@ -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
|
|
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,
|
|
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.
|
|
2951
|
-
"decl": "export const PLAN_SUBSCRIPTIONS_APPLE_SALES_ENABLED =
|
|
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.
|
|
2958
|
-
"decl": "export const VIDEOS_APPLE_SALES_ENABLED =
|
|
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
|
|
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.
|
|
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": "
|
|
85
|
+
"falconPackageHash": "26b1e9660b92a3e0f8ff7d79994417ca7897c939c71128191df49bd7"
|
|
86
86
|
}
|