@wix/himalaya-cli 0.1660.0 → 0.1662.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.
Files changed (54) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +17 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/audio-record/src/index.d.ts +4 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +12 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/order-refs.d.ts +8 -4
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +26 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +89 -43
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +89 -43
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +8 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +4 -0
  12. package/dist/browser-plane/assets.json +5 -5
  13. package/dist/browser-plane/preview-deferred/{fcafca348b6b973cfc2eadc938ddec3c515c641874cbca1667a43b22e1bf7a39.bin → 5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin} +1 -1
  14. package/dist/browser-plane/sw.js +8 -8
  15. package/dist/cli.mjs +929 -694
  16. package/dist/preview-assets.generated.bin +0 -0
  17. package/fixtures/wix-canned.json +1 -0
  18. package/guides/component-reference.json +13 -4
  19. package/guides/component-reference.md +26 -6
  20. package/guides/himi-json-output.md +9 -1
  21. package/guides/index.json +1 -1
  22. package/guides/qa-builds.md +7 -4
  23. package/guides/sdk-reference.json +28 -5
  24. package/package.json +2 -2
  25. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +8 -0
  26. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +8 -0
  27. package/templates/branded-lite/dev/index.ts +791 -169
  28. package/templates/branded-lite/l10n/en.json +46 -13
  29. package/templates/branded-lite/l10n/he.json +59 -7
  30. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +8 -0
  31. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +367 -63
  32. package/templates/community-club/l10n/he.json +2 -2
  33. package/templates/community-club/tier5-src/_shared/engine-intl.ts +8 -0
  34. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +8 -0
  35. package/templates/conference/tier5-src/_shared/engine-intl.ts +8 -0
  36. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +8 -0
  37. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +8 -0
  38. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +8 -0
  39. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +8 -0
  40. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +8 -0
  41. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +8 -0
  42. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +8 -0
  43. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +8 -0
  44. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +8 -0
  45. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +8 -0
  46. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +8 -0
  47. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +8 -0
  48. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +8 -0
  49. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +8 -0
  50. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +8 -0
  51. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +8 -0
  52. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +8 -0
  53. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +8 -0
  54. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +8 -0
Binary file
@@ -1230,6 +1230,7 @@
1230
1230
  "count": 2
1231
1231
  }
1232
1232
  },
