@wix/himalaya-cli 0.1632.0 → 0.1633.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 +4 -14
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-wire.d.ts +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments.d.ts +1 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +26 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-core.d.ts +0 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/checkout-source.d.ts +3 -10
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/commerce-core.d.ts +0 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-order-backend.d.ts +0 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-verticals/stores.d.ts +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/index.d.ts +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/index.d.ts +64 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +13 -45
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +2 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +7 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +39 -0
- package/dist/cli.mjs +127 -62
- package/dist/preview-assets.generated.bin +0 -0
- package/fixtures/wix-canned.json +3 -0
- package/guides/getting-started.md +2 -1
- package/guides/himi-json-output.md +6 -0
- package/guides/himi-skill.md +2 -1
- package/guides/iap-screen-adoption.md +4 -4
- package/guides/importable-sdks.md +1 -1
- package/guides/one-app-section-mappings.md +3 -3
- package/guides/sdk-reference.json +8829 -4386
- package/guides/skill.md +11 -1
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +1 -1
- package/templates/branded-lite/dev/index.ts +2924 -2110
- package/templates/branded-lite/l10n/en.json +5 -3
- package/templates/branded-lite/tier5-src/_shared/loyalty-offerings.ts +73 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/earning.ts +148 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +57 -31
- package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty-rewards/index.ts +208 -0
- package/templates/branded-lite/tier5-src/himi-store-product/index.ts +1 -1
- package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +1 -1
- package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +1 -1
- package/templates/retail-store/tier5-src/himi-store-product/index.ts +1 -1
|
Binary file
|
package/fixtures/wix-canned.json
CHANGED
|
@@ -495,7 +495,8 @@ select the deployed customer target explicitly:
|
|
|
495
495
|
```sh
|
|
496
496
|
himi login --browser --target wix
|
|
497
497
|
wix login
|
|
498
|
-
# no browser?
|
|
498
|
+
# no browser here? pipe the owner's held Wix token: printf '%s' "$TOKEN" | himi login --wix --wix-token-stdin --target wix
|
|
499
|
+
# (or export WIX_API_KEY on a server, then himi login --wix --target wix) instead of the two lines above
|
|
499
500
|
himi dist --app <app> --release <release-id> --site <owned-site-id> \
|
|
500
501
|
--platform ios,android --signing byo --android-signing qa-keystore --wait --target wix
|
|
501
502
|
```
|
|
@@ -14,6 +14,12 @@ require those fields. Existing error-only push refusals now also carry `ok: fals
|
|
|
14
14
|
Output channels and process exit codes are unchanged. Read JSON failures on both
|
|
15
15
|
stdout and stderr; progress/warnings are not failure envelopes.
|
|
16
16
|
|
|
17
|
+
## `himi sdk unverified` codes
|
|
18
|
+
|
|
19
|
+
| Code | Meaning |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| `sdk_verification_unknown` | A cached SDK reference has one or more exports without verification metadata (an older or mixed catalog), so the unverified list cannot be trusted. Refresh the catalog (unpin an older kit first if needed). Exit 2. |
|
|
22
|
+
|
|
17
23
|
## `himi store preflight` / `himi store upload` / `himi testflight` config failures
|
|
18
24
|
|
|
19
25
|
| Code | Meaning |
|
package/guides/himi-skill.md
CHANGED
|
@@ -518,7 +518,8 @@ select the deployed customer target explicitly:
|
|
|
518
518
|
```sh
|
|
519
519
|
himi login --browser --target wix
|
|
520
520
|
wix login
|
|
521
|
-
# no browser?
|
|
521
|
+
# no browser here? pipe the owner's held Wix token: printf '%s' "$TOKEN" | himi login --wix --wix-token-stdin --target wix
|
|
522
|
+
# (or export WIX_API_KEY on a server, then himi login --wix --target wix) instead of the two lines above
|
|
522
523
|
himi dist --app <app> --release <release-id> --site <owned-site-id> \
|
|
523
524
|
--platform ios,android --signing byo --android-signing qa-keystore --wait --target wix
|
|
524
525
|
```
|
|
@@ -14,7 +14,7 @@ and generated templates. Historical receipts retain their recorded amounts.
|
|
|
14
14
|
| `himi-branded-lite-plans` | Pricing Plan ID; `priceLine` | Shared Apple pricing and existing Join action through `pricingPlanOrders`; only one-time unlimited Plans can start Apple checkout |
|
|
15
15
|
| `wix-spaces-plan-detail` | Pricing Plan ID; `price` | Shared pricing; remains read-only |
|
|
16
16
|
| `createCheckoutService` / `checkoutScreen` | Pricing Plan ID; `priceLine` | Same shared Plans pricing and purchase; existing options, copy, login destination and factory shape retained |
|
|
17
|
-
| `himi-store-product` | Stores product ID; `price` | Shared pricing; physical options/add/save retained. With Stores Apple sales enabled, a mapped digital product without options offers Buy now through
|
|
17
|
+
| `himi-store-product` | Stores product ID; `price` | Shared pricing; physical options/add/save retained. With Stores Apple sales enabled, a mapped digital product without options offers Buy now through wix-iap StartItemPayment, which places and charges the eCom order server-side ([checkout](iap-wix-checkout.md#wix-stores-items-through-startitempayment)) |
|
|
18
18
|
| `himi-store-shop` | Stores product ID; price in `subtitle` | Batched visible pricing, including paged results; saved/cache metadata retains the commerce price rather than an Apple offer |
|
|
19
19
|
| `himi-store-saved` | Stored product ID; `price` | Reprices saved rows through the shared source when shown; no added purchase action |
|
|
20
20
|
| `himi-branded-lite-home` | Stores product IDs; hero and rail prices | Shared pricing on visible product offers; navigation-only Program cards remain unchanged |
|
|
@@ -44,9 +44,9 @@ withdraw the shared checkout's access state; reading existing access never creat
|
|
|
44
44
|
The existing Stores adapter reads `paymentStatus: PAID` as granted. That proves payment,
|
|
45
45
|
not usable delivery of a download or course. It also lacks a verified member-scoped
|
|
46
46
|
existing-ownership read. Only the product screen installs `storesProductOrders` for sales, while
|
|
47
|
-
`storesAppleSalesEnabled()` is true. As shipped, `STORES_APPLE_SALES_ENABLED` is on
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
`storesAppleSalesEnabled()` is true. As shipped, `STORES_APPLE_SALES_ENABLED` is on, so mapped digital
|
|
48
|
+
products without options are paid through wix-iap StartItemPayment: the device opens no eCom checkout
|
|
49
|
+
and makes no cashier charge. Live digital fulfillment remains unverified.
|
|
50
50
|
The cart and list screens do not start Apple sales. A confirmed physical product retains its
|
|
51
51
|
regular checkout.
|
|
52
52
|
Unknown product facts, unsupported catalog apps and missing routing fail closed.
|
|
@@ -36,7 +36,7 @@ package in one greppable file) or `GET /v1/sdk/<name>` over HTTP; in the CLI,
|
|
|
36
36
|
- `@himalaya/hhp` — —
|
|
37
37
|
- `@himalaya/himi-apps` — Tier-5 typed binding for cross-app open / host queries.
|
|
38
38
|
- `@himalaya/iap` — Tier-5 typed binding to the platform's in-app-purchase capability.
|
|
39
|
-
- `@himalaya/iap-checkout` — @wix/himalaya/iap-checkout — the ONE shared flow that sells a digital Wix item through the App Store, for any screen:
|
|
39
|
+
- `@himalaya/iap-checkout` — @wix/himalaya/iap-checkout — the ONE shared flow that sells a digital Wix item through the App Store, for any screen: mobile-apps-wix-iap's payment, the managed StoreKit purchase and the vertical's own access read.
|
|
40
40
|
- `@himalaya/keyboard` — Tier-5 typed binding for the platform's keyboard capability.
|
|
41
41
|
- `@himalaya/kyber-api` — narrow Tier-5 binding for Kyber BO HTTP calls.
|
|
42
42
|
- `@himalaya/l10n` — synchronous app-catalog copy (SDK foundation; requires host integration).
|
|
@@ -159,8 +159,8 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
159
159
|
|
|
160
160
|
| Source sectionDefinitionId | Source viewer component | Himalaya implementation | Placement / reuse | Class | Settings, actions and gaps |
|
|
161
161
|
| --- | --- | --- | --- | --- | --- |
|
|
162
|
-
| `loyalty_status_section` | `loyalty.components.StatusSection` | [himi_loyalty member card](https://github.com/wix-private/himalaya/blob/
|
|
163
|
-
| `loyalty_offering_section` | `loyalty.components.OfferingSection` | [himi_loyalty](https://github.com/wix-private/himalaya/blob/
|
|
162
|
+
| `loyalty_status_section` | `loyalty.components.StatusSection` | [himi_loyalty member card](https://github.com/wix-private/himalaya/blob/e5d1313654a200084499ec74eb68fa77992d096e/apps/himi-branded-lite/dev/index.ts) (`buildLoyalty` points card) + [loyalty worker](https://github.com/wix-private/himalaya/blob/e5d1313654a200084499ec74eb68fa77992d096e/core/dev-server/tier5-bundles-src/himi-branded-lite-loyalty/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Existing base; adaptation needed | Partial | Member-only points, tier, expiry and the reward count are implemented in the shared screen. The count includes affordable active rewards, active claimed loyalty coupons and active referral coupons; failed reads leave the total unknown. View opens `himi_loyalty_reward`, with current-member eligibility, a confirmation step, coupon redemption and balance refresh. Private fields never hydrate or persist. Source-widget placement still requires adaptation; successful member REST recordings remain required for migration acceptance. |
|
|
163
|
+
| `loyalty_offering_section` | `loyalty.components.OfferingSection` | [himi_loyalty](https://github.com/wix-private/himalaya/blob/e5d1313654a200084499ec74eb68fa77992d096e/apps/himi-branded-lite/dev/index.ts) + [rewards worker](https://github.com/wix-private/himalaya/blob/e5d1313654a200084499ec74eb68fa77992d096e/core/dev-server/tier5-bundles-src/himi-branded-lite-loyalty/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Existing base; adaptation needed | Partial | Shared `himi_loyalty` supports base/custom tier offerings, exact tier configurations, benefit descriptions and Show all after three tier cards. Active birthday rules expose member birthday editing; active social-follow rules expose configured supported HTTPS channels. The published test app has four Loyalty instances with empty settings, and neither definition declares settingsData, so no offering-selection field is inferred. Source-widget placement and source rollout flags still need per-app review; the Himi controls follow active rule/channel configuration. |
|
|
164
164
|
|
|
165
165
|
### 8. referrals-section-definitions.json
|
|
166
166
|
|
|
@@ -425,7 +425,7 @@ These rows have reusable code, but their remaining requirements must not disappe
|
|
|
425
425
|
- [Photo Albums worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/wix-spaces-photo-albums/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") explicitly says no album API is wired and renders an empty state.
|
|
426
426
|
- [Restaurant basket worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/wix-spaces-food-orders/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") explicitly avoids the owner-capable Orders API and supplies no placed-order history.
|
|
427
427
|
- [Saved products worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-store-saved/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") uses device-local saves; it does not establish an account-backed wishlist mapping.
|
|
428
|
-
-
|
|
428
|
+
- The shared Loyalty worker now includes member status and links to a separate member reward/coupon journey. This does not automatically implement an arbitrary source section placement; keep member credentials and rendered evidence in the migration acceptance record.
|
|
429
429
|
- [Events detail worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-events-detail/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") documents the owner-scoped, best-effort attendee read; it does not supply a full consumer guest list.
|
|
430
430
|
- [Groups feed worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-feed/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") chooses its group internally; it does not accept a fixed source group selection.
|
|
431
431
|
- [Program detail worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-program/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") explicitly identifies the legacy CHALLENGES app ID, supporting the Online Programs family mapping; it does not provide the missing participating-program carousel.
|