@wix/himalaya-cli 0.1585.0 → 0.1587.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/app-info/src/index.d.ts +21 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/ui/src/index.d.ts +22 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +47 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/index.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/locale.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/store-adopt.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/app-info.mjs +17 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +250 -21
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +17 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +17 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/ui.mjs +4 -0
- package/dist/cli.mjs +2164 -1369
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-config.md +1 -1
- package/guides/importable-sdks.md +1 -1
- package/guides/sdk-reference.json +9 -3
- package/guides/web-page-sdk-reference.md +1 -1
- package/package.json +2 -2
|
Binary file
|
package/guides/app-config.md
CHANGED
|
@@ -137,7 +137,7 @@ does not include answers `module_not_linked` on device. Some components need one
|
|
|
137
137
|
and `himi validate` errors on a screen that uses one the app does not declare.
|
|
138
138
|
`presigned_upload.putFile` also requires `files` on the calling screen.
|
|
139
139
|
|
|
140
|
-
App-level capability vocabulary: `camera`, `barcode_scanner`, `biometrics`, `secure_storage`, `share`, `push`, `file_picker`, `files`, `open_url`, `pdf`, `clipboard`, `theme`, `photos`, `presigned_upload`, `ui`, `calendar`, `contacts`, `tasks`, `audio_record`, `audio_record_background`, `calls`, `location`, `location_background`, `motion`, `health`, `media_playback`, `webview`, `browser_auth`, `haptic`, `himi_apps`, `iap`, `keyboard`, `network`, `wix_cashier`, `wix_chat`, `live_activity`, `local_database`, `speech`, `speaker_diarization`, `system_intents`, `on_device_ai`, `app_info`, `release_control`, `godot`, `base44`, `animation`.
|
|
140
|
+
App-level capability vocabulary: `camera`, `barcode_scanner`, `biometrics`, `secure_storage`, `share`, `push`, `file_picker`, `files`, `open_url`, `pdf`, `clipboard`, `theme`, `l10n`, `photos`, `presigned_upload`, `ui`, `calendar`, `contacts`, `tasks`, `audio_record`, `audio_record_background`, `calls`, `location`, `location_background`, `motion`, `health`, `media_playback`, `webview`, `browser_auth`, `haptic`, `himi_apps`, `iap`, `keyboard`, `network`, `wix_cashier`, `wix_chat`, `live_activity`, `local_database`, `speech`, `speaker_diarization`, `system_intents`, `on_device_ai`, `app_info`, `release_control`, `godot`, `base44`, `animation`.
|
|
141
141
|
|
|
142
142
|
## What `himi validate` checks (7 passes)
|
|
143
143
|
|
|
@@ -14,7 +14,7 @@ package in one greppable file) or `GET /v1/sdk/<name>` over HTTP; in the CLI,
|
|
|
14
14
|
|
|
15
15
|
- `@himalaya/state` — Tier-5 logic-bundle state surface.
|
|
16
16
|
- `@himalaya/agent` — Tier-5 agent integration.
|
|
17
|
-
- `@himalaya/app-info` — Tier-5 typed binding for this app's OWN build + OTA metadata.
|
|
17
|
+
- `@himalaya/app-info` — Tier-5 typed binding for this app's OWN build + OTA metadata, and the device it runs on.
|
|
18
18
|
- `@himalaya/audio-record` — Tier-5 typed binding for microphone recording.
|
|
19
19
|
- `@himalaya/auth` — —
|
|
20
20
|
- `@himalaya/base44` — Tier-5 typed binding for a Base44 app's backend.
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
{
|
|
173
173
|
"name": "@himalaya/app-info",
|
|
174
174
|
"source": "core/sdk/app-info/src/index.ts",
|
|
175
|
-
"description": "Tier-5 typed binding for this app's OWN build + OTA metadata.",
|
|
175
|
+
"description": "Tier-5 typed binding for this app's OWN build + OTA metadata, and the device it runs on.",
|
|
176
176
|
"api": [
|
|
177
177
|
{
|
|
178
178
|
"name": "AppPlatform",
|
|
@@ -5078,12 +5078,18 @@
|
|
|
5078
5078
|
"name": "SnackbarOptions",
|
|
5079
5079
|
"kind": "interface",
|
|
5080
5080
|
"jsdoc": "",
|
|
5081
|
-
"decl": "export interface SnackbarOptions {\n message: string;\n /** Default \"info\". */\n tone?: SnackbarTone;\n /** Auto-dismiss delay in ms, on every host. Default 3000; 0 or less also means 3000. */\n durationMs?: number;\n}"
|
|
5081
|
+
"decl": "export interface SnackbarOptions {\n message: string;\n /** Default \"info\". */\n tone?: SnackbarTone;\n /** Auto-dismiss delay in ms, on every host. Default 3000; 0 or less also means 3000. */\n durationMs?: number;\n /** One action button (\"Undo\", \"View\"). Tapping it runs `actionId` with `args`, then dismisses the\n * snackbar. The id must be a worker action:\n * - one of this bundle's own `tier5.<svc>.<action>` ids — run on THIS worker, never another\n * screen's or the app-level worker's;\n * - an app service's `app.<svc>.<action>` — needs `app_services` and an exported action (an app\n * service's own id needs neither). The web host refuses it until it hosts app services.\n * Any other id (`capability.*`, `himi.*`, a registered handler) is refused when the snackbar is\n * requested: the call rejects and nothing is shown. A host that cannot tell which worker asked\n * (React Native, an embedded web region) refuses every `action` the same way. */\n action?: SnackbarAction;\n}"
|
|
5082
|
+
},
|
|
5083
|
+
{
|
|
5084
|
+
"name": "SnackbarAction",
|
|
5085
|
+
"kind": "interface",
|
|
5086
|
+
"jsdoc": "",
|
|
5087
|
+
"decl": "export interface SnackbarAction {\n /** The button's text — also its VoiceOver / TalkBack / screen-reader label. */\n label: string;\n /** What the tap runs: one of this bundle's own `tier5.<svc>.<action>` ids, or `app.<svc>.<action>`. */\n actionId: string;\n /** The action's arguments, which the reducer receives as typed JSON. */\n args?: Record<string, unknown>;\n}"
|
|
5082
5088
|
},
|
|
5083
5089
|
{
|
|
5084
5090
|
"name": "snackbar",
|
|
5085
5091
|
"kind": "function",
|
|
5086
|
-
"jsdoc": "/** Show a transient snackbar toast: it floats above the tab bar, slides and fades in and out\n * (fades only under reduced motion), queues behind one that is already showing, and is read\n * by VoiceOver / TalkBack. Resolves once it is PRESENTED (not after it auto-dismisses).\n * Rejects with `no_ui_host` if no presenter is attached
|
|
5092
|
+
"jsdoc": "/** Show a transient snackbar toast: it floats above the tab bar, slides and fades in and out\n * (fades only under reduced motion), queues behind one that is already showing, and is read\n * by VoiceOver / TalkBack. Resolves once it is PRESENTED (not after it auto-dismisses).\n * Rejects with `no_ui_host` if no presenter is attached; with an `action`, also with\n * `invalid_action` (empty label or id), `action_not_allowed` (not one of this bundle's\n * actions), or, for an `app.*` id, `undeclared` (no `app_services`), `not_exported`, `no_service`,\n * `no_action`, `not_booted` or `unavailable`. */",
|
|
5087
5093
|
"decl": "export async function snackbar(options: SnackbarOptions): Promise<void>;"
|
|
5088
5094
|
},
|
|
5089
5095
|
{
|
|
@@ -14,7 +14,7 @@ A capability works only when the app owner enabled it for your site; otherwise t
|
|
|
14
14
|
capabilities whose results include device-file tokens rather than bytes (read them with `files.readBase64`). Generated from
|
|
15
15
|
the SDK sources, so it matches the shipped SDKs.
|
|
16
16
|
|
|
17
|
-
- [`app_info`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fapp_info?format=md) — This app's OWN build + OTA metadata. 2 methods · not in Brandy.
|
|
17
|
+
- [`app_info`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fapp_info?format=md) — This app's OWN build + OTA metadata, and the device it runs on. 2 methods · not in Brandy.
|
|
18
18
|
- [`audio_record`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Faudio_record?format=md) — Microphone recording. 16 methods · returns FileHandles.
|
|
19
19
|
- [`base44`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fbase44?format=md) — A Base44 app's backend. 11 methods · Brandy: conditional.
|
|
20
20
|
- [`biometrics`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fbiometrics?format=md) — Biometric authentication capability. 2 methods.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1587.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": "
|
|
75
|
+
"falconPackageHash": "02ee75f8ae816a483cf73adfb92ac39e19a8f5c9c6835280c85f6bf2"
|
|
76
76
|
}
|