@wix/himalaya-cli 0.1839.0 → 0.1841.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{12b7dd1ca5ed350a30ed6a0085a4c31f30b46688e3795c425f145dfdd3830b31.bin → 36607933425d69130908d7a1dc25b580c1c0257cfa3d59194aa107b907a1d4a3.bin} +1 -1
- package/dist/browser-plane/sw.js +10 -10
- package/dist/cli.mjs +224 -103
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
- package/templates/brandy/dev/index.ts +3 -0
- package/templates/brandy/tier5-src/himi-brandy-base44-account/index.ts +85 -14
package/dist/cli.mjs
CHANGED
|
@@ -18911,6 +18911,7 @@ function buttonVariant(style) {
|
|
|
18911
18911
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, BUTTON_SIZES, BUTTON_MIN_HIT_TARGET, nonNegative, nonEmpty2, own2, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS, BUTTON_VARIANTS;
|
|
18912
18912
|
var init_tokens = __esm({
|
|
18913
18913
|
"../../core/ts/src/tokens.ts"() {
|
|
18914
|
+
"use strict";
|
|
18914
18915
|
init_define_HHP_CATALOG();
|
|
18915
18916
|
SYSTEM_FONT_FAMILY = "$system";
|
|
18916
18917
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
@@ -21543,6 +21544,53 @@ var init_a11y_contract = __esm({
|
|
|
21543
21544
|
}
|
|
21544
21545
|
});
|
|
21545
21546
|
|
|
21547
|
+
// ../../core/ts/src/shell-nav.ts
|
|
21548
|
+
function applySurfaceDestinations(items, surfaceNav) {
|
|
21549
|
+
const wanted = surfaceNav.destinations;
|
|
21550
|
+
if (!wanted) return [...items];
|
|
21551
|
+
const byId2 = new Map(items.map((i2) => [i2.id, i2]));
|
|
21552
|
+
const picked = wanted.map((id) => byId2.get(id)).filter((i2) => i2 !== void 0);
|
|
21553
|
+
return picked.length ? picked : [...items];
|
|
21554
|
+
}
|
|
21555
|
+
function repointSurfaceDestinations(items, surfaceNav) {
|
|
21556
|
+
const map2 = surfaceNav.screenIds;
|
|
21557
|
+
if (!map2) return [...items];
|
|
21558
|
+
return items.map((i2) => map2[i2.id] ? { ...i2, screenId: map2[i2.id] } : i2);
|
|
21559
|
+
}
|
|
21560
|
+
function shellDestinations(config, surfaceNav, show2, home2) {
|
|
21561
|
+
const project = (items) => repointSurfaceDestinations(applySurfaceDestinations(items, surfaceNav), surfaceNav);
|
|
21562
|
+
const tabItems = config.tabBar?.items ?? [];
|
|
21563
|
+
const ownItems = config.sidebar?.items ?? [];
|
|
21564
|
+
const tabs = show2.tab(project(tabItems));
|
|
21565
|
+
const rail = show2.tab(project(ownItems.length ? ownItems : tabItems));
|
|
21566
|
+
const drawer = show2.drawer(repointSurfaceDestinations(config.drawer?.items ?? [], surfaceNav));
|
|
21567
|
+
const declaredRoots = [...project(tabItems), ...project(ownItems)];
|
|
21568
|
+
const screenOf = (list5, id) => {
|
|
21569
|
+
const s5 = list5.find((t2) => t2.id === id)?.screenId;
|
|
21570
|
+
return typeof s5 === "string" ? s5 : void 0;
|
|
21571
|
+
};
|
|
21572
|
+
const first = (list5) => typeof list5[0]?.screenId === "string" ? list5[0].screenId : void 0;
|
|
21573
|
+
const rootOf2 = (id) => screenOf(tabs, id) ?? screenOf(rail, id) ?? screenOf(declaredRoots, id) ?? first(tabs) ?? first(rail) ?? home2;
|
|
21574
|
+
return { tabs, rail, drawer, declared: [...tabItems, ...ownItems], rootOf: rootOf2 };
|
|
21575
|
+
}
|
|
21576
|
+
function shellChrome(config, surfaceNav, dest, wide) {
|
|
21577
|
+
const navKind = surfaceNav.navKind ?? (config.navKind || "bottomTabs");
|
|
21578
|
+
const effectiveKind = navKind === "responsive" ? wide ? "sidebar" : "bottomTabs" : navKind === "drawer" ? dest.drawer.length > 0 || config.drawer?.contentScreenId ? "drawer" : "bottomTabs" : navKind === "sidebar" ? dest.rail.length > 0 || config.sidebar?.contentScreenId ? "sidebar" : "bottomTabs" : navKind === "single" ? "single" : "bottomTabs";
|
|
21579
|
+
const railOwns = effectiveKind === "sidebar" && (config.sidebar?.items?.length ?? 0) > 0 && dest.rail.length > 0;
|
|
21580
|
+
return {
|
|
21581
|
+
navKind,
|
|
21582
|
+
effectiveKind,
|
|
21583
|
+
railOwns,
|
|
21584
|
+
selection: railOwns ? dest.rail : dest.tabs,
|
|
21585
|
+
switchable: effectiveKind === "bottomTabs" ? dest.tabs : effectiveKind === "sidebar" ? dest.rail : []
|
|
21586
|
+
};
|
|
21587
|
+
}
|
|
21588
|
+
var init_shell_nav = __esm({
|
|
21589
|
+
"../../core/ts/src/shell-nav.ts"() {
|
|
21590
|
+
init_define_HHP_CATALOG();
|
|
21591
|
+
}
|
|
21592
|
+
});
|
|
21593
|
+
|
|
21546
21594
|
// ../../stdlib/wix-sdk/media/src/rendition.ts
|
|
21547
21595
|
function imagePreviewMaxEdge(platformMaxEdge = 1400) {
|
|
21548
21596
|
return platformMaxEdge > 2048 ? Math.min(4096, platformMaxEdge) : 2048;
|
|
@@ -22348,6 +22396,7 @@ __export(validate_descriptor_core_exports, {
|
|
|
22348
22396
|
validateAppWebViewInstances: () => validateAppWebViewInstances,
|
|
22349
22397
|
validateScreenDescriptor: () => validateScreenDescriptor,
|
|
22350
22398
|
validateScreenOrientation: () => validateScreenOrientation,
|
|
22399
|
+
validateTabActions: () => validateTabActions,
|
|
22351
22400
|
validateTabBarVisibility: () => validateTabBarVisibility,
|
|
22352
22401
|
webViewEmbeddedIssues: () => webViewEmbeddedIssues,
|
|
22353
22402
|
withoutBootState: () => withoutBootState,
|
|
@@ -24601,6 +24650,66 @@ function validateTabBarVisibility(screens, navigation) {
|
|
|
24601
24650
|
}
|
|
24602
24651
|
return out2;
|
|
24603
24652
|
}
|
|
24653
|
+
function switchableTabIds(navigation) {
|
|
24654
|
+
const nav = navigation && typeof navigation === "object" ? navigation : {};
|
|
24655
|
+
const block = (b3) => {
|
|
24656
|
+
const o2 = b3 && typeof b3 === "object" ? b3 : {};
|
|
24657
|
+
const items = (Array.isArray(o2.items) ? o2.items : []).flatMap((it2) => {
|
|
24658
|
+
const t2 = it2 && typeof it2 === "object" ? it2 : {};
|
|
24659
|
+
const id = typeof t2.id === "string" ? t2.id : typeof t2.screenId === "string" ? t2.screenId : void 0;
|
|
24660
|
+
return id === void 0 ? [] : [{ id, ...typeof t2.screenId === "string" ? { screenId: t2.screenId } : {} }];
|
|
24661
|
+
});
|
|
24662
|
+
return { items, ...typeof o2.contentScreenId === "string" ? { contentScreenId: o2.contentScreenId } : {} };
|
|
24663
|
+
};
|
|
24664
|
+
const config = { ...typeof nav.navKind === "string" ? { navKind: nav.navKind } : {}, tabBar: block(nav.tabBar), sidebar: block(nav.sidebar), drawer: block(nav.drawer) };
|
|
24665
|
+
const all = (items) => items;
|
|
24666
|
+
const surfaces = nav.surfaces && typeof nav.surfaces === "object" && !Array.isArray(nav.surfaces) ? Object.keys(nav.surfaces) : [];
|
|
24667
|
+
const ids2 = /* @__PURE__ */ new Set();
|
|
24668
|
+
for (const surfaceId of [void 0, ...surfaces]) {
|
|
24669
|
+
const surfaceNav = surfaceId ? resolveSurfaceNav(nav, surfaceId, nav.platforms ?? {}) : {};
|
|
24670
|
+
const dest = shellDestinations(config, surfaceNav, { tab: all, drawer: all }, void 0);
|
|
24671
|
+
for (const wide of [false, true]) for (const t2 of shellChrome(config, surfaceNav, dest, wide).switchable) ids2.add(t2.id);
|
|
24672
|
+
}
|
|
24673
|
+
return ids2;
|
|
24674
|
+
}
|
|
24675
|
+
function validateTabActions(screens, navigation) {
|
|
24676
|
+
const out2 = [];
|
|
24677
|
+
const tabIds = switchableTabIds(navigation);
|
|
24678
|
+
for (const { screenId, descriptor } of screens) {
|
|
24679
|
+
const walk5 = (node3, path2) => {
|
|
24680
|
+
if (Array.isArray(node3)) {
|
|
24681
|
+
node3.forEach((child3, i2) => walk5(child3, `${path2}[${i2}]`));
|
|
24682
|
+
return;
|
|
24683
|
+
}
|
|
24684
|
+
if (!node3 || typeof node3 !== "object") return;
|
|
24685
|
+
const obj17 = node3;
|
|
24686
|
+
if (obj17.actionId === "himi.tab") {
|
|
24687
|
+
const params = obj17.params && typeof obj17.params === "object" ? obj17.params : {};
|
|
24688
|
+
const tab = params.tab;
|
|
24689
|
+
let problem;
|
|
24690
|
+
if (typeof tab !== "string" || tab === "") {
|
|
24691
|
+
const others = Object.keys(params).filter((k3) => k3 !== "screenId" && k3 !== "reset" && k3 !== "transitionId");
|
|
24692
|
+
problem = `has no \`params.tab\`${others.length ? ` (it sets ${others.map((k3) => `\`${k3}\``).join(", ")})` : ""}. Every host reads only \`params.tab\``;
|
|
24693
|
+
} else if (!tab.startsWith("$") && !tabIds.has(tab)) {
|
|
24694
|
+
problem = tabIds.size ? `names the tab "${tab}", which is not a tab the app can switch to (${[...tabIds].join(", ")}). \`params.tab\` is a tab bar item id, not a screen id` : `names the tab "${tab}", but the app draws no tab bar or rail to switch (its navigation is a drawer or a single screen). Use himi.open with the screen id`;
|
|
24695
|
+
}
|
|
24696
|
+
if (problem) {
|
|
24697
|
+
out2.push({
|
|
24698
|
+
screenId,
|
|
24699
|
+
severity: "error",
|
|
24700
|
+
pass: "actions",
|
|
24701
|
+
code: "tab_action_unroutable",
|
|
24702
|
+
path: path2 || "$",
|
|
24703
|
+
message: `this \`himi.tab\` action ${problem}, so the tap does nothing on any device. Use { actionId: "himi.tab", params: { tab: "<tab bar item id>" } }`
|
|
24704
|
+
});
|
|
24705
|
+
}
|
|
24706
|
+
}
|
|
24707
|
+
for (const [key4, value2] of Object.entries(obj17)) walk5(value2, path2 ? `${path2}.${key4}` : key4);
|
|
24708
|
+
};
|
|
24709
|
+
walk5(descriptor, "");
|
|
24710
|
+
}
|
|
24711
|
+
return out2;
|
|
24712
|
+
}
|
|
24604
24713
|
function validateScreenOrientation(screens, envelope) {
|
|
24605
24714
|
const out2 = [];
|
|
24606
24715
|
for (const { screenId, descriptor } of screens) {
|
|
@@ -25652,6 +25761,8 @@ var init_validate_descriptor_core = __esm({
|
|
|
25652
25761
|
init_app_services_lint();
|
|
25653
25762
|
init_app_services_lint();
|
|
25654
25763
|
init_schema3();
|
|
25764
|
+
init_shell_nav();
|
|
25765
|
+
init_preview_surfaces();
|
|
25655
25766
|
init_webview_embedded();
|
|
25656
25767
|
init_media_value();
|
|
25657
25768
|
init_frame_limits();
|
|
@@ -30213,6 +30324,7 @@ __export(validate_descriptor_exports, {
|
|
|
30213
30324
|
validateAppWebViewInstances: () => validateAppWebViewInstances,
|
|
30214
30325
|
validateScreenDescriptor: () => validateScreenDescriptor,
|
|
30215
30326
|
validateScreenOrientation: () => validateScreenOrientation,
|
|
30327
|
+
validateTabActions: () => validateTabActions,
|
|
30216
30328
|
validateTabBarVisibility: () => validateTabBarVisibility,
|
|
30217
30329
|
webViewEmbeddedIssues: () => webViewEmbeddedIssues,
|
|
30218
30330
|
withoutBootState: () => withoutBootState,
|
|
@@ -47225,53 +47337,6 @@ var init_message_format = __esm({
|
|
|
47225
47337
|
}
|
|
47226
47338
|
});
|
|
47227
47339
|
|
|
47228
|
-
// ../../core/ts/src/shell-nav.ts
|
|
47229
|
-
function applySurfaceDestinations(items, surfaceNav) {
|
|
47230
|
-
const wanted = surfaceNav.destinations;
|
|
47231
|
-
if (!wanted) return [...items];
|
|
47232
|
-
const byId2 = new Map(items.map((i2) => [i2.id, i2]));
|
|
47233
|
-
const picked = wanted.map((id) => byId2.get(id)).filter((i2) => i2 !== void 0);
|
|
47234
|
-
return picked.length ? picked : [...items];
|
|
47235
|
-
}
|
|
47236
|
-
function repointSurfaceDestinations(items, surfaceNav) {
|
|
47237
|
-
const map2 = surfaceNav.screenIds;
|
|
47238
|
-
if (!map2) return [...items];
|
|
47239
|
-
return items.map((i2) => map2[i2.id] ? { ...i2, screenId: map2[i2.id] } : i2);
|
|
47240
|
-
}
|
|
47241
|
-
function shellDestinations(config, surfaceNav, show2, home2) {
|
|
47242
|
-
const project = (items) => repointSurfaceDestinations(applySurfaceDestinations(items, surfaceNav), surfaceNav);
|
|
47243
|
-
const tabItems = config.tabBar?.items ?? [];
|
|
47244
|
-
const ownItems = config.sidebar?.items ?? [];
|
|
47245
|
-
const tabs = show2.tab(project(tabItems));
|
|
47246
|
-
const rail = show2.tab(project(ownItems.length ? ownItems : tabItems));
|
|
47247
|
-
const drawer = show2.drawer(repointSurfaceDestinations(config.drawer?.items ?? [], surfaceNav));
|
|
47248
|
-
const declaredRoots = [...project(tabItems), ...project(ownItems)];
|
|
47249
|
-
const screenOf = (list5, id) => {
|
|
47250
|
-
const s5 = list5.find((t2) => t2.id === id)?.screenId;
|
|
47251
|
-
return typeof s5 === "string" ? s5 : void 0;
|
|
47252
|
-
};
|
|
47253
|
-
const first = (list5) => typeof list5[0]?.screenId === "string" ? list5[0].screenId : void 0;
|
|
47254
|
-
const rootOf2 = (id) => screenOf(tabs, id) ?? screenOf(rail, id) ?? screenOf(declaredRoots, id) ?? first(tabs) ?? first(rail) ?? home2;
|
|
47255
|
-
return { tabs, rail, drawer, declared: [...tabItems, ...ownItems], rootOf: rootOf2 };
|
|
47256
|
-
}
|
|
47257
|
-
function shellChrome(config, surfaceNav, dest, wide) {
|
|
47258
|
-
const navKind = surfaceNav.navKind ?? (config.navKind || "bottomTabs");
|
|
47259
|
-
const effectiveKind = navKind === "responsive" ? wide ? "sidebar" : "bottomTabs" : navKind === "drawer" ? dest.drawer.length > 0 || config.drawer?.contentScreenId ? "drawer" : "bottomTabs" : navKind === "sidebar" ? dest.rail.length > 0 || config.sidebar?.contentScreenId ? "sidebar" : "bottomTabs" : navKind === "single" ? "single" : "bottomTabs";
|
|
47260
|
-
const railOwns = effectiveKind === "sidebar" && (config.sidebar?.items?.length ?? 0) > 0 && dest.rail.length > 0;
|
|
47261
|
-
return {
|
|
47262
|
-
navKind,
|
|
47263
|
-
effectiveKind,
|
|
47264
|
-
railOwns,
|
|
47265
|
-
selection: railOwns ? dest.rail : dest.tabs,
|
|
47266
|
-
switchable: effectiveKind === "bottomTabs" ? dest.tabs : effectiveKind === "sidebar" ? dest.rail : []
|
|
47267
|
-
};
|
|
47268
|
-
}
|
|
47269
|
-
var init_shell_nav = __esm({
|
|
47270
|
-
"../../core/ts/src/shell-nav.ts"() {
|
|
47271
|
-
init_define_HHP_CATALOG();
|
|
47272
|
-
}
|
|
47273
|
-
});
|
|
47274
|
-
|
|
47275
47340
|
// ../../core/web-renderer/src/assetUrl.ts
|
|
47276
47341
|
function resolveAssetUrl(url, base2, pin) {
|
|
47277
47342
|
if (url === "" || ABSOLUTE_URL_RE.test(url)) return url;
|
|
@@ -158357,6 +158422,7 @@ __export(build_exports2, {
|
|
|
158357
158422
|
l10nLintOptions: () => l10nLintOptions,
|
|
158358
158423
|
linkableScreenIdsFrom: () => linkableScreenIdsFrom,
|
|
158359
158424
|
lintAppScreenOrientation: () => lintAppScreenOrientation,
|
|
158425
|
+
lintAppTabActions: () => lintAppTabActions,
|
|
158360
158426
|
lintAppTabBarVisibility: () => lintAppTabBarVisibility,
|
|
158361
158427
|
lintAppWebViewInstances: () => lintAppWebViewInstances,
|
|
158362
158428
|
listBuildableApps: () => listBuildableApps,
|
|
@@ -158406,6 +158472,9 @@ function lintAppWebViewInstances(lint, screens, navigation) {
|
|
|
158406
158472
|
function lintAppTabBarVisibility(lint, screens, navigation) {
|
|
158407
158473
|
attachAppIssues(lint, validateTabBarVisibility(screens, navigation));
|
|
158408
158474
|
}
|
|
158475
|
+
function lintAppTabActions(lint, screens, navigation) {
|
|
158476
|
+
attachAppIssues(lint, validateTabActions(screens, navigation));
|
|
158477
|
+
}
|
|
158409
158478
|
function lintAppScreenOrientation(lint, screens, meta) {
|
|
158410
158479
|
attachAppIssues(lint, validateScreenOrientation(screens, meta?.orientationEnvelope));
|
|
158411
158480
|
}
|
|
@@ -159577,6 +159646,7 @@ async function buildFromLoaded(preloaded, dest, opts = {}) {
|
|
|
159577
159646
|
}
|
|
159578
159647
|
if (collect2?.lint) lintAppWebViewInstances(lint, lintScreens, preloaded.meta);
|
|
159579
159648
|
if (collect2?.lint) lintAppTabBarVisibility(lint, lintScreens, preloaded.meta);
|
|
159649
|
+
if (collect2?.lint) lintAppTabActions(lint, lintScreens, preloaded.meta);
|
|
159580
159650
|
if (collect2?.lint) lintAppScreenOrientation(lint, lintScreens, preloaded.meta);
|
|
159581
159651
|
if (collect2?.lint) {
|
|
159582
159652
|
const issues = validateAppServicesConfig({
|
|
@@ -252455,10 +252525,10 @@ async function readCapped2(res, maxChars) {
|
|
|
252455
252525
|
text32 += decoder.decode();
|
|
252456
252526
|
return text32.length > maxChars ? null : text32;
|
|
252457
252527
|
}
|
|
252458
|
-
async function memberForwardCall(match, body,
|
|
252528
|
+
async function memberForwardCall(match, body, credential, fetchImpl = fetch, extraHeaders = {}) {
|
|
252459
252529
|
const headers2 = { Accept: "application/json", ...extraHeaders };
|
|
252460
252530
|
if (body !== void 0) headers2["Content-Type"] = "application/json";
|
|
252461
|
-
if (match.rule.auth
|
|
252531
|
+
if (match.rule.auth !== "none") headers2.Authorization = credential;
|
|
252462
252532
|
try {
|
|
252463
252533
|
const res = await fetchImpl(match.url.toString(), {
|
|
252464
252534
|
method: match.rule.method,
|
|
@@ -252511,7 +252581,19 @@ var init_member_forward = __esm({
|
|
|
252511
252581
|
requiredHeaders: ["ChatToken"]
|
|
252512
252582
|
},
|
|
252513
252583
|
// Chat: the live-update (realtime) token. The answer carries a credential for a third party; it is returned to the caller only.
|
|
252514
|
-
{ method: "POST", host: "manage.wix.com", path: /^\/_api\/chat-web\/v1\/real-time-tokens$/, auth: "none", query: { chatToken: TOKENISH2 }, required: ["chatToken"] }
|
|
252584
|
+
{ method: "POST", host: "manage.wix.com", path: /^\/_api\/chat-web\/v1\/real-time-tokens$/, auth: "none", query: { chatToken: TOKENISH2 }, required: ["chatToken"] },
|
|
252585
|
+
// The business's latest announcement (the Branded Lite announcement section, `_shared/announcement-section.ts`), read as the site's
|
|
252586
|
+
// Visitor exactly like native's `WixApiCapability` allows it: this GET, this path, reader data off (true needs the manage
|
|
252587
|
+
// permission). The answer is the same for every reader. Probed live 2026-11-22: a minted Visitor instance and no cookie answers 200
|
|
252588
|
+
// with the announcement; no credential answers 500; the www.wixapis.com gateway has no such route (404), so the browser cannot call it.
|
|
252589
|
+
{
|
|
252590
|
+
method: "GET",
|
|
252591
|
+
host: "manage.wix.com",
|
|
252592
|
+
path: /^\/_api\/mobile-apps-announcements\/v1\/announcements\/latest$/,
|
|
252593
|
+
auth: "visitor",
|
|
252594
|
+
query: { includeReaderData: /^false$/ },
|
|
252595
|
+
required: ["includeReaderData"]
|
|
252596
|
+
}
|
|
252515
252597
|
];
|
|
252516
252598
|
FORWARD_TIMEOUT_MS = 15e3;
|
|
252517
252599
|
MAX_RESPONSE_CHARS = 1e6;
|
|
@@ -252996,6 +253078,8 @@ function makeServeHandler(opts) {
|
|
|
252996
253078
|
const webwixFetch = opts.webwixFetch ?? fetch;
|
|
252997
253079
|
const webwixOwnerInstances = new OwnerInstanceCache(webwixFetch);
|
|
252998
253080
|
const visitorMintLimiter = new FixedWindowRateLimiter({ max: opts.visitorMintRatePerMin ?? 30, windowMs: 6e4 });
|
|
253081
|
+
const forwardVisitors = /* @__PURE__ */ new Map();
|
|
253082
|
+
const FORWARD_VISITOR_CAP = opts.forwardVisitorCap ?? 512;
|
|
252999
253083
|
const webwixOwnerSites = new OwnerSitesCache(webwixFetch);
|
|
253000
253084
|
const webwixAccountInstances = new MemberInstanceCache(webwixFetch);
|
|
253001
253085
|
const webwixOwnerRungOn = () => opts.webwixOwnerRung !== false;
|
|
@@ -253247,7 +253331,7 @@ ${releaseId}`;
|
|
|
253247
253331
|
const origin = request2.headers.get("origin");
|
|
253248
253332
|
if (!origin) return {};
|
|
253249
253333
|
const path2 = new URL(request2.url).pathname;
|
|
253250
|
-
if (isCookieAuthorizedPath(path2) || path2 === VISITOR_INSTANCE_PATH) return {};
|
|
253334
|
+
if (isCookieAuthorizedPath(path2) || path2 === VISITOR_INSTANCE_PATH || path2 === "/v1/__webwix/member-forward") return {};
|
|
253251
253335
|
return {
|
|
253252
253336
|
"access-control-allow-origin": origin,
|
|
253253
253337
|
vary: "Origin",
|
|
@@ -253524,25 +253608,48 @@ ${releaseId}`;
|
|
|
253524
253608
|
}
|
|
253525
253609
|
if (request2.method === "POST" && path2 === "/v1/__webwix/member-forward") {
|
|
253526
253610
|
const noStore = { "cache-control": "no-store" };
|
|
253527
|
-
const gate = await draftPreviewOnly(request2, url, noStore);
|
|
253528
|
-
if (!gate.ok) return gate.response;
|
|
253529
253611
|
let raw;
|
|
253530
253612
|
try {
|
|
253531
253613
|
raw = await request2.text();
|
|
253532
253614
|
} catch {
|
|
253533
253615
|
return json6(400, { error: "body_unreadable" }, noStore);
|
|
253534
253616
|
}
|
|
253535
|
-
if (!raw) return json6(400, { error: "empty_body" }, noStore);
|
|
253536
253617
|
if (raw.length > 256e3) return json6(413, { error: "body_too_large" }, noStore);
|
|
253537
253618
|
let parsed;
|
|
253538
253619
|
try {
|
|
253539
|
-
parsed = JSON.parse(raw);
|
|
253620
|
+
parsed = raw ? JSON.parse(raw) : void 0;
|
|
253540
253621
|
} catch {
|
|
253541
|
-
return json6(400, { error: "invalid_json" }, noStore);
|
|
253542
253622
|
}
|
|
253623
|
+
const visitorMatch = parsed && typeof parsed === "object" ? matchMemberForward(parsed.method, parsed.url) : null;
|
|
253624
|
+
if (visitorMatch?.rule.auth === "visitor") {
|
|
253625
|
+
if (parsed.body !== void 0) return json6(400, { error: "body_not_allowed" }, noStore);
|
|
253626
|
+
if (!matchForwardHeaders(visitorMatch.rule, parsed.headers)) return json6(403, { error: "forward_header_refused" }, noStore);
|
|
253627
|
+
const target = await visitorMintTarget(request2, url);
|
|
253628
|
+
if (target instanceof Response) return target;
|
|
253629
|
+
let visitor = forwardVisitors.get(target.msid);
|
|
253630
|
+
if (!visitor || visitor.expiresAt - Date.now() < 6e4) {
|
|
253631
|
+
const rate = visitorMintLimiter.check(`forward|${target.app}|${visitorMintCaller(request2)}`);
|
|
253632
|
+
if (!rate.ok) return json6(429, { error: "visitor_instance_rate_limited" }, { ...noStore, "retry-after": String(rate.retryAfterSec) });
|
|
253633
|
+
try {
|
|
253634
|
+
visitor = await mintOneAppVisitor(target.msid, target.mintFetch);
|
|
253635
|
+
} catch {
|
|
253636
|
+
return json6(502, { error: "webwix_bridge_upstream_failed" }, noStore);
|
|
253637
|
+
}
|
|
253638
|
+
for (const [msid, entry] of forwardVisitors) if (entry.expiresAt <= Date.now()) forwardVisitors.delete(msid);
|
|
253639
|
+
if (forwardVisitors.size >= FORWARD_VISITOR_CAP) forwardVisitors.delete(forwardVisitors.keys().next().value);
|
|
253640
|
+
forwardVisitors.set(target.msid, visitor);
|
|
253641
|
+
}
|
|
253642
|
+
const forwarded2 = await memberForwardCall(visitorMatch, void 0, visitor.instance, webwixFetch);
|
|
253643
|
+
if (!forwarded2.ok) return json6(502, { error: forwarded2.code }, noStore);
|
|
253644
|
+
return json6(200, { status: forwarded2.status, body: forwarded2.body }, noStore);
|
|
253645
|
+
}
|
|
253646
|
+
const gate = await draftPreviewOnly(request2, url, noStore);
|
|
253647
|
+
if (!gate.ok) return gate.response;
|
|
253648
|
+
if (!raw) return json6(400, { error: "empty_body" }, noStore);
|
|
253649
|
+
if (parsed === void 0) return json6(400, { error: "invalid_json" }, noStore);
|
|
253543
253650
|
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) return json6(400, { error: "invalid_body" }, noStore);
|
|
253544
253651
|
if (typeof parsed.memberToken !== "string" || !parsed.memberToken || parsed.memberToken.length > 4096) return json6(400, { error: "member_token_required" }, noStore);
|
|
253545
|
-
const match =
|
|
253652
|
+
const match = visitorMatch;
|
|
253546
253653
|
if (!match) return json6(403, { error: "forward_target_refused" }, noStore);
|
|
253547
253654
|
const forwardHeaders = matchForwardHeaders(match.rule, parsed.headers);
|
|
253548
253655
|
if (!forwardHeaders) return json6(403, { error: "forward_header_refused" }, noStore);
|
|
@@ -254747,53 +254854,53 @@ var init_preview_assets_generated = __esm({
|
|
|
254747
254854
|
init_define_HHP_CATALOG();
|
|
254748
254855
|
init_preview_assets_format();
|
|
254749
254856
|
PREVIEW_ASSET_MANIFEST = [
|
|
254750
|
-
{ key: "assets/DashboardHost-
|
|
254751
|
-
{ key: "assets/DevDrawer-
|
|
254752
|
-
{ key: "assets/IdiomCompare-
|
|
254753
|
-
{ key: "assets/LightboxViewer-
|
|
254754
|
-
{ key: "assets/OfflineReadingBar-
|
|
254755
|
-
{ key: "assets/PhonePreviewControl-
|
|
254756
|
-
{ key: "assets/SchemeCompare-
|
|
254757
|
-
{ key: "assets/TopBarSearchStates-
|
|
254758
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
254857
|
+
{ key: "assets/DashboardHost-CfFnnKst.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "033729a80837857278a407e599c0894be483560bdaec79b3d7c39b8eb8b4912a" },
|
|
254858
|
+
{ key: "assets/DevDrawer-BuRHjMFt.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "4d93b3f7f386e343cce70244845e86b24ca771ad0299e086462afcbaf9b2fa5e" },
|
|
254859
|
+
{ key: "assets/IdiomCompare-DFCo1E6Y.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "5d7f4e6d16a6e0d0232dd8a96b34452f6dfbd23e0c5c3f477a7ef1e4b0096235" },
|
|
254860
|
+
{ key: "assets/LightboxViewer-CpD79EkR.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15616, sha256: "5cc464d855c7ddd53820e672630e9a40f392ef2380851e7962eef822dacb5d55" },
|
|
254861
|
+
{ key: "assets/OfflineReadingBar-D5GwgZoU.js", contentType: "application/javascript; charset=utf-8", offset: 37318, length: 1646, sha256: "af0d8bbd4323b302d90ec4cfd6119ac35dddcced40a08716878ce5afd655f2ba" },
|
|
254862
|
+
{ key: "assets/PhonePreviewControl-CF4IEfVP.js", contentType: "application/javascript; charset=utf-8", offset: 38964, length: 37851, sha256: "34f0a3f7f8709fea1c4ac6a5a3d35e9f6d26adf7de7f3c3ed18c669b26bb8853" },
|
|
254863
|
+
{ key: "assets/SchemeCompare-G1Rn6RiP.js", contentType: "application/javascript; charset=utf-8", offset: 76815, length: 1858, sha256: "f9fcd4f0767fba6cb69f0f189168729c02c5994238931c7cad485b735c2a1db3" },
|
|
254864
|
+
{ key: "assets/TopBarSearchStates-CuMyYGCH.js", contentType: "application/javascript; charset=utf-8", offset: 78673, length: 4068, sha256: "06a366a9d51afc387f4901de3fc2c87692a10a6cd4dee80e2e2f4cfddecf2fe8" },
|
|
254865
|
+
{ key: "assets/WixFrogTelemetrySink-DnFVjbv-.js", contentType: "application/javascript; charset=utf-8", offset: 82741, length: 3515, sha256: "937a19716feb743920af79161fa625bff4e98b5b54e1998aa89cf3898682f0a1" },
|
|
254759
254866
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86256, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
254760
254867
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88448, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
254761
|
-
{ key: "assets/catalogFontFaces-
|
|
254868
|
+
{ key: "assets/catalogFontFaces-BssA5xwN.js", contentType: "application/javascript; charset=utf-8", offset: 124074, length: 1111, sha256: "86e685454452974d6b79dd34f0281874bb5f1a5fe4b50f437b82a70dea9ed636" },
|
|
254762
254869
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125185, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
254763
|
-
{ key: "assets/files-transfer-
|
|
254870
|
+
{ key: "assets/files-transfer-DujuoJtc.js", contentType: "application/javascript; charset=utf-8", offset: 127752, length: 6446, sha256: "262e12f4f95933a2a0446c03bbb987badc8e4166d9e7af93c75980642f8822b7" },
|
|
254764
254871
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134198, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
254765
|
-
{ key: "assets/frogApiRules-
|
|
254872
|
+
{ key: "assets/frogApiRules-C8O6gacu.js", contentType: "application/javascript; charset=utf-8", offset: 135370, length: 2207, sha256: "2e9a911352664b59567031fa3ae9a9897fd1e5e7f4ccdd73e2de66fd772ec19b" },
|
|
254766
254873
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 137577, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
254767
254874
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 138644, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
254768
254875
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 145222, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
254769
|
-
{ key: "assets/index-
|
|
254770
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
254771
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
254772
|
-
{ key: "assets/pdf-
|
|
254773
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
254774
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
254775
|
-
{ key: "assets/pdfDocument-
|
|
254776
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
254777
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
254778
|
-
{ key: "assets/webviewBridgeHost-
|
|
254779
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
254780
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
254781
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
254782
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
254783
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
254784
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
254785
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
254786
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
254787
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
254788
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
254789
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
254790
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
254791
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
254792
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
254793
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
254794
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
254795
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
254796
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
254876
|
+
{ key: "assets/index-CgTchy0C.js", contentType: "application/javascript; charset=utf-8", offset: 147926, length: 1664896, sha256: "0e873b48583474ff1a7f67ff6c5959fb906d99f29bc12a8f814ee1129e702821" },
|
|
254877
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1812822, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
254878
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1820573, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
254879
|
+
{ key: "assets/pdf-Bf1_0H2T.js", contentType: "application/javascript; charset=utf-8", offset: 1831104, length: 488215, sha256: "36607933425d69130908d7a1dc25b580c1c0257cfa3d59194aa107b907a1d4a3" },
|
|
254880
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2319319, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
254881
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2319409, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
254882
|
+
{ key: "assets/pdfDocument-VZfWj1wv.js", contentType: "application/javascript; charset=utf-8", offset: 3636443, length: 3471, sha256: "85f973f6e12b2bcf46ace1689835b2afd034e2198669f73436ed6efc66d0948b" },
|
|
254883
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3639914, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
254884
|
+
{ key: "assets/scrollLinkedRuntime-D8dGRbA5.js", contentType: "application/javascript; charset=utf-8", offset: 3642180, length: 2278, sha256: "c5b88630cfda488bf582eccc9ea4cfc604b30ecf6f597c51f3562a41adc7a2eb" },
|
|
254885
|
+
{ key: "assets/webviewBridgeHost-D1OVzl42.js", contentType: "application/javascript; charset=utf-8", offset: 3644458, length: 9889, sha256: "2beaf9d172732e614e92cff10873ab11e957924f6cae33af1baa46887341c787" },
|
|
254886
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3654347, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
254887
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3658957, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
254888
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4147541, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
254889
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4238465, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
254890
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4329449, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
254891
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4420429, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
254892
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4511301, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
254893
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4602281, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
254894
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4710917, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
254895
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4820001, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
254896
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4929049, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
254897
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5036749, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
254898
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5124857, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
254899
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5131675, length: 4924, sha256: "e2952f49fb5010b0b9dc6b27d5c33e936210e856ba0e96701afa9594c470ac98" },
|
|
254900
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5136599, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
254901
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5148056, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
254902
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5149227, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
254903
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5173530, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
254797
254904
|
];
|
|
254798
254905
|
}
|
|
254799
254906
|
});
|
|
@@ -273504,13 +273611,22 @@ async function collectOneApp(input, deps = {}) {
|
|
|
273504
273611
|
};
|
|
273505
273612
|
const enrichUrl = structureUrl("v2/structure-enriched", input.metaSiteId, resolved3, locale);
|
|
273506
273613
|
const authorization = await enrichmentAuthorization();
|
|
273614
|
+
const visitorViews = [];
|
|
273507
273615
|
const enrich = async (platform) => {
|
|
273508
|
-
const
|
|
273509
|
-
|
|
273510
|
-
|
|
273511
|
-
authorization,
|
|
273512
|
-
|
|
273513
|
-
|
|
273616
|
+
const read2 = (as2) => request2(enrichUrl, `enriched_${platform}`, enrichBody, { platform, instance: resolved3, ...as2 });
|
|
273617
|
+
let answer;
|
|
273618
|
+
try {
|
|
273619
|
+
answer = await read2({ authorization, visitor: internalBusinessRead });
|
|
273620
|
+
} catch (error) {
|
|
273621
|
+
if (internalBusinessRead || !(error instanceof OneAppError) || error.code !== "source_not_found") throw error;
|
|
273622
|
+
try {
|
|
273623
|
+
answer = await read2({ authorization: await visitorAuthorization("enrichment_session"), visitor: true });
|
|
273624
|
+
} catch {
|
|
273625
|
+
throw error;
|
|
273626
|
+
}
|
|
273627
|
+
visitorViews.push(platform);
|
|
273628
|
+
}
|
|
273629
|
+
const structure = validateStructure(answer, `enriched_${platform}`, true);
|
|
273514
273630
|
if (structure.appInstance !== rawStructure.appInstance) {
|
|
273515
273631
|
throw new OneAppError("source_changed", "The source app changed during collection. Run the command again.", { stage: `enriched_${platform}` });
|
|
273516
273632
|
}
|
|
@@ -273595,6 +273711,11 @@ async function collectOneApp(input, deps = {}) {
|
|
|
273595
273711
|
warnings: [
|
|
273596
273712
|
{ code: "runtime_rules_unavailable", message: "Engine production rules were not collected. Empty rule input does not establish that the source has no restrictions." },
|
|
273597
273713
|
{ code: "viewer_context", message: internalBusinessRead ? `Enrichment requests locale ${locale} for iOS and Android visitor views. Preserve authored raw access rules; this view does not establish member or manager access.` : `Enrichment requests locale ${locale} for iOS and Android views for a Wix user. Preserve authored raw access rules; this view does not establish visitor or member access.` },
|
|
273714
|
+
...visitorViews.map((platform) => ({
|
|
273715
|
+
code: "viewer_context_visitor",
|
|
273716
|
+
platform,
|
|
273717
|
+
message: `The ${platform} view for this Wix user was not found, so the site Visitor's view was collected instead. Preserve authored raw access rules; this view does not establish member or manager access.`
|
|
273718
|
+
})),
|
|
273598
273719
|
...contextWarnings
|
|
273599
273720
|
]
|
|
273600
273721
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1841.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": "
|
|
85
|
+
"falconPackageHash": "f4099956d17c310dfa9798522e9193c6e9ce66f0b485f12be3255022"
|
|
86
86
|
}
|
|
@@ -565,6 +565,7 @@ const BASE44_ACCOUNT = {
|
|
|
565
565
|
"placeholder": "Email",
|
|
566
566
|
"keyboard": "email",
|
|
567
567
|
"autoCapitalization": "none",
|
|
568
|
+
"valuePath": "$service:himiBase44Account.email",
|
|
568
569
|
"onChange": {
|
|
569
570
|
"actionId": "tier5.himiBase44Account.setEmail"
|
|
570
571
|
}
|
|
@@ -583,6 +584,7 @@ const BASE44_ACCOUNT = {
|
|
|
583
584
|
"placeholder": "Password",
|
|
584
585
|
"secure": true,
|
|
585
586
|
"autoCapitalization": "none",
|
|
587
|
+
"valuePath": "$service:himiBase44Account.password",
|
|
586
588
|
"onChange": {
|
|
587
589
|
"actionId": "tier5.himiBase44Account.setPassword"
|
|
588
590
|
}
|
|
@@ -601,6 +603,7 @@ const BASE44_ACCOUNT = {
|
|
|
601
603
|
"placeholder": "Code from your email",
|
|
602
604
|
"keyboard": "number",
|
|
603
605
|
"autoCapitalization": "none",
|
|
606
|
+
"valuePath": "$service:himiBase44Account.code",
|
|
604
607
|
"onChange": {
|
|
605
608
|
"actionId": "tier5.himiBase44Account.setCode"
|
|
606
609
|
}
|