@wix/himalaya-cli 0.1643.0 → 0.1644.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/ts/src/schema.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{3361f61ce6b490c8b7b252658ea67f733d88c6e9f95906d0e31eea4827141df3.bin → 155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +358 -144
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +6 -0
- package/guides/designing-himi-screens.md +18 -0
- package/guides/offline-reading.md +1 -1
- package/guides/recipe-four-state.md +17 -0
- package/guides/release-notes.md +21 -0
- package/guides/sdk-reference.json +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +6 -3
- package/templates/branded-lite/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/branded-lite/tier5-src/himi-store-product/index.ts +7 -3
- package/templates/community-club/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/events-meetups/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/gym-fitness/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +6 -3
- package/templates/nonprofit-cause/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/podcast-creator/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/portfolio-creative/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +6 -3
- package/templates/restaurant/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/retail-store/tier5-src/_shared/iap-presentation.ts +5 -2
- package/templates/retail-store/tier5-src/himi-store-product/index.ts +7 -3
- package/templates/yoga-studio/tier5-src/_shared/iap-presentation.ts +5 -2
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -3425,6 +3425,12 @@ export interface LogicBundleRef {
|
|
|
3425
3425
|
intervalMs: number;
|
|
3426
3426
|
action: string;
|
|
3427
3427
|
};
|
|
3428
|
+
/** The worker's boot state, `{ serviceName: initialState }`, baked into the descriptor from the
|
|
3429
|
+
* bundle when the screen is served (`extractBundleServices`). A host with no live worker and no saved snapshot paints the
|
|
3430
|
+
* first frame against it, so the screen's own loading state shows at once — its skeleton, its
|
|
3431
|
+
* title, its gates closed as the worker will close them — instead of a generic loader or every
|
|
3432
|
+
* fail-open branch. The live worker replaces it as soon as it boots. */
|
|
3433
|
+
bootState?: Record<string, unknown>;
|
|
3428
3434
|
}
|
|
3429
3435
|
/** Back-gesture behavior for a hosted WebView (Tier 3/4 + embeddable component). */
|
|
3430
3436
|
export type BackButtonPolicy = "pop_screen" | "webview_history_then_pop";
|
|
@@ -8893,7 +8893,9 @@ var screenDescriptorSchema = {
|
|
|
8893
8893
|
intervalMs: { type: "integer", minimum: 1 },
|
|
8894
8894
|
action: { type: "string" }
|
|
8895
8895
|
}
|
|
8896
|
-
}
|
|
8896
|
+
},
|
|
8897
|
+
// The worker's boot state (`{ serviceName: initialState }`), for the first frame.
|
|
8898
|
+
bootState: { type: "object" }
|
|
8897
8899
|
}
|
|
8898
8900
|
}
|
|
8899
8901
|
},
|
|
@@ -7086,7 +7086,9 @@ var screenDescriptorSchema = {
|
|
|
7086
7086
|
intervalMs: { type: "integer", minimum: 1 },
|
|
7087
7087
|
action: { type: "string" }
|
|
7088
7088
|
}
|
|
7089
|
-
}
|
|
7089
|
+
},
|
|
7090
|
+
// The worker's boot state (`{ serviceName: initialState }`), for the first frame.
|
|
7091
|
+
bootState: { type: "object" }
|
|
7090
7092
|
}
|
|
7091
7093
|
}
|
|
7092
7094
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2462113
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 23064
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-DTUlmBj2.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1",
|
|
85
|
+
"file": "preview-deferred/155f61519885c85d61a39fa595197071a3ca07680da56055ccb1dcff2e709cd1.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|