@wix/himalaya-cli 0.1183.0 → 0.1185.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
|
@@ -4030,6 +4030,7 @@ __export(paths_exports, {
|
|
|
4030
4030
|
androidTvManifestPath: () => androidTvManifestPath,
|
|
4031
4031
|
appConfigTs: () => appConfigTs,
|
|
4032
4032
|
appDir: () => appDir,
|
|
4033
|
+
hasNativeShell: () => hasNativeShell,
|
|
4033
4034
|
hasRepoCheckout: () => hasRepoCheckout,
|
|
4034
4035
|
iosProjectYml: () => iosProjectYml,
|
|
4035
4036
|
iosStoreSpec: () => iosStoreSpec,
|
|
@@ -4075,6 +4076,10 @@ function runningAsScript(pathSuffix) {
|
|
|
4075
4076
|
function appDir(app) {
|
|
4076
4077
|
return join10(REPO_ROOT3, "apps", app);
|
|
4077
4078
|
}
|
|
4079
|
+
function hasNativeShell(app) {
|
|
4080
|
+
const android = join10(appDir(app), "android");
|
|
4081
|
+
return existsSync6(join10(appDir(app), "ios", "project.yml")) || existsSync6(join10(appDir(app), "macos", "project.yml")) || existsSync6(join10(android, "settings.gradle.kts")) || existsSync6(join10(android, "settings.gradle"));
|
|
4082
|
+
}
|
|
4078
4083
|
function iosProjectYml(app) {
|
|
4079
4084
|
return join10(appDir(app), "ios", "project.yml");
|
|
4080
4085
|
}
|
|
@@ -6807,6 +6812,7 @@ function walk(node, registry, path2, out2) {
|
|
|
6807
6812
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS;
|
|
6808
6813
|
var init_tokens = __esm({
|
|
6809
6814
|
"../../core/ts/src/tokens.ts"() {
|
|
6815
|
+
"use strict";
|
|
6810
6816
|
SYSTEM_FONT_FAMILY = "$system";
|
|
6811
6817
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
6812
6818
|
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.1185.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": "a3b86375729b2bd17794a1e538f193e342ea104f58539984d7f9e149"
|
|
71
71
|
}
|