@walkeros/mcp 4.8.1-next-1792019907609 → 4.8.2

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.
@@ -256,7 +256,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
256
256
  var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
257
257
  var WALKEROS_JSON_PATH = "dist/walkerOS.json";
258
258
  var CACHE_TTL = 5 * 60 * 1e3;
259
- var CLIENT_HEADER = "walkeros-mcp/4.8.1-next-1792019907609";
259
+ var CLIENT_HEADER = "walkeros-mcp/4.8.2";
260
260
  var cached;
261
261
  function normalizePlatform(platform) {
262
262
  if (platform == null) return [];
@@ -1051,13 +1051,13 @@ var flow_complete_default = {
1051
1051
  properties: {
1052
1052
  data: {
1053
1053
  type: "object",
1054
- required: ["id", "total", "currency"],
1054
+ required: ["id", "value", "currency"],
1055
1055
  properties: {
1056
1056
  id: {
1057
1057
  type: "string",
1058
1058
  minLength: 1
1059
1059
  },
1060
- total: {
1060
+ value: {
1061
1061
  type: "number",
1062
1062
  minimum: 0
1063
1063
  },
@@ -1152,25 +1152,25 @@ var flow_complete_default = {
1152
1152
  bundle: {
1153
1153
  packages: {
1154
1154
  "@walkeros/collector": {
1155
- version: "4.8.1-next-1792019907609"
1155
+ version: "4.8.2"
1156
1156
  },
1157
1157
  "@walkeros/web-source-cmp-usercentrics": {
1158
- version: "4.8.1-next-1792019907609"
1158
+ version: "4.8.2"
1159
1159
  },
1160
1160
  "@walkeros/web-source-session": {
1161
- version: "4.8.1-next-1792019907609"
1161
+ version: "4.8.2"
1162
1162
  },
1163
1163
  "@walkeros/web-source-datalayer": {
1164
- version: "4.8.1-next-1792019907609"
1164
+ version: "4.8.2"
1165
1165
  },
1166
1166
  "@walkeros/web-source-browser": {
1167
- version: "4.8.1-next-1792019907609"
1167
+ version: "4.8.2"
1168
1168
  },
1169
1169
  "@walkeros/web-destination-gtag": {
1170
- version: "4.8.1-next-1792019907609"
1170
+ version: "4.8.2"
1171
1171
  },
1172
1172
  "@walkeros/web-destination-api": {
1173
- version: "4.8.1-next-1792019907609"
1173
+ version: "4.8.2"
1174
1174
  }
1175
1175
  },
1176
1176
  env: {
@@ -1426,15 +1426,13 @@ var flow_complete_default = {
1426
1426
  dataLayer: {
1427
1427
  add_to_cart: {
1428
1428
  name: "product add",
1429
- data: {
1430
- map: {
1431
- id: "data.items.0.item_id",
1432
- name: "data.items.0.item_name",
1433
- price: "data.items.0.price",
1434
- quantity: {
1435
- key: "data.items.0.quantity",
1436
- value: 1
1437
- }
1429
+ policy: {
1430
+ "data.id": "data.items.0.item_id",
1431
+ "data.name": "data.items.0.item_name",
1432
+ "data.price": "data.items.0.price",
1433
+ "data.quantity": {
1434
+ key: "data.items.0.quantity",
1435
+ value: 1
1438
1436
  }
1439
1437
  }
1440
1438
  }
@@ -1647,7 +1645,7 @@ var flow_complete_default = {
1647
1645
  action: "complete",
1648
1646
  data: {
1649
1647
  id: "ORD-100",
1650
- total: 149.8,
1648
+ value: 149.8,
1651
1649
  currency: "EUR",
1652
1650
  coupon: "WELCOME10"
1653
1651
  },
@@ -1701,7 +1699,7 @@ var flow_complete_default = {
1701
1699
  action: "complete",
1702
1700
  data: {
1703
1701
  id: "ORD-100",
1704
- total: 149.8,
1702
+ value: 149.8,
1705
1703
  currency: "EUR",
1706
1704
  coupon: "WELCOME10"
1707
1705
  },
@@ -1877,12 +1875,12 @@ var flow_complete_default = {
1877
1875
  order: {
1878
1876
  complete: {
1879
1877
  name: "purchase",
1880
- condition: "$code:(event) => event.data && event.data.total > 0",
1878
+ condition: "$code:(event) => event.data && event.data.value > 0",
1881
1879
  data: {
1882
1880
  map: {
1883
1881
  transaction_id: "data.id",
1884
1882
  value: {
1885
- fn: "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
1883
+ fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
1886
1884
  },
1887
1885
  currency: [
1888
1886
  "data.currency",
@@ -1924,12 +1922,12 @@ var flow_complete_default = {
1924
1922
  public: true,
1925
1923
  mapping: {
1926
1924
  name: "purchase",
1927
- condition: "$code:(event) => event.data && event.data.total > 0",
1925
+ condition: "$code:(event) => event.data && event.data.value > 0",
1928
1926
  data: {
1929
1927
  map: {
1930
1928
  transaction_id: "data.id",
1931
1929
  value: {
1932
- fn: "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
1930
+ fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
1933
1931
  },
1934
1932
  currency: [
1935
1933
  "data.currency",
@@ -1967,7 +1965,7 @@ var flow_complete_default = {
1967
1965
  action: "complete",
1968
1966
  data: {
1969
1967
  id: "ORD-100",
1970
- total: 149.8,
1968
+ value: 149.8,
1971
1969
  currency: "EUR",
1972
1970
  coupon: "WELCOME10"
1973
1971
  },
@@ -2061,12 +2059,12 @@ var flow_complete_default = {
2061
2059
  description: "The coupon condition leaves the parameter out when the order has none.",
2062
2060
  mapping: {
2063
2061
  name: "purchase",
2064
- condition: "$code:(event) => event.data && event.data.total > 0",
2062
+ condition: "$code:(event) => event.data && event.data.value > 0",
2065
2063
  data: {
2066
2064
  map: {
2067
2065
  transaction_id: "data.id",
2068
2066
  value: {
2069
- fn: "$code:(event) => Math.round(Number(event.data.total) * 100) / 100"
2067
+ fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
2070
2068
  },
2071
2069
  currency: [
2072
2070
  "data.currency",
@@ -2104,7 +2102,7 @@ var flow_complete_default = {
2104
2102
  action: "complete",
2105
2103
  data: {
2106
2104
  id: "ORD-101",
2107
- total: 129.9,
2105
+ value: 129.9,
2108
2106
  currency: "EUR"
2109
2107
  },
2110
2108
  id: "ev-order-complete",
@@ -2537,7 +2535,7 @@ var flow_complete_default = {
2537
2535
  action: "complete",
2538
2536
  data: {
2539
2537
  id: "ORD-100",
2540
- total: 149.8,
2538
+ value: 149.8,
2541
2539
  currency: "EUR",
2542
2540
  coupon: "WELCOME10"
2543
2541
  },
@@ -2588,7 +2586,7 @@ var flow_complete_default = {
2588
2586
  [
2589
2587
  "sendWeb",
2590
2588
  "http://localhost:8080/collect",
2591
- '[{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"jane@example.com"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
2589
+ '[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"jane@example.com"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
2592
2590
  {
2593
2591
  transport: "beacon"
2594
2592
  }
@@ -2604,7 +2602,7 @@ var flow_complete_default = {
2604
2602
  action: "complete",
2605
2603
  data: {
2606
2604
  id: "ORD-100",
2607
- total: 149.8,
2605
+ value: 149.8,
2608
2606
  currency: "EUR",
2609
2607
  coupon: "WELCOME10"
2610
2608
  },
@@ -2654,7 +2652,7 @@ var flow_complete_default = {
2654
2652
  [
2655
2653
  "sendWeb",
2656
2654
  "http://localhost:8080/collect",
2657
- '[{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
2655
+ '[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
2658
2656
  {
2659
2657
  transport: "beacon"
2660
2658
  }
@@ -2676,40 +2674,40 @@ var flow_complete_default = {
2676
2674
  bundle: {
2677
2675
  packages: {
2678
2676
  "@walkeros/collector": {
2679
- version: "4.8.1-next-1792019907609"
2677
+ version: "4.8.2"
2680
2678
  },
2681
2679
  "@walkeros/server-source-express": {
2682
- version: "4.8.1-next-1792019907609"
2680
+ version: "4.8.2"
2683
2681
  },
2684
2682
  "@walkeros/transformer-ga4": {
2685
- version: "4.8.1-next-1792019907609"
2683
+ version: "4.8.2"
2686
2684
  },
2687
2685
  "@walkeros/transformer-validate": {
2688
- version: "4.8.1-next-1792019907609"
2686
+ version: "4.8.2"
2689
2687
  },
2690
2688
  "@walkeros/server-transformer-bot": {
2691
- version: "4.8.1-next-1792019907609"
2689
+ version: "4.8.2"
2692
2690
  },
2693
2691
  "@walkeros/server-transformer-fingerprint": {
2694
- version: "4.8.1-next-1792019907609"
2692
+ version: "4.8.2"
2695
2693
  },
2696
2694
  "@walkeros/server-transformer-file": {
2697
- version: "4.8.1-next-1792019907609"
2695
+ version: "4.8.2"
2698
2696
  },
2699
2697
  "@walkeros/server-store-fs": {
2700
- version: "4.8.1-next-1792019907609"
2698
+ version: "4.8.2"
2701
2699
  },
2702
2700
  "@walkeros/server-destination-gcp": {
2703
- version: "4.8.1-next-1792019907609"
2701
+ version: "4.8.2"
2704
2702
  },
2705
2703
  "@walkeros/server-destination-meta": {
2706
- version: "4.8.1-next-1792019907609"
2704
+ version: "4.8.2"
2707
2705
  },
2708
2706
  "@walkeros/server-destination-piwikpro": {
2709
- version: "4.8.1-next-1792019907609"
2707
+ version: "4.8.2"
2710
2708
  },
2711
2709
  "@walkeros/server-destination-datamanager": {
2712
- version: "4.8.1-next-1792019907609"
2710
+ version: "4.8.2"
2713
2711
  }
2714
2712
  }
2715
2713
  }
@@ -2877,7 +2875,7 @@ var flow_complete_default = {
2877
2875
  action: "complete",
2878
2876
  data: {
2879
2877
  id: "ORD-100",
2880
- total: 149.8,
2878
+ value: 149.8,
2881
2879
  currency: "EUR",
2882
2880
  coupon: "WELCOME10"
2883
2881
  },
@@ -2934,7 +2932,7 @@ var flow_complete_default = {
2934
2932
  action: "complete",
2935
2933
  data: {
2936
2934
  id: "ORD-100",
2937
- total: 149.8,
2935
+ value: 149.8,
2938
2936
  currency: "EUR",
2939
2937
  coupon: "WELCOME10"
2940
2938
  },
@@ -3028,7 +3026,7 @@ var flow_complete_default = {
3028
3026
  data: {
3029
3027
  id: "SUB-77",
3030
3028
  currency: "EUR",
3031
- total: 59.9
3029
+ value: 59.9
3032
3030
  },
3033
3031
  user: {
3034
3032
  device: "cid-9",
@@ -3318,42 +3316,6 @@ var flow_complete_default = {
3318
3316
  },
3319
3317
  next: {
3320
3318
  stop: true
3321
- },
3322
- examples: {
3323
- walkerJs: {
3324
- title: "Serve walker.js first party",
3325
- description: "GET /walker.js is answered from the assets store with the configured headers; the step returns false and its next stops, so a script request never becomes an event. Proven over HTTP in the flow test.",
3326
- public: true,
3327
- in: {
3328
- name: "page view",
3329
- entity: "page",
3330
- action: "view",
3331
- data: {
3332
- domain: "www.example.com",
3333
- title: "Trail Runner",
3334
- id: "/product/trail-runner"
3335
- },
3336
- id: "ev-page-view",
3337
- trigger: "load",
3338
- timestamp: 17e11,
3339
- consent: {
3340
- functional: true,
3341
- marketing: true
3342
- },
3343
- globals: {
3344
- language: "en",
3345
- pageGroup: "product"
3346
- },
3347
- user: {
3348
- device: "d3v1c3",
3349
- session: "s3ss10n"
3350
- },
3351
- source: {
3352
- type: "express",
3353
- platform: "server"
3354
- }
3355
- }
3356
- }
3357
3319
  }
3358
3320
  },
3359
3321
  dedup: {
@@ -3378,7 +3340,7 @@ var flow_complete_default = {
3378
3340
  action: "complete",
3379
3341
  data: {
3380
3342
  id: "ORD-100",
3381
- total: 149.8,
3343
+ value: 149.8,
3382
3344
  currency: "EUR",
3383
3345
  coupon: "WELCOME10"
3384
3346
  },
@@ -3435,7 +3397,7 @@ var flow_complete_default = {
3435
3397
  action: "complete",
3436
3398
  data: {
3437
3399
  id: "ORD-100",
3438
- total: 149.8,
3400
+ value: 149.8,
3439
3401
  currency: "EUR",
3440
3402
  coupon: "WELCOME10"
3441
3403
  },
@@ -3508,7 +3470,7 @@ var flow_complete_default = {
3508
3470
  action: "complete",
3509
3471
  data: {
3510
3472
  id: "ORD-100",
3511
- total: 149.8,
3473
+ value: 149.8,
3512
3474
  currency: "EUR",
3513
3475
  coupon: "WELCOME10"
3514
3476
  },
@@ -3565,7 +3527,7 @@ var flow_complete_default = {
3565
3527
  action: "complete",
3566
3528
  data: {
3567
3529
  id: "ORD-100",
3568
- total: 149.8,
3530
+ value: 149.8,
3569
3531
  currency: "EUR",
3570
3532
  coupon: "WELCOME10"
3571
3533
  },
@@ -3632,7 +3594,7 @@ var flow_complete_default = {
3632
3594
  action: "complete",
3633
3595
  data: {
3634
3596
  id: "ORD-100",
3635
- total: 149.8,
3597
+ value: 149.8,
3636
3598
  currency: "EUR",
3637
3599
  coupon: "WELCOME10"
3638
3600
  },
@@ -3689,7 +3651,7 @@ var flow_complete_default = {
3689
3651
  action: "complete",
3690
3652
  data: {
3691
3653
  id: "ORD-100",
3692
- total: 149.8,
3654
+ value: 149.8,
3693
3655
  currency: "EUR",
3694
3656
  coupon: "WELCOME10"
3695
3657
  },
@@ -3751,7 +3713,7 @@ var flow_complete_default = {
3751
3713
  action: "complete",
3752
3714
  data: {
3753
3715
  id: "ORD-100",
3754
- total: 149.8,
3716
+ value: 149.8,
3755
3717
  currency: "EUR",
3756
3718
  coupon: "WELCOME10"
3757
3719
  },
@@ -3808,7 +3770,7 @@ var flow_complete_default = {
3808
3770
  action: "complete",
3809
3771
  data: {
3810
3772
  id: "ORD-100",
3811
- total: 149.8,
3773
+ value: 149.8,
3812
3774
  currency: "EUR",
3813
3775
  coupon: "WELCOME10"
3814
3776
  },
@@ -3902,7 +3864,7 @@ var flow_complete_default = {
3902
3864
  action: "complete",
3903
3865
  data: {
3904
3866
  id: "ORD-100",
3905
- total: 149.8,
3867
+ value: 149.8,
3906
3868
  currency: "EUR",
3907
3869
  coupon: "WELCOME10"
3908
3870
  },
@@ -3962,7 +3924,7 @@ var flow_complete_default = {
3962
3924
  action: "complete",
3963
3925
  data: {
3964
3926
  id: "ORD-100",
3965
- total: 149.8,
3927
+ value: 149.8,
3966
3928
  currency: "EUR",
3967
3929
  coupon: "WELCOME10"
3968
3930
  },
@@ -4045,7 +4007,7 @@ var flow_complete_default = {
4045
4007
  action: "complete",
4046
4008
  data: {
4047
4009
  id: "ORD-100",
4048
- total: 149.8,
4010
+ value: 149.8,
4049
4011
  currency: "EUR",
4050
4012
  coupon: "WELCOME10"
4051
4013
  },
@@ -4105,7 +4067,7 @@ var flow_complete_default = {
4105
4067
  action: "complete",
4106
4068
  data: {
4107
4069
  id: "ORD-100",
4108
- total: 149.8,
4070
+ value: 149.8,
4109
4071
  currency: "EUR",
4110
4072
  coupon: "WELCOME10"
4111
4073
  },
@@ -4276,7 +4238,7 @@ var flow_complete_default = {
4276
4238
  action: "complete",
4277
4239
  data: {
4278
4240
  id: "ORD-100",
4279
- total: 149.8,
4241
+ value: 149.8,
4280
4242
  currency: "EUR",
4281
4243
  coupon: "WELCOME10"
4282
4244
  },
@@ -4336,7 +4298,7 @@ var flow_complete_default = {
4336
4298
  action: "complete",
4337
4299
  data: {
4338
4300
  id: "ORD-100",
4339
- total: 149.8,
4301
+ value: 149.8,
4340
4302
  currency: "EUR",
4341
4303
  coupon: "WELCOME10"
4342
4304
  },
@@ -4411,7 +4373,7 @@ var flow_complete_default = {
4411
4373
  action: "complete",
4412
4374
  data: {
4413
4375
  id: "ORD-100",
4414
- total: 149.8,
4376
+ value: 149.8,
4415
4377
  currency: "EUR",
4416
4378
  coupon: "WELCOME10"
4417
4379
  },
@@ -4472,7 +4434,7 @@ var flow_complete_default = {
4472
4434
  action: "complete",
4473
4435
  data: {
4474
4436
  id: "ORD-100",
4475
- total: 149.8,
4437
+ value: 149.8,
4476
4438
  currency: "EUR",
4477
4439
  coupon: "WELCOME10"
4478
4440
  },
@@ -4537,7 +4499,7 @@ var flow_complete_default = {
4537
4499
  action: "complete",
4538
4500
  data: {
4539
4501
  id: "ORD-100",
4540
- total: 149.8,
4502
+ value: 149.8,
4541
4503
  currency: "EUR",
4542
4504
  coupon: "WELCOME10"
4543
4505
  },
@@ -4596,7 +4558,7 @@ var flow_complete_default = {
4596
4558
  action: "complete",
4597
4559
  data: {
4598
4560
  id: "ORD-100",
4599
- total: 149.8,
4561
+ value: 149.8,
4600
4562
  currency: "EUR",
4601
4563
  coupon: "WELCOME10"
4602
4564
  },
@@ -4686,7 +4648,7 @@ var flow_complete_default = {
4686
4648
  action: "complete",
4687
4649
  data: {
4688
4650
  id: "ORD-100",
4689
- total: 149.8,
4651
+ value: 149.8,
4690
4652
  currency: "EUR",
4691
4653
  coupon: "WELCOME10"
4692
4654
  },
@@ -4748,7 +4710,7 @@ var flow_complete_default = {
4748
4710
  action: "complete",
4749
4711
  data: {
4750
4712
  id: "ORD-100",
4751
- total: 149.8,
4713
+ value: 149.8,
4752
4714
  currency: "EUR",
4753
4715
  coupon: "WELCOME10"
4754
4716
  },
@@ -4853,7 +4815,7 @@ var flow_complete_default = {
4853
4815
  action: "complete",
4854
4816
  data: {
4855
4817
  id: "ORD-100",
4856
- total: 149.8,
4818
+ value: 149.8,
4857
4819
  currency: "EUR",
4858
4820
  coupon: "WELCOME10"
4859
4821
  },
@@ -4916,7 +4878,7 @@ var flow_complete_default = {
4916
4878
  action: "complete",
4917
4879
  data: {
4918
4880
  id: "ORD-100",
4919
- total: 149.8,
4881
+ value: 149.8,
4920
4882
  currency: "EUR",
4921
4883
  coupon: "WELCOME10"
4922
4884
  },
@@ -4997,7 +4959,7 @@ var flow_complete_default = {
4997
4959
  action: "complete",
4998
4960
  data: {
4999
4961
  id: "ORD-100",
5000
- total: 149.8,
4962
+ value: 149.8,
5001
4963
  currency: "EUR",
5002
4964
  coupon: "WELCOME10"
5003
4965
  },
@@ -5060,7 +5022,7 @@ var flow_complete_default = {
5060
5022
  action: "complete",
5061
5023
  data: {
5062
5024
  id: "ORD-100",
5063
- total: 149.8,
5025
+ value: 149.8,
5064
5026
  currency: "EUR",
5065
5027
  coupon: "WELCOME10"
5066
5028
  },
@@ -5165,7 +5127,7 @@ var flow_complete_default = {
5165
5127
  action: "complete",
5166
5128
  data: {
5167
5129
  id: "ORD-100",
5168
- total: 149.8,
5130
+ value: 149.8,
5169
5131
  currency: "EUR",
5170
5132
  coupon: "WELCOME10"
5171
5133
  },
@@ -5222,7 +5184,7 @@ var flow_complete_default = {
5222
5184
  [
5223
5185
  "PubSub.topic.publishMessage",
5224
5186
  {
5225
- data: '{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93","hash":"cea3ca84340feb4a","botScore":null,"botCategory":"unknown","ltv":420,"segment":"loyal"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"timing":0,"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true,"count":1,"release":{"server":"4.6.1"}}}'
5187
+ data: '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93","hash":"7f1b2860213c9d3d","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"timing":0,"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true,"count":1,"release":{"server":"4.6.1"}}}'
5226
5188
  }
5227
5189
  ]
5228
5190
  ]
@@ -5272,7 +5234,7 @@ var flow_complete_default = {
5272
5234
  },
5273
5235
  data: {
5274
5236
  map: {
5275
- value: "data.total",
5237
+ value: "data.value",
5276
5238
  currency: [
5277
5239
  "data.currency",
5278
5240
  {
@@ -5322,7 +5284,7 @@ var flow_complete_default = {
5322
5284
  },
5323
5285
  data: {
5324
5286
  map: {
5325
- value: "data.total",
5287
+ value: "data.value",
5326
5288
  currency: [
5327
5289
  "data.currency",
5328
5290
  {
@@ -5339,7 +5301,7 @@ var flow_complete_default = {
5339
5301
  action: "complete",
5340
5302
  data: {
5341
5303
  id: "ORD-100",
5342
- total: 149.8,
5304
+ value: 149.8,
5343
5305
  currency: "EUR",
5344
5306
  coupon: "WELCOME10"
5345
5307
  },
@@ -5481,7 +5443,7 @@ var flow_complete_default = {
5481
5443
  name: "ecommerceOrder",
5482
5444
  settings: {
5483
5445
  goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
5484
- goalValue: "data.total"
5446
+ goalValue: "data.value"
5485
5447
  },
5486
5448
  data: {
5487
5449
  set: [
@@ -5504,7 +5466,7 @@ var flow_complete_default = {
5504
5466
  {
5505
5467
  map: {
5506
5468
  orderId: "data.id",
5507
- grandTotal: "data.total"
5469
+ grandTotal: "data.value"
5508
5470
  }
5509
5471
  }
5510
5472
  ]
@@ -5527,7 +5489,7 @@ var flow_complete_default = {
5527
5489
  name: "ecommerceOrder",
5528
5490
  settings: {
5529
5491
  goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
5530
- goalValue: "data.total"
5492
+ goalValue: "data.value"
5531
5493
  },
5532
5494
  data: {
5533
5495
  set: [
@@ -5550,7 +5512,7 @@ var flow_complete_default = {
5550
5512
  {
5551
5513
  map: {
5552
5514
  orderId: "data.id",
5553
- grandTotal: "data.total"
5515
+ grandTotal: "data.value"
5554
5516
  }
5555
5517
  }
5556
5518
  ]
@@ -5562,7 +5524,7 @@ var flow_complete_default = {
5562
5524
  action: "complete",
5563
5525
  data: {
5564
5526
  id: "ORD-100",
5565
- total: 149.8,
5527
+ value: 149.8,
5566
5528
  currency: "EUR",
5567
5529
  coupon: "WELCOME10"
5568
5530
  },
@@ -5654,7 +5616,7 @@ var flow_complete_default = {
5654
5616
  data: {
5655
5617
  map: {
5656
5618
  transactionId: "data.id",
5657
- conversionValue: "data.total",
5619
+ conversionValue: "data.value",
5658
5620
  currency: [
5659
5621
  "data.currency",
5660
5622
  {
@@ -5688,7 +5650,7 @@ var flow_complete_default = {
5688
5650
  data: {
5689
5651
  map: {
5690
5652
  transactionId: "data.id",
5691
- conversionValue: "data.total",
5653
+ conversionValue: "data.value",
5692
5654
  currency: [
5693
5655
  "data.currency",
5694
5656
  {
@@ -5705,7 +5667,7 @@ var flow_complete_default = {
5705
5667
  action: "complete",
5706
5668
  data: {
5707
5669
  id: "ORD-100",
5708
- total: 149.8,
5670
+ value: 149.8,
5709
5671
  currency: "EUR",
5710
5672
  coupon: "WELCOME10",
5711
5673
  session: {
@@ -5786,13 +5748,13 @@ var flow_complete_default = {
5786
5748
  bundle: {
5787
5749
  packages: {
5788
5750
  "@walkeros/collector": {
5789
- version: "4.8.1-next-1792019907609"
5751
+ version: "4.8.2"
5790
5752
  },
5791
5753
  "@walkeros/server-source-gcp": {
5792
- version: "4.8.1-next-1792019907609"
5754
+ version: "4.8.2"
5793
5755
  },
5794
5756
  "@walkeros/server-destination-gcp": {
5795
- version: "4.8.1-next-1792019907609"
5757
+ version: "4.8.2"
5796
5758
  }
5797
5759
  }
5798
5760
  }
@@ -5824,7 +5786,7 @@ var flow_complete_default = {
5824
5786
  public: true,
5825
5787
  in: {
5826
5788
  id: "msg-1",
5827
- dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR","coupon":"WELCOME10"},"id":"ev-order-complete","trigger":"load","timestamp":1700000000000,"consent":{"functional":true,"marketing":true},"globals":{"language":"en","pageGroup":"checkout"},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}]}',
5789
+ dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"id":"ev-order-complete","trigger":"load","timestamp":1700000000000,"consent":{"functional":true,"marketing":true},"globals":{"language":"en","pageGroup":"checkout"},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}]}',
5828
5790
  attributes: {}
5829
5791
  },
5830
5792
  out: [
@@ -5836,7 +5798,7 @@ var flow_complete_default = {
5836
5798
  action: "complete",
5837
5799
  data: {
5838
5800
  id: "ORD-100",
5839
- total: 149.8,
5801
+ value: 149.8,
5840
5802
  currency: "EUR",
5841
5803
  coupon: "WELCOME10"
5842
5804
  },
@@ -5928,7 +5890,7 @@ var flow_complete_default = {
5928
5890
  action: "complete",
5929
5891
  data: {
5930
5892
  id: "ORD-100",
5931
- total: 149.8,
5893
+ value: 149.8,
5932
5894
  currency: "EUR",
5933
5895
  coupon: "WELCOME10"
5934
5896
  },
@@ -5986,7 +5948,7 @@ var flow_complete_default = {
5986
5948
  [
5987
5949
  {
5988
5950
  name: "order complete",
5989
- data: '{"id":"ORD-100","total":149.8,"currency":"EUR","coupon":"WELCOME10"}',
5951
+ data: '{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"}',
5990
5952
  context: null,
5991
5953
  globals: '{"language":"en","pageGroup":"checkout"}',
5992
5954
  custom: null,
@@ -6131,11 +6093,15 @@ var REFERENCE_RESOURCES = [
6131
6093
  kind: "static",
6132
6094
  name: "packages",
6133
6095
  uri: "walkeros://reference/packages",
6134
- description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores",
6096
+ description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores, as { catalog, count, warnings? }. A failed npm search answers an empty catalog with a warning that says so.",
6135
6097
  mimeType: JSON_MIME,
6136
6098
  read: async () => {
6137
- const { entries } = await fetchCatalog();
6138
- return json(entries);
6099
+ const { entries, warnings } = await fetchCatalog();
6100
+ return json({
6101
+ catalog: entries,
6102
+ count: entries.length,
6103
+ ...warnings.length > 0 ? { warnings } : {}
6104
+ });
6139
6105
  }
6140
6106
  }
6141
6107
  ];
@@ -6343,4 +6309,4 @@ export {
6343
6309
  KNOWLEDGE_RESOURCES,
6344
6310
  PROMPTS
6345
6311
  };
6346
- //# sourceMappingURL=chunk-P6JS2RWY.js.map
6312
+ //# sourceMappingURL=chunk-4K6NNGYC.js.map