1233
+ "POST /members/v2/abouts/query": { "memberAbouts": [] },
1233
1234
  "POST /badges/v4/assignments/query": {
1234
1235
  "badgeAssignments": [
1235
1236
  {
@@ -2,7 +2,7 @@
2
2
  "_comment": "GENERATED by core/web-embed/authoring/gen-reference.mjs from core/ts/src/schema.ts — do not hand-edit. The schema is the source of truth; regenerate on schema changes.",
3
3
  "schemaSource": "core/ts/src/schema.ts",
4
4
  "bindingGrammar": "$service:<service>.<path> (worker state) · $item.<field> (list row) · $flag:<key> (feature flag) · $env:<key> (client environment — #1056). Bindings resolve in the text/value props marked 'binding-aware' below — INCLUDING Modifiers token refs — but only `background` and `border.color`, which are the two whose token a binding actually fills: a worker can drive per-item theming (e.g. a game board's per-square color), not just text. `shadow` is NOT binding-aware on any renderer, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref — so `shadow: { token: \"$item.x\" }` and `backgroundGradient: { token: \"$item.x\" }` keep the sentinel and silently lose the per-item styling. Colour slots split by LEVEL, not by component: inside modifiers a colour is a TokenRef OBJECT ({ token: \"…\" }), inside props it is a bare TokenName STRING — there is no modifiers.color or modifiers.tint (see the 'Token slots' section in component-reference.md). A few input props render the LITERAL and are NOT binding-aware — notably SearchField.placeholder and Chip.label; SearchField.value is live and binding-aware like other content props. Bindings also CANNOT target strict-enum fields (style, size, alignment, severity, presentation, contentMode, …) — those fail at render, not validation. $env: is client-resolved (no worker) and valid in modifiers.hiddenPath and FragmentSlot.casePath ONLY — keys reduceMotion/colorScheme/sizeClass/isRTL/keyboardVisible, e.g. hiddenPath:\"$env:reduceMotion\" or hiddenPath:\"$env:colorScheme==light\", casePath:\"$env:colorScheme\"; unknown key fails open (shown / defaultCase).",
5
- "componentCount": 89,
5
+ "componentCount": 90,
6
6
  "notImplementedComponents": [
7
7
  "Text",
8
8
  "Icon",
@@ -995,16 +995,25 @@
995
995
  ],
996
996
  "propsSource": "export interface VoiceNoteProps {\n /** 0..1 amplitude buckets, already on the shared dBFS curve. */\n waveform?: number[];\n /** \"$service:\" binding → number[] (overrides `waveform`).\n * `$service:` only — a `$item.` placeholder is stringified to \"\" by both\n * native per-row substituters, so it would empty the waveform on iOS and\n * Android while working on web. The scalar `*Path` companions below do\n * accept `$item.`. */\n waveformPath?: string;\n durationMs?: number;\n durationMsPath?: string;\n positionMs?: number;\n positionMsPath?: string;\n /** \"idle\" (default) | \"loading\" | \"playing\" | \"paused\" — lenient, unknown ⇒ \"idle\". */\n state?: string;\n statePath?: string;\n /** \"sent\" (default) | \"uploading\" | \"failed\". */\n delivery?: string;\n deliveryPath?: string;\n onPlay?: Action;\n onPause?: Action;\n /** fired with `args.positionMs` (ms). */\n onSeek?: Action;\n /** fired with `args.rate`. */\n onRateChange?: Action;\n /** offered only while `delivery === \"failed\"`. */\n onRetry?: Action;\n /** rate cycle, e.g. [1, 1.5, 2]; empty ⇒ no rate control. */\n rates?: number[];\n rate?: number;\n ratePath?: string;\n /** played-bar token (default \"accentPrimary\"); unplayed bars derive from it. */\n tint?: TokenName;\n /** resample target (default 48, clamped 8..128). */\n barCount?: number;\n}"
997
997
  },
998
+ {
999
+ "name": "LiveWaveform",
1000
+ "category": "Live microphone waveform",
1001
+ "propsType": "LiveWaveformProps",
1002
+ "bindings": [
1003
+ "activePath"
1004
+ ],
1005
+ "propsSource": "export interface LiveWaveformProps {\n /** \"audio_record\" (default; the only source). Any other value draws the flat baseline. */\n source?: string;\n /** Visible bar count. Default 32, clamped 8..128. */\n bars?: number;\n /** Bar colour token. Default \"accentPrimary\". */\n color?: TokenName;\n /** Height in pt/dp. Default 32. */\n height?: number;\n /** `$service:` binding → boolean. Live while truthy, baseline otherwise. Empty ⇒ live whenever a recording is active. */\n activePath?: string;\n}"
1006
+ },
998
1007
  {
999
1008
  "name": "Marquee",
1000
- "category": "Recorded-audio bubble (messenger design G4)",
1009
+ "category": "Live microphone waveform",
1001
1010
  "propsType": "MarqueeProps",
1002
1011
  "bindings": [],
1003
1012
  "propsSource": "export interface MarqueeProps {\n text?: string;\n durationMs?: number;\n style?: TokenName;\n color?: TokenName;\n}"
1004
1013
  },
1005
1014
  {
1006
1015
  "name": "Timeline",
1007
- "category": "Recorded-audio bubble (messenger design G4)",
1016
+ "category": "Live microphone waveform",
1008
1017
  "propsType": "TimelineProps",
1009
1018
  "bindings": [
1010
1019
  "entriesPath"
@@ -1013,7 +1022,7 @@
1013
1022
  },
1014
1023
  {
1015
1024
  "name": "PageControl",
1016
- "category": "Recorded-audio bubble (messenger design G4)",
1025
+ "category": "Live microphone waveform",
1017
1026
  "propsType": "PageControlProps",
1018
1027
  "bindings": [],
1019
1028
  "propsSource": "export interface PageControlProps {\n count?: number;\n currentIndex?: number;\n onChange?: Action;\n}"
@@ -3,7 +3,7 @@
3
3
  > GENERATED from `core/ts/src/schema.ts` by `core/web-embed/authoring/gen-reference.mjs`.
4
4
  > The schema is the source of truth — regenerate on schema changes; do not hand-edit.
5
5
 
6
- **89 core component types.** Every component body is `{ "package": "himalaya", "type": "<Type>", "props": { … } }`.
6
+ **90 core component types.** Every component body is `{ "package": "himalaya", "type": "<Type>", "props": { … } }`.
7
7
  Binding grammar: `$service:<service>.<path>` (worker state) · `$item.<field>` (list row template) · `$flag:<key>` (feature flag) · `$env:<key>` (client environment — #1056).
8
8
  Bindings resolve in the text/value props marked **binding-aware** below — **including two `Modifiers` token refs**, `background` and `border.color`, which are the only two whose token a binding actually fills: a worker can drive per-item **theming** (e.g. a game board's per-square color, `background: { token: "$item.bg" }`), not just text content. `shadow` and `backgroundGradient` are `TokenRef`s but are **not** binding-aware on any renderer — `shadow: { token: "$item.x" }` keeps the sentinel as a literal token name and silently loses the per-item styling, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref.
9
9
  `$env:` is **client-resolved** (no worker) and valid in `modifiers.hiddenPath` and `FragmentSlot.casePath` **only** — keys `reduceMotion` / `colorScheme` / `sizeClass` / `isRTL` / `keyboardVisible` (an on-screen keyboard is up — `hiddenPath: "$env:keyboardVisible"` hides a header while typing), with an optional `==`/`!=` comparison (e.g. `hiddenPath: "$env:reduceMotion"`, `hiddenPath: "$env:colorScheme==light"`, `casePath: "$env:colorScheme"`). An unknown key fails open (shown / `defaultCase`).
@@ -100,9 +100,10 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
100
100
  | `MediaField` | Image well + Wix Media upload | `valuePath`, `fallbackTextPath` |
101
101
  | `RichTextField` | Formatted multiline field | `valuePath` |
102
102
  | `VoiceNote` | Recorded-audio bubble (messenger design G4) | `waveformPath`, `durationMsPath`, `positionMsPath`, `statePath`, `deliveryPath`, `ratePath` |
103
- | `Marquee` | Recorded-audio bubble (messenger design G4) | — |
104
- | `Timeline` | Recorded-audio bubble (messenger design G4) | `entriesPath` |
105
- | `PageControl` | Recorded-audio bubble (messenger design G4) | — |
103
+ | `LiveWaveform` | Live microphone waveform | `activePath` |
104
+ | `Marquee` | Live microphone waveform | — |
105
+ | `Timeline` | Live microphone waveform | `entriesPath` |
106
+ | `PageControl` | Live microphone waveform | — |
106
107
  | `WheelPicker` | Pickers & inputs | `optionsPath`, `selectedId` |
107
108
  | `ColorPicker` | Pickers & inputs | `valuePath` |
108
109
  | `OtpInput` | Pickers & inputs | `valuePath` |
@@ -121,7 +122,7 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
121
122
 
122
123
  These props are accepted by the schema and pass validation, but the named platform's renderer never reads them — they silently do nothing (no warning, no log). Prefer a prop NOT listed here, or drive the behaviour from a worker.
123
124
 
124
- **Scope: 7 of 89 components, all of them android / web / ios-only** — every other component/platform pair reads every prop it decodes. The list splits in two, and the halves mean different things:
125
+ **Scope: 7 of 90 components, all of them android / web / ios-only** — every other component/platform pair reads every prop it decodes. The list splits in two, and the halves mean different things:
125
126
 
126
127
  - **`category` (2: `MediaPlayer`, `TimeGrid`)** — the prop changes the component's *kind*. These genuinely are **not implemented**: an overlay renders always-visible inline, so the component does not do the job its name implies. Check the row's note for a working alternative.
127
128
  - **`styling` (5: `Text`, `Icon`, `WebView`, `Video`, `PdfView`)** — the component itself **works**; only the listed prop is inert. Use the component; just do not depend on that one prop.
@@ -169,7 +170,7 @@ So `border` nests an object and `boxShadow`/`backgroundGradient` nest strings. R
169
170
  element interface (printed below) rather than extrapolating from the level.
170
171
 
171
172
  - Modifier-level (`TokenRef` object): `modifiers.background`, `modifiers.shadow`, `modifiers.backgroundGradient`, `modifiers.appear`, `modifiers.material`, `modifiers.pressMotion`, `modifiers.border.color`.
172
- - Component-prop-level (bare `TokenName` string): `Card.background`, `Text.style`, `Text.color`, `Image.placeholder`, `Image.tint`, `Icon.tint`, `Toggle.trackOn`, `Toggle.trackOff`, `Toggle.thumb`, `Badge.token`, `Tag.token`, `ProgressBar.tint`, `ProgressBar.trackColor`, `AvatarStrip.ringGradient`, `ListItem.titleStyle`, `ListItem.subtitleStyle`, `ListItem.titleColor`, `ListItem.subtitleColor`, `ListItem.overlineColor`, `Slider.tint`, `ActivityIndicator.tint`, `Chip.token`, `Label.style`, `Label.color`, `Gauge.tint`, `Rating.color`, `Chart.color`, `DonutChart.color`, `VoiceNote.tint`, `Marquee.style`, `Marquee.color`, `Fab.tint`.
173
+ - Component-prop-level (bare `TokenName` string): `Card.background`, `Text.style`, `Text.color`, `Image.placeholder`, `Image.tint`, `Icon.tint`, `Toggle.trackOn`, `Toggle.trackOff`, `Toggle.thumb`, `Badge.token`, `Tag.token`, `ProgressBar.tint`, `ProgressBar.trackColor`, `AvatarStrip.ringGradient`, `ListItem.titleStyle`, `ListItem.subtitleStyle`, `ListItem.titleColor`, `ListItem.subtitleColor`, `ListItem.overlineColor`, `Slider.tint`, `ActivityIndicator.tint`, `Chip.token`, `Label.style`, `Label.color`, `Gauge.tint`, `Rating.color`, `Chart.color`, `DonutChart.color`, `VoiceNote.tint`, `LiveWaveform.color`, `Marquee.style`, `Marquee.color`, `Fab.tint`.
173
174
 
174
175
  There is **no `modifiers.color` and no `modifiers.tint`** — a `tint` is always a component
175
176
  prop. Of the two nested slots spelled `color`, `modifiers.border.color` is a `TokenRef`
@@ -1919,6 +1920,25 @@ export interface VoiceNoteProps {
1919
1920
  }
1920
1921
  ```
1921
1922
 
1923
+ ### Live microphone waveform
1924
+
1925
+ #### LiveWaveform
1926
+
1927
+ ```ts
1928
+ export interface LiveWaveformProps {
1929
+ /** "audio_record" (default; the only source). Any other value draws the flat baseline. */
1930
+ source?: string;
1931
+ /** Visible bar count. Default 32, clamped 8..128. */
1932
+ bars?: number;
1933
+ /** Bar colour token. Default "accentPrimary". */
1934
+ color?: TokenName;
1935
+ /** Height in pt/dp. Default 32. */
1936
+ height?: number;
1937
+ /** `$service:` binding → boolean. Live while truthy, baseline otherwise. Empty ⇒ live whenever a recording is active. */
1938
+ activePath?: string;
1939
+ }
1940
+ ```
1941
+
1922
1942
  #### Marquee
1923
1943
 
1924
1944
  ```ts
@@ -14,6 +14,14 @@ 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 captcha setup|status` target refusal
18
+
19
+ | Code | Meaning |
20
+ | --- | --- |
21
+ | `insecure_target` | The control URL is neither an HTTPS Wix host nor a loopback dev server. No CAPTCHA request or credential is sent to that target. Stdout retains `complete: false` and `error: "insecure_target"`; exit 1. |
22
+
23
+ This is not a whole-command migration: other CAPTCHA failures retain their legacy envelopes.
24
+
17
25
  ## `himi login --wix` codes
18
26
 
19
27
  | Code | Meaning |
@@ -60,7 +68,7 @@ CLI: run the login again or use `fallbackUrl`.
60
68
 
61
69
  ## `himi site client list|ensure` codes
62
70
 
63
- These commands need a site-scoped Wix credential. They take, in order: `WIX_API_KEY`; the owner's Wix **account** token in `WIX_TOKEN`, exchanged for a 900-second token on that site (OAuth2-NG token exchange, `POST https://www.wixapis.com/oauth2/token`); or a logged-in `wix` CLI (`wix token --site <msid>`). With `WIX_TOKEN` set, no `wix` CLI is needed. The exchanged token is kept in memory for that run only, re-exchanged a minute before it expires or on a `401`, and never written, logged or printed. A himi login alone is not a site credential: `--device` holds no Wix token, and a token piped to `--wix-token-stdin` is not kept after the login. With no site credential, a client id kept by `himi login --device --site` answers instead (`source: "device-login"`; `ensure` only for the default name and the stored redirect, and never with `--new`). The credential is checked before anything is sent to the site. A failed check prints `{ ok: false, code, error, fix, dashboardUrl, usage }` on stderr, exit 1. `fix` is one line to act on; `dashboardUrl` is the site's OAuth-apps page, where the owner can copy a client id by hand; `usage` is the usage of the subcommand that ran. None of these codes is retried. A network failure or a `5xx` from the exchange is retried like any other Wix call, and is never given one of these codes.
71
+ These commands need a site-scoped Wix credential. They take, in order: `WIX_API_KEY`; the owner's Wix **account** token in `WIX_TOKEN`, exchanged for a 900-second token on that site (OAuth2-NG token exchange, `POST https://www.wixapis.com/oauth2/token`); or a logged-in `wix` CLI (`wix token --site <msid>`). With `WIX_TOKEN` set, no `wix` CLI is needed. The exchanged token is kept in memory for that run only, re-exchanged a minute before it expires or on a `401`, and never written, logged or printed. A himi login alone is not a site credential: `--device` holds no Wix token, and a token piped to `--wix-token-stdin` is not kept after the login. With no explicit site credential, a client id kept by `himi login --device --site` answers instead (`source: "device-login"`; `ensure` only for the default name and the stored redirect, and never with `--new`). A `wix` CLI on PATH is tried first; when its `wix token --site` fails (`wix_cli_token_failed`: not logged in, unsupported Node), the stored id still answers, with a `warning` naming the failure. A refused `WIX_API_KEY` or `WIX_TOKEN` is never replaced by the stored id. The credential is checked before anything is sent to the site. A failed check prints `{ ok: false, code, error, fix, dashboardUrl, usage }` on stderr, exit 1. `fix` is one line to act on; `dashboardUrl` is the site's OAuth-apps page, where the owner can copy a client id by hand; `usage` is the usage of the subcommand that ran. None of these codes is retried. A network failure or a `5xx` from the exchange is retried like any other Wix call, and is never given one of these codes.
64
72
 
65
73
  | Code | Meaning |
66
74
  | --- | --- |
package/guides/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_comment": "AUTO-GENERATED by tools/authoring-kit/bundle.mjs — DO NOT EDIT. Regenerate with: npm run authoring:gen",
3
3
  "schemaStamp": {
4
- "componentCount": 89,
4
+ "componentCount": 90,
5
5
  "schemaSource": "core/ts/src/schema.ts"
6
6
  },
7
7
  "portalUrl": "https://apps.wix.com/_api/himi-serve/docs",
@@ -14,7 +14,7 @@ install link or QR. These paths are distinct from the CI gates (`test:*`,
14
14
  > `himi dist` request returns an installable QA artifact and install link. A customer
15
15
  > iOS request may instead use `--signing byo --destination testflight --site <id>
16
16
  > --version <x.y.z>`; the build validates the App Store IPA, and an authorized
17
- > `himi dist status <jobId>` read uploads it to the customer's App Store Connect account.
17
+ > `himi dist status <jobId>` read starts its upload to the customer's App Store Connect account.
18
18
  > The customer path is not Himi Player's Wix Mobile Release route and does not use MRE.
19
19
 
20
20
  > **Customer request gate.** Do not dispatch `himi dist` merely because a draft preview is ready.
@@ -56,8 +56,10 @@ himi dist status <jobId> --target wix
56
56
  ```
57
57
 
58
58
  The pool records `READY_FOR_UPLOAD` after validating the IPA. The status read proves site
59
- ownership with the Wix credential, then claims and uploads the IPA once; repeat reads are
60
- safe. Without that authorization, status reports the waiting state and does not upload.
59
+ ownership with the Wix credential, then starts the upload in the background (claimed once) and
60
+ answers without waiting for it, so it shows `READY_FOR_UPLOAD` or `UPLOADING`: read again until
61
+ `UPLOADED` or `FAILED`. Without `--no-wait`, `himi dist` reads on until then. Repeat reads are
62
+ safe. Without that authorization, status reports the waiting state and starts nothing.
61
63
  The upload also requires customer App Store upload to be enabled on the Himi backend
62
64
  (`HIMI_DIST_CUSTOMER_APP_STORE_UPLOAD=1`); where that switch is off, the job stays at `READY_FOR_UPLOAD` with a validated IPA that is
63
65
  never uploaded.
@@ -1313,7 +1315,8 @@ himi dist --app <app> --platform android --aab --wait --target bo
1313
1315
  their hashes. The upload starts on its own once the pool reports the validated IPA: the pool's
1314
1316
  callback starts it in the background, and so does every list read of the app's builds (the owner
1315
1317
  card's poll) while it can be claimed, which also picks up one a stopped serve pod left. A status
1316
- read still uploads too; any read the caller may make of the app moves it on, since the owner was
1318
+ read starts it the same way and answers without waiting for it (it never waits on Apple, so a
1319
+ read answers in seconds); any read the caller may make of the app moves it on, since the owner was
1317
1320
  proven when the build started (the Containers server's reads carry a project token, not the
1318
1321
  owner's Wix login). A caller reads the job until `customerAppStore.status` is `UPLOADED` or
1319
1322
  `FAILED` to learn how it ended; it no longer has to read for the upload to happen. An attempt that
@@ -350,7 +350,7 @@
350
350
  {
351
351
  "name": "subscribeLevel",
352
352
  "kind": "function",
353
- "jsdoc": "/** Subscribe the worker to native-pushed live meter readings. */",
353
+ "jsdoc": "/** Subscribe the worker to native-pushed live meter readings, delivered at most 10 times a\n * second while a `start()` recording runs (iOS, macOS and Android; web answers a snapshot).\n * For an on-screen meter, prefer the `LiveWaveform` component: the renderer reads the level\n * itself, so the worker does not re-render the screen on every reading. */",
354
354
  "decl": "export async function subscribeLevel(handler: string): Promise<void>;",
355
355
  "verificationChecked": true
356
356
  },
@@ -3567,14 +3567,14 @@
3567
3567
  "name": "IapVerticalOrderAdapter",
3568
3568
  "kind": "interface",
3569
3569
  "jsdoc": "/** A vertical whose order the device opens; it is charged through cashier and paid with StartPayment. */",
3570
- "decl": "export interface IapVerticalOrderAdapter extends IapAdapterBase {\n readonly repeatable?: boolean;\n /** Opens, or reuses the vertical's own open, order for the signed-in member. */\n /** Repeatable adapters call beforeCreate immediately before their first inventory write,\n * after read-only checks, and abort without writing if it returns false. They call afterCreate\n * with the ids of each inventory write as soon as it answers, so a later failure can be undone. */\n openOrder(item: IapOrderItem, bridge: SessionBoundBridge, beforeCreate?: (guard: OpeningGuard) => boolean, afterCreate?: (guard: OpeningGuard) => void): Promise<OrderAttempt>;\n /** Settles an earlier attempt's guard before a new sale of the same item. `settled`: the attempt\n * that wrote it has had time to finish, so what it created may be undone; before then it may be\n * another screen's sale still in flight. `claim` must answer true immediately before anything\n * is undone: it takes the guard from that sale, which is then never charged. With no item (on\n * entry, not a sale) only `released` matters. Without it, a guard holds its item until its `releaseAt`. */\n resolveOpening?(guard: OpeningGuard, item: IapOrderItem | undefined, bridge: SessionBoundBridge, options: { settled: boolean; claim(): boolean }): Promise<OpeningResolution>;\n /** Re-reads an order opened earlier; `open` only while it can still be paid. */\n reopenOrder(order: { cashierOrderId: string; verticalRef: VerticalRef }, bridge: SessionBoundBridge): Promise<OrderAttempt>;\n itemPayment?: never;\n}",
3570
+ "decl": "export interface IapVerticalOrderAdapter extends IapAdapterBase {\n readonly repeatable?: boolean;\n /** Opens, or reuses the vertical's own open, order for the signed-in member. */\n /** Repeatable adapters call beforeCreate immediately before their first inventory write,\n * after read-only checks, and abort without writing if it returns false. They call afterCreate\n * with the ids of each inventory write as soon as it answers; on false they answer `unavailable`. */\n openOrder(item: IapOrderItem, bridge: SessionBoundBridge, beforeCreate?: (guard: OpeningGuard) => boolean, afterCreate?: (guard: OpeningGuard) => boolean): Promise<OrderAttempt>;\n /** Settles an earlier attempt's guard before a new sale of the same item. `settled`: the attempt\n * that wrote it has had time to finish, so what it created may be undone; before then it may be\n * another screen's sale still in flight. `claim` must answer true immediately before anything\n * is undone: it takes the guard from that sale, which is then never charged. With no item (on\n * entry, not a sale) only `released` matters. Without it, a guard holds its item until its `releaseAt`. */\n resolveOpening?(guard: OpeningGuard, item: IapOrderItem | undefined, bridge: SessionBoundBridge, options: { settled: boolean; claim(): boolean }): Promise<OpeningResolution>;\n /** Re-reads an order opened earlier; `open` only while it can still be paid. */\n reopenOrder(order: { cashierOrderId: string; verticalRef: VerticalRef }, bridge: SessionBoundBridge): Promise<OrderAttempt>;\n itemPayment?: never;\n}",
3571
3571
  "verificationChecked": true
3572
3572
  },
3573
3573
  {
3574
3574
  "name": "IapItemPaymentAdapter",
3575
3575
  "kind": "interface",
3576
3576
  "jsdoc": "",
3577
- "decl": "export interface IapItemPaymentAdapter extends IapAdapterBase {\n /** The catalog item to order, for an item `eligibility` accepted. A vertical that must read or\n * make something first (a plan's pricing variant, the member's booking) does it here, through\n * the session-bound bridge, before anything is ordered. */\n itemPayment(item: IapOrderItem, bridge: SessionBoundBridge, beforeCreate?: (guard: OpeningGuard) => boolean, afterCreate?: (guard: OpeningGuard) => void):\n ItemPayment | ItemPaymentRefusal | Promise<ItemPayment | ItemPaymentRefusal>;\n openOrder?: never;\n reopenOrder?: never;\n /** Each sale is its own attempt (a ticket, a booking): the item carries an `attemptId`. */\n repeatable?: boolean;\n /** A repeatable adapter whose `itemPayment` makes something first (the member's booking) guards it\n * as an order adapter does: `beforeCreate` before that write, `afterCreate` with what it made, and\n * `resolveOpening` settles one a later attempt finds unpaid. */\n resolveOpening?: IapVerticalOrderAdapter[\"resolveOpening\"];\n /** StartItemPayment answers a re-tap with the same pending Payment (Online Programs), so a closed\n * sheet's CancelPayment could cancel the sale being paid: none is sent. */\n reusesPayment?: boolean;\n}",
3577
+ "decl": "export interface IapItemPaymentAdapter extends IapAdapterBase {\n /** The catalog item to order, for an item `eligibility` accepted. A vertical that must read or\n * make something first (a plan's pricing variant, the member's booking) does it here, through\n * the session-bound bridge, before anything is ordered. */\n itemPayment(item: IapOrderItem, bridge: SessionBoundBridge, beforeCreate?: (guard: OpeningGuard) => boolean, afterCreate?: (guard: OpeningGuard) => boolean):\n ItemPayment | ItemPaymentRefusal | Promise<ItemPayment | ItemPaymentRefusal>;\n openOrder?: never;\n reopenOrder?: never;\n /** Each sale is its own attempt (a ticket, a booking): the item carries an `attemptId`. */\n repeatable?: boolean;\n /** A repeatable adapter whose `itemPayment` makes something first (the member's booking) guards it\n * as an order adapter does: `beforeCreate` before that write, `afterCreate` with what it made, and\n * `resolveOpening` settles one a later attempt finds unpaid. */\n resolveOpening?: IapVerticalOrderAdapter[\"resolveOpening\"];\n /** StartItemPayment answers a re-tap with the same pending Payment (Online Programs), so a closed\n * sheet's CancelPayment could cancel the sale being paid: none is sent. */\n reusesPayment?: boolean;\n}",
3578
3578
  "verificationChecked": true
3579
3579
  },
3580
3580
  {
@@ -3602,14 +3602,14 @@
3602
3602
  "name": "OrderRef",
3603
3603
  "kind": "interface",
3604
3604
  "jsdoc": "",
3605
- "decl": "export interface OrderRef {\n /** `<kind>:<id>` of the item, or `payment:<paymentId>` for a payment with no local order. */\n key: string;\n stage: OrderRefStage;\n kind?: string;\n verticalRef?: VerticalRef;\n cashierOrderId?: string;\n wixTransactionId?: string;\n paymentId?: string;\n storeProductId?: string;\n appProductId?: string;\n appleTransactionId?: string;\n /** The StoreKit token StartPayment minted for this payment (D61): recovery finds the order by it. */\n appAccountToken?: string;\n /** For `openingOrder`: when anything its write created has been released by Wix. */\n releaseAt?: number;\n updatedAt: number;\n}",
3605
+ "decl": "export interface OrderRef {\n /** `<kind>:<id>` of the item, or `payment:<paymentId>` for a payment with no local order. */\n key: string;\n stage: OrderRefStage;\n kind?: string;\n verticalRef?: VerticalRef;\n cashierOrderId?: string;\n wixTransactionId?: string;\n paymentId?: string;\n storeProductId?: string;\n appProductId?: string;\n appleTransactionId?: string;\n /** The StoreKit token StartPayment minted for this payment (D61): recovery finds the order by it. */\n appAccountToken?: string;\n /** For `openingOrder`: when anything its write created has been released by Wix. */\n releaseAt?: number;\n /** For `openingOrder`: the attempt that owns the guard. Ownership is checked by it, never by\n * `updatedAt`, which two workers can write in the same millisecond. Absent on guards stored before it. */\n guardToken?: string;\n updatedAt: number;\n}",
3606
3606
  "verificationChecked": true
3607
3607
  },
3608
3608
  {
3609
3609
  "name": "OrderRefPartition",
3610
3610
  "kind": "interface",
3611
3611
  "jsdoc": "",
3612
- "decl": "export interface OrderRefPartition {\n refs(): readonly OrderRef[];\n /** False when the write could not be verified as durable; the caller must not proceed. */\n put(ref: OrderRef): boolean;\n remove(key: string): boolean;\n}",
3612
+ "decl": "export interface OrderRefPartition {\n refs(): readonly OrderRef[];\n /** False when the write could not be verified as durable; the caller must not proceed. */\n put(ref: OrderRef): boolean;\n remove(key: string): boolean;\n /** Writes `next` only while the key still holds `expected`'s creation guard (the same token). */\n replaceGuard(expected: OrderRef, next: OrderRef): GuardWrite;\n /** Removes the key only while it still holds `expected`'s creation guard. */\n removeGuard(expected: OrderRef): GuardWrite;\n}",
3613
3613
  "verificationChecked": true
3614
3614
  },
3615
3615
  {
@@ -28293,6 +28293,29 @@
28293
28293
  "http": "POST /members/v3/followers/my/connections",
28294
28294
  "verificationChecked": true
28295
28295
  },
28296
+ {
28297
+ "name": "WixMemberAbout",
28298
+ "kind": "interface",
28299
+ "jsdoc": "",
28300
+ "decl": "export interface WixMemberAbout {\n id?: string;\n memberId?: string;\n /** Ricos document of the \"About\" section. */\n content?: Record<string, unknown>;\n}",
28301
+ "verificationChecked": true
28302
+ },
28303
+ {
28304
+ "name": "WixQueryMemberAboutsResponse",
28305
+ "kind": "interface",
28306
+ "jsdoc": "",
28307
+ "decl": "export interface WixQueryMemberAboutsResponse {\n memberAbouts?: WixMemberAbout[];\n}",
28308
+ "verificationChecked": true
28309
+ },
28310
+ {
28311
+ "name": "queryMemberAbouts",
28312
+ "kind": "function",
28313
+ "jsdoc": "/** The \"About\" sections that match a query — POST /members/v2/abouts/query. Filter by\n * `{ memberId }`. A member with no About yields an empty list; the by-id GET answers 404 instead,\n * so callers should query rather than get.\n *\n * @scope visitor — observed live: an anonymous visitor token (the Branded Lite site's OAuth client) got 200 for eight public members.\n * None of them had an About section, so the shape of a non-empty answer is the documented one, not an observed one. The API lock\n * (`codegen/wix/auto/lock.json`) lists the APP identity only. A refused read must hide the About section and nothing else; it never\n * means \"this member has no About\". */",
28314
+ "decl": "export function queryMemberAbouts(\n req: { query?: { filter?: Record<string, unknown>; cursorPaging?: { limit?: number; cursor?: string } } } = {},\n options?: WixCallOptions,\n): Promise<WixQueryMemberAboutsResponse>;",
28315
+ "http": "POST /members/v2/abouts/query",
28316
+ "scope": "visitor",
28317
+ "verificationChecked": true
28318
+ },
28296
28319
  {
28297
28320
  "name": "WixMemberLastOpenApp",
28298
28321
  "kind": "interface",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1660.0",
3
+ "version": "0.1662.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": [
@@ -72,5 +72,5 @@
72
72
  "artifactId": "himalaya-cli"
73
73
  }
74
74
  },
75
- "falconPackageHash": "e2336ceb2590a9a8d43c93035c296a1a7cca6730797e90393ba7d957"
75
+ "falconPackageHash": "4d3f3e985b8a80b1afaca3b94bff7fb078c805dbfd5f07c3e5c7a1f7"
76
76
  }
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {
@@ -94,6 +94,14 @@ export function formatDateMedium(date: Date, locale = appLocale(), timeZone?: st
94
94
  return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
95
95
  }
96
96
 
97
+ /** `{ month: "short", year: "numeric" }` — "Jan 2026". */
98
+ export function formatMonthYear(date: Date, locale = "en-US", timeZone?: string): string {
99
+ if (hasIntl()) {
100
+ return dateFormat(locale, { month: "short", year: "numeric" }, timeZone).format(date);
101
+ }
102
+ return `${MONTHS_SHORT[date.getMonth()]} ${date.getFullYear()}`;
103
+ }
104
+
97
105
  /** `{ month: "short", day: "numeric" }` — "Jan 5". */
98
106
  export function formatMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
99
107
  if (hasIntl()) {