@wix/himalaya-cli 0.1087.0 → 0.1089.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 CHANGED
@@ -6737,7 +6737,6 @@ function walk(node, registry, path2, out2) {
6737
6737
  var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA;
6738
6738
  var init_tokens = __esm({
6739
6739
  "../../core/ts/src/tokens.ts"() {
6740
- "use strict";
6741
6740
  SYSTEM_FONT_FAMILY = "$system";
6742
6741
  TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
6743
6742
  }
@@ -6764,7 +6763,6 @@ function resolveTranslation(value, catalog, sourceCatalog) {
6764
6763
  var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
6765
6764
  var init_bindings = __esm({
6766
6765
  "../../core/ts/src/bindings.ts"() {
6767
- "use strict";
6768
6766
  BINDING_SIGILS = ["service", "flag", "item", "t"];
6769
6767
  BINDING_SIGIL_RE = new RegExp(
6770
6768
  `^\\$(?:${BINDING_SIGILS.filter((s) => s !== "t").join("|")})\\b|^\\$t:`
@@ -24581,7 +24579,6 @@ function shouldRevealError(args) {
24581
24579
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
24582
24580
  var init_validation = __esm({
24583
24581
  "../../core/ts/src/validation.ts"() {
24584
- "use strict";
24585
24582
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
24586
24583
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
24587
24584
  INTEGER_RE = /^[+-]?[0-9]+$/;
@@ -28202,7 +28199,6 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
28202
28199
  var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
28203
28200
  var init_worker_subtree = __esm({
28204
28201
  "../../core/ts/src/worker-subtree.ts"() {
28205
- "use strict";
28206
28202
  init_worker_subtree_safe_types_generated();
28207
28203
  WORKER_SUBTREE_CEILINGS = Object.freeze({
28208
28204
  maxEncodedBytes: 65536,
@@ -35204,6 +35200,22 @@ var init_wix_cache_policy = __esm({
35204
35200
  { method: "POST", pathPrefix: "/wix-data/v2/items/query", cacheable: true, ttl: 0, swr: 900, tag: "msgr-data" },
35205
35201
  { method: null, pathPrefix: "/wix-data/v2/items", cacheable: false, ttl: 0, swr: 0, tag: "msgr-data" }
35206
35202
  ],
35203
+ // Branded Lite (#3450) — every tab reads PUBLIC catalog data from the bound site. With no
35204
+ // rules the served policy cached nothing, so each reload refetched every query before Home
35205
+ // could paint (3.7–7.9s measured). A short fresh window + a long SWR paints the last result
35206
+ // instantly and always revalidates in the background. Carts, orders and members get no rule
35207
+ // and stay uncached; neither does the groups query, whose answer includes the private groups
35208
+ // a signed-in member belongs to (the web cache key does not separate member from visitor).
35209
+ // The clients' cache key already partitions by site.
35210
+ "himi-branded-lite": [
35211
+ { method: "POST", pathPrefix: "/stores/v3/products/query", cacheable: true, ttl: 60, swr: 86400, tag: "stores/products" },
35212
+ { method: "POST", pathPrefix: "/bookings/v2/services/query", cacheable: true, ttl: 60, swr: 86400, tag: "bookings/services" },
35213
+ { method: "POST", pathPrefix: "/events/v3/events/query", cacheable: true, ttl: 60, swr: 86400, tag: "events" },
35214
+ { method: "POST", pathPrefix: "/online-programs/v3/programs/query", cacheable: true, ttl: 60, swr: 86400, tag: "online-programs" },
35215
+ { method: "POST", pathPrefix: "/blog/v3/posts/query", cacheable: true, ttl: 60, swr: 86400, tag: "blog" },
35216
+ { method: "POST", pathPrefix: "/restaurants/menus/v1/items/query", cacheable: true, ttl: 60, swr: 86400, tag: "restaurants/menus" },
35217
+ { method: "POST", pathPrefix: "/restaurants/menus/v1/sections/query", cacheable: true, ttl: 60, swr: 86400, tag: "restaurants/menus" }
35218
+ ],
35207
35219
  // Wix Owner clone — cache list-queries (POST .../query|search) + detail-GETs
35208
35220
  // per vertical. Mutations (other POST/PATCH/DELETE) match no cacheable rule →
35209
35221
  // pass through AND purge their family tag (same tag as the read rules), so a
@@ -55104,6 +55116,7 @@ function previewResponse(pathname, assets, mount = "/preview", creds, handoverAt
55104
55116
  });
55105
55117
  }
55106
55118
  const immutable = key2.startsWith("assets/");
55119
+ if (key2.startsWith("fonts/")) return bytes(hit, "public, max-age=86400, stale-while-revalidate=604800");
55107
55120
  return bytes(hit, immutable ? "public, max-age=31536000, immutable" : "no-cache");
55108
55121
  }
55109
55122
  if (key2.startsWith("assets/") || key2.startsWith("__himi/")) {
@@ -55411,21 +55424,21 @@ var init_preview_assets_generated = __esm({
55411
55424
  "../../packages/serve/src/preview-assets.generated.ts"() {
55412
55425
  init_preview_assets_format();
55413
55426
  PREVIEW_ASSET_MANIFEST = [
55414
- { key: "assets/index-C7jfAS86.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1082740, sha256: "60460d43e6bfb79ec0d0c15df9936b135a38b28fdfc52dd320251fb879ddada6" },
55415
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 1082748, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
55416
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 1087358, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
55417
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1575942, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
55418
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1666866, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
55419
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1757850, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
55420
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1848830, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
55421
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1939702, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
55422
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 2030682, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
55423
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 2139318, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
55424
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 2248402, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
55425
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 2357450, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
55426
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 2465150, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
55427
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 2553258, length: 4947, sha256: "4091f34dcdad307977192da7a8d98eada4832c2897ad533adaa182ed47559240" },
55428
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 2558205, length: 17209, sha256: "dffc9718e2faa63ae2cc919e0a842f585ed565aaaa7c53778e90379442c731b6" }
55427
+ { key: "assets/index-CoE6RLW8.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1084872, sha256: "efe384da667b3973c9254d206c2ff4a1e6cb198672bd718f73acf341f28276b6" },
55428
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 1084880, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
55429
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 1089490, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
55430
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 1578074, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
55431
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1668998, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
55432
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1759982, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
55433
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1850962, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
55434
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1941834, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
55435
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 2032814, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
55436
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 2141450, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
55437
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 2250534, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
55438
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 2359582, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
55439
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 2467282, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
55440
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 2555390, length: 4947, sha256: "22433159fbe961ce87d3d54359ae252008f338303b61c113aab733562dc269b2" },
55441
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 2560337, length: 17209, sha256: "dffc9718e2faa63ae2cc919e0a842f585ed565aaaa7c53778e90379442c731b6" }
55429
55442
  ];
55430
55443
  }
55431
55444
  });
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1087.0",
3
+ "version": "0.1089.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": "04896e9083f2ddf31e4aea4b2ae4c0be0980085fbd1ecbfb8391ac53"
70
+ "falconPackageHash": "fcac72fe81ce0248e48f05aed98939244a47c7bbbc41f26a29525b01"
71
71
  }