@wix/himalaya-cli 0.1934.0 → 0.1936.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.
|
@@ -32,7 +32,19 @@ export interface FrogTelemetryConfig {
|
|
|
32
32
|
apiRules?: ServedWixApiRule[];
|
|
33
33
|
/** oneapp: the platform action map (#4979), a user's tap on a descriptor action → its RN tap event. */
|
|
34
34
|
actionMap?: ServedActionMapEntry[];
|
|
35
|
+
/** oneapp: the platform push map (#6442), a tapped notification → the RN app's own push-opened event. */
|
|
36
|
+
pushMap?: ServedPushMapEntry[];
|
|
35
37
|
}
|
|
38
|
+
export interface ServedPushMapEntry {
|
|
39
|
+
id: string;
|
|
40
|
+
match: string;
|
|
41
|
+
src: number;
|
|
42
|
+
evid: number;
|
|
43
|
+
endpoint?: string;
|
|
44
|
+
module?: string;
|
|
45
|
+
fields: Record<string, string | number>;
|
|
46
|
+
}
|
|
47
|
+
export declare function servedPushMap(app: string): ServedPushMapEntry[] | undefined;
|
|
36
48
|
export interface ServedActionMapEntry {
|
|
37
49
|
id: string;
|
|
38
50
|
actionId: string;
|
package/dist/cli.mjs
CHANGED
|
@@ -3964,6 +3964,7 @@ var init_himi_package = __esm({
|
|
|
3964
3964
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
3965
3965
|
var init_icon_catalog_generated = __esm({
|
|
3966
3966
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
3967
|
+
"use strict";
|
|
3967
3968
|
init_define_HHP_CATALOG();
|
|
3968
3969
|
ICON_VIEW_BOX = 24;
|
|
3969
3970
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -43349,8 +43350,108 @@ var init_action_map = __esm({
|
|
|
43349
43350
|
}
|
|
43350
43351
|
});
|
|
43351
43352
|
|
|
43353
|
+
// ../../core/schema/bi/push-map.json
|
|
43354
|
+
var push_map_default;
|
|
43355
|
+
var init_push_map = __esm({
|
|
43356
|
+
"../../core/schema/bi/push-map.json"() {
|
|
43357
|
+
push_map_default = {
|
|
43358
|
+
_comment: "#6442 \u2014 the platform push map: a notification the user TAPPED -> the RN app's own push-opened event (RN Nano's 191:200 genericPushNotificationEvent, sent beside the engine's 5:272). Per app, matched on the tapped link's route (scheme, leading slashes, query and fragment ignored; `:name` binds a segment). Fields are `$push.notificationId`, `$push.link`, `$push.title`, `$push.content` (an allowlist of the payload's data as JSON, keys sorted; see README), `$route.<name>` or literals. A notification without an id sends nothing, as in RN. `rn` cites the RN source and `differs` says where it departs; both are stripped when served as telemetryConfig.frog.pushMap. Canonical evaluator: stdlib/telemetry/wix-bi/src/push-map.ts; fixture: core/schema/fixtures/bi-push-map-cases.json.",
|
|
43359
|
+
apps: {
|
|
43360
|
+
nano: [
|
|
43361
|
+
{
|
|
43362
|
+
id: "widget",
|
|
43363
|
+
match: "widget/:widgetId",
|
|
43364
|
+
src: 191,
|
|
43365
|
+
evid: 200,
|
|
43366
|
+
endpoint: "oneapp",
|
|
43367
|
+
module: "nano",
|
|
43368
|
+
fields: {
|
|
43369
|
+
widgetId: "$route.widgetId",
|
|
43370
|
+
actionType: "open widget",
|
|
43371
|
+
pushType: "in-widget push",
|
|
43372
|
+
pushId: "$push.notificationId",
|
|
43373
|
+
deepLink: "$push.link",
|
|
43374
|
+
title: "$push.title",
|
|
43375
|
+
pushContent: "$push.content"
|
|
43376
|
+
},
|
|
43377
|
+
rn: "genericPushNotificationEvent 191:200 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/utils/deeplinkUtils.ts:29 (createNotificationOpenedHandler) <- src/moduleAPI/deepLinks.ts:49",
|
|
43378
|
+
differs: "widgetId is the link's (RN reads the payload's custom widgetId key, which names the same widget)."
|
|
43379
|
+
},
|
|
43380
|
+
{
|
|
43381
|
+
id: "memberJoined",
|
|
43382
|
+
match: "memberJoined/:widgetId",
|
|
43383
|
+
src: 191,
|
|
43384
|
+
evid: 200,
|
|
43385
|
+
endpoint: "oneapp",
|
|
43386
|
+
module: "nano",
|
|
43387
|
+
fields: {
|
|
43388
|
+
widgetId: "$route.widgetId",
|
|
43389
|
+
actionType: "open my widgets",
|
|
43390
|
+
pushType: "member joined",
|
|
43391
|
+
pushId: "$push.notificationId",
|
|
43392
|
+
deepLink: "$push.link",
|
|
43393
|
+
title: "$push.title",
|
|
43394
|
+
pushContent: "$push.content"
|
|
43395
|
+
},
|
|
43396
|
+
rn: "genericPushNotificationEvent 191:200 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/utils/deeplinkUtils.ts:29 (createNotificationOpenedHandler) <- src/moduleAPI/deepLinks.ts:67",
|
|
43397
|
+
differs: "widgetId is the link's (RN reads the payload's custom widgetId key, which names the same widget)."
|
|
43398
|
+
},
|
|
43399
|
+
{
|
|
43400
|
+
id: "explore",
|
|
43401
|
+
match: "explore",
|
|
43402
|
+
src: 191,
|
|
43403
|
+
evid: 200,
|
|
43404
|
+
endpoint: "oneapp",
|
|
43405
|
+
module: "nano",
|
|
43406
|
+
fields: {
|
|
43407
|
+
actionType: "explore screen",
|
|
43408
|
+
pushType: "nano of the day",
|
|
43409
|
+
pushId: "$push.notificationId",
|
|
43410
|
+
deepLink: "$push.link",
|
|
43411
|
+
title: "$push.title",
|
|
43412
|
+
pushContent: "$push.content"
|
|
43413
|
+
},
|
|
43414
|
+
rn: "genericPushNotificationEvent 191:200 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/utils/deeplinkUtils.ts:29 (createNotificationOpenedHandler) <- src/moduleAPI/deepLinks.ts:82"
|
|
43415
|
+
},
|
|
43416
|
+
{
|
|
43417
|
+
id: "edit",
|
|
43418
|
+
match: "edit/:widgetId",
|
|
43419
|
+
src: 191,
|
|
43420
|
+
evid: 200,
|
|
43421
|
+
endpoint: "oneapp",
|
|
43422
|
+
module: "nano",
|
|
43423
|
+
fields: {
|
|
43424
|
+
widgetId: "$route.widgetId",
|
|
43425
|
+
actionType: "widget edit",
|
|
43426
|
+
pushType: "version was created",
|
|
43427
|
+
pushId: "$push.notificationId",
|
|
43428
|
+
deepLink: "$push.link",
|
|
43429
|
+
title: "$push.title",
|
|
43430
|
+
pushContent: "$push.content"
|
|
43431
|
+
},
|
|
43432
|
+
rn: "genericPushNotificationEvent 191:200 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/utils/deeplinkUtils.ts:29 (createNotificationOpenedHandler) <- src/moduleAPI/deepLinks.ts:93",
|
|
43433
|
+
differs: "widgetId is the link's (RN reads the payload's custom widgetId key, which names the same widget)."
|
|
43434
|
+
}
|
|
43435
|
+
]
|
|
43436
|
+
}
|
|
43437
|
+
};
|
|
43438
|
+
}
|
|
43439
|
+
});
|
|
43440
|
+
|
|
43352
43441
|
// ../../core/dev-server/src/app-config.ts
|
|
43353
43442
|
import { createHash as createHash12 } from "node:crypto";
|
|
43443
|
+
function servedPushMap(app2) {
|
|
43444
|
+
const entries = push_map_default.apps[app2];
|
|
43445
|
+
return entries?.map((e2) => ({
|
|
43446
|
+
id: e2.id,
|
|
43447
|
+
match: e2.match,
|
|
43448
|
+
src: e2.src,
|
|
43449
|
+
evid: e2.evid,
|
|
43450
|
+
...e2.endpoint ? { endpoint: e2.endpoint } : {},
|
|
43451
|
+
...e2.module ? { module: e2.module } : {},
|
|
43452
|
+
fields: e2.fields
|
|
43453
|
+
}));
|
|
43454
|
+
}
|
|
43354
43455
|
function servedActionMap(app2) {
|
|
43355
43456
|
const entries = action_map_default.apps[app2];
|
|
43356
43457
|
return entries?.map((e2) => ({
|
|
@@ -43414,6 +43515,8 @@ function deriveTelemetryConfig(app2) {
|
|
|
43414
43515
|
cfg.frog.apiRules = servedWixApiRules();
|
|
43415
43516
|
const actionMap = servedActionMap(app2.name);
|
|
43416
43517
|
if (actionMap) cfg.frog.actionMap = actionMap;
|
|
43518
|
+
const pushMap = servedPushMap(app2.name);
|
|
43519
|
+
if (pushMap) cfg.frog.pushMap = pushMap;
|
|
43417
43520
|
}
|
|
43418
43521
|
}
|
|
43419
43522
|
if (wp?.real?.monitoring === true) {
|
|
@@ -43680,6 +43783,7 @@ var init_app_config = __esm({
|
|
|
43680
43783
|
init_screen_map();
|
|
43681
43784
|
init_wix_api_rules();
|
|
43682
43785
|
init_action_map();
|
|
43786
|
+
init_push_map();
|
|
43683
43787
|
SHARED_WIX_SENTRY_DSN = "https://5dfa4f23057c43149b6219c07d177472@sentry.io/84240";
|
|
43684
43788
|
NAV_OVERRIDES = {
|
|
43685
43789
|
reference: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1936.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": "1dca888160c6a9b17765d353150691a15cb91821c769a36118eab57b"
|
|
86
86
|
}
|