@wix/himalaya-cli 0.1635.0 → 0.1637.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.
@@ -28,7 +28,21 @@ export interface FrogTelemetryConfig {
28
28
  lv?: string;
29
29
  /** oneapp: the platform screen map (#4976), Himi screen id → RN 67:267 screen. */
30
30
  screenMap?: Record<string, ServedScreenMapEntry>;
31
+ /** oneapp: the Wix API bridge BI rules (#4977), a successful Wix API call → its outcome event. */
32
+ apiRules?: ServedWixApiRule[];
31
33
  }
34
+ export interface ServedWixApiRule {
35
+ id: string;
36
+ method: string;
37
+ path: string;
38
+ status?: string;
39
+ src: number;
40
+ evid: number;
41
+ endpoint?: string;
42
+ module?: string;
43
+ fields: Record<string, string | number>;
44
+ }
45
+ export declare function servedWixApiRules(): ServedWixApiRule[];
32
46
  export interface ServedScreenMapEntry {
33
47
  screenName: string;
34
48
  module: string;
@@ -71,6 +71,9 @@ export interface OneAppFrogEvent {
71
71
  fields: Record<string, string | number>;
72
72
  }
73
73
  export declare function redactFrogParam(value: string): string;
74
+ /** The frog ROOT, where RN's bookings-data v2 loggers (`endpoint: ''`) send (#4977): on the
75
+ * configured frog's origin, like a named endpoint. */
76
+ export declare const FROG_ROOT_ENDPOINT = "/";
74
77
  export declare function eventEndpoint(eventEndpointValue: string | undefined, configEndpoint: string | undefined): string;
75
78
  /** `oneapp` → `https://frog.wix.com/oneapp`; a full URL is kept as-is. */
76
79
  export declare function frogEndpointUrl(endpoint: string | undefined): string;
@@ -54,7 +54,9 @@ function onConfigOrigin(name, configEndpoint) {
54
54
  return name;
55
55
  }
56
56
  }
57
+ var FROG_ROOT_ENDPOINT = "/";
57
58
  function eventEndpoint(eventEndpointValue, configEndpoint) {
59
+ if (eventEndpointValue === FROG_ROOT_ENDPOINT) return onConfigOrigin("", configEndpoint) || `${FROG_ORIGIN}/`;
58
60
  return frogEndpointUrl(eventEndpointValue && BARE_ENDPOINT.test(eventEndpointValue) ? onConfigOrigin(eventEndpointValue, configEndpoint) : configEndpoint);
59
61
  }
60
62
  function frogEndpointUrl(endpoint) {
@@ -240,6 +242,7 @@ function WixFrogTelemetrySink(options) {
240
242
  export {
241
243
  FROG_EVID,
242
244
  FROG_HOST_STAMPED_FIELDS,
245
+ FROG_ROOT_ENDPOINT,
243
246
  FROG_WORKER_RESERVED_FIELDS,
244
247
  ONEAPP_DEFAULT_ENDPOINT,
245
248
  ONEAPP_DEFAULT_LV,
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2455277
5
+ "bytes": 2459573
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 23064
22
22
  },
23
23
  {
24
- "name": "preview-deferred/67feb362281a3040ee05592769227c58a98ec3c8073dac95ecb5629141c67061.bin",
24
+ "name": "preview-deferred/289b89dc660fa050af31f8ce5f22ffd7332a60c7b80b8ffd2b141ec074fb2e22.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-CDxdgL1u.js",
82
+ "key": "assets/pdf-D1ZDeakq.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "67feb362281a3040ee05592769227c58a98ec3c8073dac95ecb5629141c67061",
85
- "file": "preview-deferred/67feb362281a3040ee05592769227c58a98ec3c8073dac95ecb5629141c67061.bin"
84
+ "sha256": "289b89dc660fa050af31f8ce5f22ffd7332a60c7b80b8ffd2b141ec074fb2e22",
85
+ "file": "preview-deferred/289b89dc660fa050af31f8ce5f22ffd7332a60c7b80b8ffd2b141ec074fb2e22.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",