@wix/himalaya-cli 0.1949.0 → 0.1950.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 (24) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/network/src/index.d.ts +22 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/message-format.d.ts +1 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -1
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +1 -8
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -1
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/network.mjs +19 -3
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -1
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +1 -8
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -1
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -1
  16. package/dist/browser-plane/assets.json +5 -5
  17. package/dist/browser-plane/preview-deferred/{a8cfd0e17359578587e8937e88dedd40b46d533f08b4d2fdac4c47d5bae6f385.bin → bb3ece9e6e814275817059f029f1b2db624dceb90d9e1a53ebae2b45fe6d36e5.bin} +1 -1
  18. package/dist/browser-plane/sw.js +9 -9
  19. package/dist/cli.mjs +107 -79
  20. package/dist/preview-assets.generated.bin +0 -0
  21. package/guides/release-notes.md +11 -0
  22. package/guides/sdk-reference.json +28 -0
  23. package/guides/web-page-sdk-reference.md +1 -1
  24. package/package.json +2 -2
Binary file
@@ -14,6 +14,17 @@ areas, always in the same order, so you can skim for the one you care about.
14
14
 
15
15
  ---
16
16
 
17
+ ## 2026-11-29
18
+
19
+ ### Logic, data & SDKs
20
+
21
+ - **The iOS and Android embed can run on host-owned services, as an experimental opt-in.** A host that already owns the
22
+ person's session, its Wix calls and its telemetry passes them as one object (`services:`) instead of a `dataSource`.
23
+ A worker never serves two identities, the embed's telemetry never touches the host app's own sink, and a host
24
+ `accountId` that disagrees with the services identity refuses the mount. It needs `@_spi(HimalayaEmbedServices)` on
25
+ iOS and `@ExperimentalHimalayaEmbedServices` on Android, has no version commitment yet, and changes nothing for a host
26
+ that does not opt in. See the embedding guide. (#6762)
27
+
17
28
  ## 2026-11-26
18
29
 
19
30
  ### Getting started & the CLI
@@ -5011,6 +5011,34 @@
5011
5011
  "jsdoc": "/**\n * Have `handler` (`\"<service>.<action>\"`) invoked with the new {@link NetworkStatus} on each\n * CHANGE. Changes are debounced 500 ms and a reading equal to the last one delivered is\n * suppressed, so a flapping interface does not storm the reducer. The subscription lives\n * as long as the calling worker and is released when it is torn down. Subscribing the same\n * handler twice is idempotent.\n *\n * Resolves with the status at the moment of subscribing, so the screen can paint the\n * current state without waiting for the first change.\n *\n * ```ts\n * import { subscribe } from \"@himalaya/network\";\n *\n * init: (s) => {\n * subscribe(\"net.changed\").then((now) => net.changed(now)).catch(() => {});\n * return s;\n * },\n * changed: (s, status) => ({ ...s, online: status.online, type: status.type }),\n * ```\n */",
5012
5012
  "decl": "export async function subscribe(handler: string): Promise<NetworkStatus>;",
5013
5013
  "verificationChecked": true
5014
+ },
5015
+ {
5016
+ "name": "NetworkWatchEvent",
5017
+ "kind": "type",
5018
+ "jsdoc": "/** One answer from {@link watchNext}: a settled change, a quiet window, or the end of the watch. */",
5019
+ "decl": "export type NetworkWatchEvent =\n | { event: \"change\" | \"timeout\"; status: NetworkStatus }\n | { event: \"ended\" };",
5020
+ "verificationChecked": true
5021
+ },
5022
+ {
5023
+ "name": "watchStart",
5024
+ "kind": "function",
5025
+ "jsdoc": "/**\n * Start a change watch — the pull twin of {@link subscribe}, for a WebView page, which has no\n * worker to push into. Resolves with the watch id and the status at the moment of starting;\n * loop on {@link watchNext} and call {@link watchStop} when done. Changes are debounced and\n * deduped exactly as `subscribe` does. Returns `null` where the host has no network source.\n */",
5026
+ "decl": "export async function watchStart(): Promise<{ watchId: string; status: NetworkStatus } | null>;",
5027
+ "verificationChecked": true
5028
+ },
5029
+ {
5030
+ "name": "watchNext",
5031
+ "kind": "function",
5032
+ "jsdoc": "/** Park until the next settled change (`change`), the window elapses (`timeout`, with the\n * current status), or the watch is stopped (`ended`). */",
5033
+ "decl": "export async function watchNext(watchId: string, timeoutMs = 30_000): Promise<NetworkWatchEvent>;",
5034
+ "verificationChecked": true
5035
+ },
5036
+ {
5037
+ "name": "watchStop",
5038
+ "kind": "function",
5039
+ "jsdoc": "/** Stop a watch; a parked {@link watchNext} resolves `ended`. */",
5040
+ "decl": "export async function watchStop(watchId: string): Promise<void>;",
5041
+ "verificationChecked": true
5014
5042
  }
5015
5043
  ]
5016
5044
  },
@@ -41,7 +41,7 @@ the SDK sources, so it matches the shipped SDKs.
41
41
  - [`location`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Flocation?format=md) — Device location. 10 methods.
42
42
  - [`media_playback`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fmedia_playback?format=md) — Background-capable media playback and offline downloads. 21 methods · returns FileHandles.
43
43
  - [`motion`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fmotion?format=md) — Device's motion sensors. 7 methods.
44
- - [`network`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fnetwork?format=md) — Network capability. 1 method.
44
+ - [`network`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fnetwork?format=md) — Network capability. 4 methods.
45
45
  - [`on_device_ai`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fon_device_ai?format=md) — ON-DEVICE text generation. 6 methods.
46
46
  - [`open_url`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fopen_url?format=md) — Opening links + external apps. 2 methods.
47
47
  - [`pdf`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fpdf?format=md) — Viewing PDF documents. 2 methods.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1949.0",
3
+ "version": "0.1950.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": "7c6ed2cbe067fc52d207d5a8162356038105f1c6ee963f6d489e7efe"
85
+ "falconPackageHash": "6a6de1f69bc380e0cb94602964672643696e19f34e5d5c5b67ff0e1a"
86
86
  }