@wix/himalaya-cli 0.1183.0 → 0.1184.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/site-shell.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ export interface SiteShellConfig {
|
|
|
61
61
|
chrome?: SiteChrome;
|
|
62
62
|
/** Absent ⇒ `"auto"`. See {@link SiteLayout}. */
|
|
63
63
|
layout?: SiteLayout;
|
|
64
|
+
/** A Wix site whose app signs members in natively: carry that member into the site's tabs
|
|
65
|
+
* (RFC 0062 §5 item 2 — the native Wix session bridge mints a one-time session token and the
|
|
66
|
+
* site's own cookie endpoint signs the WebView in). Set by the shell from its member binding;
|
|
67
|
+
* a Base44 site always bridges. */
|
|
68
|
+
sessionBridge?: boolean;
|
|
64
69
|
}
|
|
65
70
|
/** At most four site tabs; the rest belong in the drawer. Four, not the usual phone-bar five,
|
|
66
71
|
* because every tab keeps its WebView warm (`keepAlive`) and the native keep-alive stores
|
|
@@ -117,7 +122,7 @@ export declare function resolveSiteChrome(chrome: SiteChrome | undefined): Requi
|
|
|
117
122
|
* uncooperative site never renders under the status bar, off-site links leave the app
|
|
118
123
|
* through a prompt, and in-site history gets a floating back button.
|
|
119
124
|
*/
|
|
120
|
-
export declare function siteWebViewPreset(site: Pick<SiteShellConfig, "origin" | "kind" | "chrome">): WebViewConfig;
|
|
125
|
+
export declare function siteWebViewPreset(site: Pick<SiteShellConfig, "origin" | "kind" | "chrome" | "sessionBridge">): WebViewConfig;
|
|
121
126
|
/** The Tier-3 descriptor for one site page. */
|
|
122
127
|
export declare function defineSiteTab(site: SiteShellConfig, page: SitePage): ScreenDescriptor;
|
|
123
128
|
/** The {@link SITE_PAGE_SCREEN_ID} descriptor. Its `url` is the site's home page — what it
|
|
@@ -13178,9 +13178,11 @@ function siteWebViewPreset(site) {
|
|
|
13178
13178
|
// The site's own menu duplicates the native tabs/drawer. Wix markers only, like the ads.
|
|
13179
13179
|
hideHostedSiteMenu: site.kind === "wix" && chrome.hideSiteMenu,
|
|
13180
13180
|
// RFC 0062 §5.8 — a Base44 app is signed in natively and its session carried into the page.
|
|
13181
|
-
// The host still refuses unless the app declares the `base44` capability. Wix
|
|
13182
|
-
//
|
|
13181
|
+
// The host still refuses unless the app declares the `base44` capability. A Wix site bridges
|
|
13182
|
+
// only when its app signs members in natively (`site.sessionBridge`); the host additionally
|
|
13183
|
+
// needs the app's baked site and its Wix member login installed.
|
|
13183
13184
|
...site.kind === "base44" ? { hostedSiteAdapter: "base44", sessionBridge: true } : {},
|
|
13185
|
+
...site.kind === "wix" && site.sessionBridge ? { hostedSiteAdapter: "wix", sessionBridge: true } : {},
|
|
13184
13186
|
pullToRefresh: true,
|
|
13185
13187
|
showProgressBar: true,
|
|
13186
13188
|
syncStatusBarAppearance: true,
|
package/dist/cli.mjs
CHANGED
|
@@ -6807,6 +6807,7 @@ function walk(node, registry, path2, out2) {
|
|
|
6807
6807
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS;
|
|
6808
6808
|
var init_tokens = __esm({
|
|
6809
6809
|
"../../core/ts/src/tokens.ts"() {
|
|
6810
|
+
"use strict";
|
|
6810
6811
|
SYSTEM_FONT_FAMILY = "$system";
|
|
6811
6812
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
6812
6813
|
COLOR_TOKEN_PROPS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1184.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": [
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"artifactId": "himalaya-cli"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"falconPackageHash": "
|
|
70
|
+
"falconPackageHash": "fae7f6ab33418f4fdba613a74ffd3efaf3fa49f76b81ddd08749aa34"
|
|
71
71
|
}
|