@wix/himalaya-cli 0.1621.0 → 0.1622.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/cli.mjs +7 -4
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -15601,7 +15601,6 @@ function webViewOriginAllowed(url, origins) {
|
|
|
15601
15601
|
}
|
|
15602
15602
|
var init_webview_origin = __esm({
|
|
15603
15603
|
"../../core/ts/src/webview-origin.ts"() {
|
|
15604
|
-
"use strict";
|
|
15605
15604
|
init_define_HHP_CATALOG();
|
|
15606
15605
|
}
|
|
15607
15606
|
});
|
|
@@ -140195,8 +140194,12 @@ function createDevServer(opts = {}) {
|
|
|
140195
140194
|
if (url.startsWith("/v1/app-config/") && req.method === "GET") {
|
|
140196
140195
|
const override = effectiveAppConfigOverride(state);
|
|
140197
140196
|
return handleAppConfigRequest(req, res, state.app.meta, override, {
|
|
140198
|
-
//
|
|
140199
|
-
|
|
140197
|
+
// The host the client used, as for screens and `/v1/boot`: an emulator on an
|
|
140198
|
+
// `adb reverse` tunnel asks for `127.0.0.1`, and the configured `localhost` base
|
|
140199
|
+
// is rewritten to `10.0.2.2` there, which some AVDs cannot reach. The nav worker
|
|
140200
|
+
// never loaded, and every chrome slot bound to it failed open. A tenant host's
|
|
140201
|
+
// proxy and an explicit public base still win (requestServerBaseUrl).
|
|
140202
|
+
serverBaseUrl: requestServerBaseUrl(req, state.serverBaseUrl),
|
|
140200
140203
|
bundleIntegrity: (name) => bundleIntegritySync(name, state.tier5Dir)
|
|
140201
140204
|
}, deviceNetMocks(state));
|
|
140202
140205
|
}
|
|
@@ -145753,7 +145756,7 @@ async function buildFromLoaded(preloaded, dest, opts = {}) {
|
|
|
145753
145756
|
));
|
|
145754
145757
|
const cfgRes = await devFetch(`${base}/v1/app-config/${encodeURIComponent(app)}`, { headers: { "X-Himalaya-App": app } });
|
|
145755
145758
|
if (cfgRes.ok) {
|
|
145756
|
-
const served = await cfgRes.text();
|
|
145759
|
+
const served = pinBakedServerBaseUrl(await cfgRes.text(), base);
|
|
145757
145760
|
const prodText = withProdServeAppConfig(
|
|
145758
145761
|
opts.keepDevOnlyAppConfig ? served : withoutDevOnlyAppConfig(served),
|
|
145759
145762
|
config.environments?.prod
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1622.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": "8493c132a80fa7832da317fe9ee68a3a247dd79165b74cbcc352855c"
|
|
76
76
|
}
|