@walkeros/cli 4.9.0 → 4.10.0-next-1794522704623

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.
@@ -234,32 +234,28 @@
234
234
  "settings": {
235
235
  "windowCollector": "walkerCollector"
236
236
  },
237
- "observe": {
238
- "url": "$env.OBSERVE_URL:https://app.walkeros.io/observe",
239
- "binding": "$env.OBSERVE_BINDING:obs-web"
240
- },
241
237
  "bundle": {
242
238
  "packages": {
243
239
  "@walkeros/collector": {
244
- "version": "4.9.0"
240
+ "version": "4.10.0-next-1794522704623"
245
241
  },
246
242
  "@walkeros/web-source-cmp-usercentrics": {
247
- "version": "4.9.0"
243
+ "version": "4.10.0-next-1794522704623"
248
244
  },
249
245
  "@walkeros/web-source-session": {
250
- "version": "4.9.0"
246
+ "version": "4.10.0-next-1794522704623"
251
247
  },
252
248
  "@walkeros/web-source-datalayer": {
253
- "version": "4.9.0"
249
+ "version": "4.10.0-next-1794522704623"
254
250
  },
255
251
  "@walkeros/web-source-browser": {
256
- "version": "4.9.0"
252
+ "version": "4.10.0-next-1794522704623"
257
253
  },
258
254
  "@walkeros/web-destination-gtag": {
259
- "version": "4.9.0"
255
+ "version": "4.10.0-next-1794522704623"
260
256
  },
261
257
  "@walkeros/web-destination-api": {
262
- "version": "4.9.0"
258
+ "version": "4.10.0-next-1794522704623"
263
259
  }
264
260
  },
265
261
  "env": {
@@ -1771,47 +1767,43 @@
1771
1767
  "config": {
1772
1768
  "platform": "server",
1773
1769
  "url": "$env.SERVER_URL:http://localhost:8080/collect",
1774
- "observe": {
1775
- "level": "standard",
1776
- "sample": 0.1
1777
- },
1778
1770
  "bundle": {
1779
1771
  "packages": {
1780
1772
  "@walkeros/collector": {
1781
- "version": "4.9.0"
1773
+ "version": "4.10.0-next-1794522704623"
1782
1774
  },
1783
1775
  "@walkeros/server-source-express": {
1784
- "version": "4.9.0"
1776
+ "version": "4.10.0-next-1794522704623"
1785
1777
  },
1786
1778
  "@walkeros/transformer-ga4": {
1787
- "version": "4.9.0"
1779
+ "version": "4.10.0-next-1794522704623"
1788
1780
  },
1789
1781
  "@walkeros/transformer-validate": {
1790
- "version": "4.9.0"
1782
+ "version": "4.10.0-next-1794522704623"
1791
1783
  },
1792
1784
  "@walkeros/server-transformer-bot": {
1793
- "version": "4.9.0"
1785
+ "version": "4.10.0-next-1794522704623"
1794
1786
  },
1795
1787
  "@walkeros/server-transformer-fingerprint": {
1796
- "version": "4.9.0"
1788
+ "version": "4.10.0-next-1794522704623"
1797
1789
  },
1798
1790
  "@walkeros/server-transformer-file": {
1799
- "version": "4.9.0"
1791
+ "version": "4.10.0-next-1794522704623"
1800
1792
  },
1801
1793
  "@walkeros/server-store-fs": {
1802
- "version": "4.9.0"
1794
+ "version": "4.10.0-next-1794522704623"
1803
1795
  },
1804
1796
  "@walkeros/server-destination-gcp": {
1805
- "version": "4.9.0"
1797
+ "version": "4.10.0-next-1794522704623"
1806
1798
  },
1807
1799
  "@walkeros/server-destination-meta": {
1808
- "version": "4.9.0"
1800
+ "version": "4.10.0-next-1794522704623"
1809
1801
  },
1810
1802
  "@walkeros/server-destination-piwikpro": {
1811
- "version": "4.9.0"
1803
+ "version": "4.10.0-next-1794522704623"
1812
1804
  },
1813
1805
  "@walkeros/server-destination-datamanager": {
1814
- "version": "4.9.0"
1806
+ "version": "4.10.0-next-1794522704623"
1815
1807
  }
1816
1808
  }
1817
1809
  }
@@ -4736,10 +4728,10 @@
4736
4728
  "destinations": [
4737
4729
  {
4738
4730
  "operatingAccount": {
4739
- "accountId": "$env.GADS_ACCOUNT_ID:123-456-7890",
4731
+ "accountId": "$env.GADS_ACCOUNT_ID:1234567890",
4740
4732
  "accountType": "GOOGLE_ADS"
4741
4733
  },
4742
- "productDestinationId": "$env.GADS_CONVERSION_ACTION:AW-CONVERSION-123"
4734
+ "productDestinationId": "$env.GADS_CONVERSION_ACTION:987654321"
4743
4735
  }
4744
4736
  ]
4745
4737
  },
@@ -4859,15 +4851,14 @@
4859
4851
  },
4860
4852
  "out": [
4861
4853
  [
4862
- "fetch",
4854
+ "sendServer",
4863
4855
  "https://datamanager.googleapis.com/v1/events:ingest",
4856
+ "{\"events\":[{\"eventTimestamp\":\"2023-11-14T22:13:20.000Z\",\"transactionId\":\"ORD-100\",\"adIdentifiers\":{\"gclid\":\"gclid-abc123\"},\"conversionValue\":149.8,\"currency\":\"EUR\",\"eventDeviceInfo\":{\"ipAddress\":\"203.0.113.42\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36\"},\"consent\":{\"adUserData\":\"CONSENT_GRANTED\"},\"eventSource\":\"WEB\"}],\"destinations\":[{\"operatingAccount\":{\"accountId\":\"1234567890\",\"accountType\":\"GOOGLE_ADS\"},\"productDestinationId\":\"987654321\"}],\"encoding\":\"HEX\"}",
4864
4857
  {
4865
- "method": "POST",
4866
4858
  "headers": {
4867
- "Authorization": "Bearer ya29.c.test_token",
4868
- "Content-Type": "application/json"
4859
+ "authorization": "Bearer ya29.c.test_token"
4869
4860
  },
4870
- "body": "{\"events\":[{\"eventTimestamp\":\"2023-11-14T22:13:20.000Z\",\"transactionId\":\"ORD-100\",\"adIdentifiers\":{\"gclid\":\"gclid-abc123\"},\"conversionValue\":149.8,\"currency\":\"EUR\",\"eventDeviceInfo\":{\"ipAddress\":\"203.0.113.42\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36\"},\"consent\":{\"adUserData\":\"CONSENT_GRANTED\"},\"eventSource\":\"WEB\"}],\"destinations\":[{\"operatingAccount\":{\"accountId\":\"123-456-7890\",\"accountType\":\"GOOGLE_ADS\"},\"productDestinationId\":\"AW-CONVERSION-123\"}],\"encoding\":\"HEX\"}"
4861
+ "timeout": 10000
4871
4862
  }
4872
4863
  ]
4873
4864
  ]
@@ -4882,13 +4873,13 @@
4882
4873
  "bundle": {
4883
4874
  "packages": {
4884
4875
  "@walkeros/collector": {
4885
- "version": "4.9.0"
4876
+ "version": "4.10.0-next-1794522704623"
4886
4877
  },
4887
4878
  "@walkeros/server-source-gcp": {
4888
- "version": "4.9.0"
4879
+ "version": "4.10.0-next-1794522704623"
4889
4880
  },
4890
4881
  "@walkeros/server-destination-gcp": {
4891
- "version": "4.9.0"
4882
+ "version": "4.10.0-next-1794522704623"
4892
4883
  }
4893
4884
  }
4894
4885
  }
@@ -65,7 +65,7 @@ warehouse pubsub pull -> bigquery (keeps everything)
65
65
  - `platform` at `/flows/web/config/platform`: platform decides how a flow is
66
66
  built: a browser bundle or a server artifact.
67
67
  - `flow-config` at `/flows/web/config`: config holds what the build needs:
68
- platform, url, settings, bundle, observe.
68
+ platform, url, settings, bundle.
69
69
  - `flow-sources` at `/flows/web/sources`: Sources turn whatever happens (a CMP
70
70
  decision, a dataLayer push, a click) into events.
71
71
  - `flow-transformers` at `/flows/server/transformers`: Transformers are named
@@ -225,7 +225,7 @@ curl -I http://localhost:8080/walker.js
225
225
  - `code-push` at `/flows/web/transformers/pageGroup/code/push`: push is the
226
226
  step function, written as $code.
227
227
  - `code-type` at `/flows/web/transformers/pageGroup/code/type`: type names the
228
- inline step in logs and Observe.
228
+ inline step in logs.
229
229
  - `step-config` at `/flows/server/destinations/meta/config`: config is the
230
230
  same envelope for every step kind: settings, mapping, consent, reliability.
231
231
  - `step-settings` at `/flows/server/destinations/meta/config/settings`:
@@ -924,16 +924,10 @@ walkeros cache info
924
924
  - **In GTM:** publishing a container version.
925
925
  - **Docs:** `getting-started/flow/index`.
926
926
 
927
- ## operate: Observe, CI and deploy
927
+ ## operate: logs, CI and deploy
928
928
 
929
- - **Purpose:** watch live events, gate changes in CI, deploy through the app.
929
+ - **Purpose:** read the logs, gate changes in CI, deploy through the app.
930
930
  - **Features:**
931
- - `observe-public` at `/flows/web/config/observe`: A web flow reports to
932
- Observe through a public url and binding.
933
- - `observe-level` at `/flows/server/config/observe/level`: level standard
934
- reports step outcomes; trace adds payloads.
935
- - `observe-sample` at `/flows/server/config/observe/sample`: sample reports
936
- one event in ten.
937
931
  - `collector-logger` at `/flows/server/collector/logger`: The log level comes
938
932
  from the flow variable, so LOG_LEVEL changes it per environment.
939
933
  - **CI:** `walkeros validate packages/cli/examples/flow-complete.json --strict`
@@ -1916,30 +1916,6 @@ declare const teaching: {
1916
1916
  note: string;
1917
1917
  docs: never[];
1918
1918
  };
1919
- 'observe-public': {
1920
- pointer: string;
1921
- chapter: "operate";
1922
- level: "intermediate";
1923
- useCases: "observability"[];
1924
- note: string;
1925
- docs: never[];
1926
- };
1927
- 'observe-level': {
1928
- pointer: string;
1929
- chapter: "operate";
1930
- level: "intermediate";
1931
- useCases: "observability"[];
1932
- note: string;
1933
- docs: never[];
1934
- };
1935
- 'observe-sample': {
1936
- pointer: string;
1937
- chapter: "operate";
1938
- level: "intermediate";
1939
- useCases: "observability"[];
1940
- note: string;
1941
- docs: never[];
1942
- };
1943
1919
  'collector-logger': {
1944
1920
  pointer: string;
1945
1921
  chapter: "operate";
@@ -1989,7 +1965,6 @@ declare const flowCompleteCoverage: {
1989
1965
  url: "config-url";
1990
1966
  settings: "config-settings";
1991
1967
  bundle: "bundle-packages";
1992
- observe: "observe-public";
1993
1968
  };
1994
1969
  bundle: {
1995
1970
  packages: "bundle-packages";
@@ -2010,12 +1985,6 @@ declare const flowCompleteCoverage: {
2010
1985
  excluded: string;
2011
1986
  };
2012
1987
  };
2013
- observe: {
2014
- level: "observe-level";
2015
- sample: "observe-sample";
2016
- url: "observe-public";
2017
- binding: "observe-public";
2018
- };
2019
1988
  code: {
2020
1989
  push: "code-push";
2021
1990
  type: "code-type";
@@ -2234,8 +2203,10 @@ declare const flowCompleteCoverage: {
2234
2203
  stores: Excluded;
2235
2204
  custom: "collector-custom";
2236
2205
  hooks: Excluded;
2237
- observe: Excluded;
2238
2206
  observers: Excluded;
2207
+ observe: {
2208
+ excluded: string;
2209
+ };
2239
2210
  };
2240
2211
  mappingConfig: {
2241
2212
  consent: "destination-consent";
@@ -2381,7 +2352,6 @@ declare const flowCompleteManifest: {
2381
2352
  url: "config-url";
2382
2353
  settings: "config-settings";
2383
2354
  bundle: "bundle-packages";
2384
- observe: "observe-public";
2385
2355
  };
2386
2356
  bundle: {
2387
2357
  packages: "bundle-packages";
@@ -2402,12 +2372,6 @@ declare const flowCompleteManifest: {
2402
2372
  excluded: string;
2403
2373
  };
2404
2374
  };
2405
- observe: {
2406
- level: "observe-level";
2407
- sample: "observe-sample";
2408
- url: "observe-public";
2409
- binding: "observe-public";
2410
- };
2411
2375
  code: {
2412
2376
  push: "code-push";
2413
2377
  type: "code-type";
@@ -2626,8 +2590,10 @@ declare const flowCompleteManifest: {
2626
2590
  stores: Excluded;
2627
2591
  custom: "collector-custom";
2628
2592
  hooks: Excluded;
2629
- observe: Excluded;
2630
2593
  observers: Excluded;
2594
+ observe: {
2595
+ excluded: string;
2596
+ };
2631
2597
  };
2632
2598
  mappingConfig: {
2633
2599
  consent: "destination-consent";
@@ -257,32 +257,28 @@ var flow_complete_default = {
257
257
  settings: {
258
258
  windowCollector: "walkerCollector"
259
259
  },
260
- observe: {
261
- url: "$env.OBSERVE_URL:https://app.walkeros.io/observe",
262
- binding: "$env.OBSERVE_BINDING:obs-web"
263
- },
264
260
  bundle: {
265
261
  packages: {
266
262
  "@walkeros/collector": {
267
- version: "4.9.0"
263
+ version: "4.10.0-next-1794522704623"
268
264
  },
269
265
  "@walkeros/web-source-cmp-usercentrics": {
270
- version: "4.9.0"
266
+ version: "4.10.0-next-1794522704623"
271
267
  },
272
268
  "@walkeros/web-source-session": {
273
- version: "4.9.0"
269
+ version: "4.10.0-next-1794522704623"
274
270
  },
275
271
  "@walkeros/web-source-datalayer": {
276
- version: "4.9.0"
272
+ version: "4.10.0-next-1794522704623"
277
273
  },
278
274
  "@walkeros/web-source-browser": {
279
- version: "4.9.0"
275
+ version: "4.10.0-next-1794522704623"
280
276
  },
281
277
  "@walkeros/web-destination-gtag": {
282
- version: "4.9.0"
278
+ version: "4.10.0-next-1794522704623"
283
279
  },
284
280
  "@walkeros/web-destination-api": {
285
- version: "4.9.0"
281
+ version: "4.10.0-next-1794522704623"
286
282
  }
287
283
  },
288
284
  env: {
@@ -1794,47 +1790,43 @@ var flow_complete_default = {
1794
1790
  config: {
1795
1791
  platform: "server",
1796
1792
  url: "$env.SERVER_URL:http://localhost:8080/collect",
1797
- observe: {
1798
- level: "standard",
1799
- sample: 0.1
1800
- },
1801
1793
  bundle: {
1802
1794
  packages: {
1803
1795
  "@walkeros/collector": {
1804
- version: "4.9.0"
1796
+ version: "4.10.0-next-1794522704623"
1805
1797
  },
1806
1798
  "@walkeros/server-source-express": {
1807
- version: "4.9.0"
1799
+ version: "4.10.0-next-1794522704623"
1808
1800
  },
1809
1801
  "@walkeros/transformer-ga4": {
1810
- version: "4.9.0"
1802
+ version: "4.10.0-next-1794522704623"
1811
1803
  },
1812
1804
  "@walkeros/transformer-validate": {
1813
- version: "4.9.0"
1805
+ version: "4.10.0-next-1794522704623"
1814
1806
  },
1815
1807
  "@walkeros/server-transformer-bot": {
1816
- version: "4.9.0"
1808
+ version: "4.10.0-next-1794522704623"
1817
1809
  },
1818
1810
  "@walkeros/server-transformer-fingerprint": {
1819
- version: "4.9.0"
1811
+ version: "4.10.0-next-1794522704623"
1820
1812
  },
1821
1813
  "@walkeros/server-transformer-file": {
1822
- version: "4.9.0"
1814
+ version: "4.10.0-next-1794522704623"
1823
1815
  },
1824
1816
  "@walkeros/server-store-fs": {
1825
- version: "4.9.0"
1817
+ version: "4.10.0-next-1794522704623"
1826
1818
  },
1827
1819
  "@walkeros/server-destination-gcp": {
1828
- version: "4.9.0"
1820
+ version: "4.10.0-next-1794522704623"
1829
1821
  },
1830
1822
  "@walkeros/server-destination-meta": {
1831
- version: "4.9.0"
1823
+ version: "4.10.0-next-1794522704623"
1832
1824
  },
1833
1825
  "@walkeros/server-destination-piwikpro": {
1834
- version: "4.9.0"
1826
+ version: "4.10.0-next-1794522704623"
1835
1827
  },
1836
1828
  "@walkeros/server-destination-datamanager": {
1837
- version: "4.9.0"
1829
+ version: "4.10.0-next-1794522704623"
1838
1830
  }
1839
1831
  }
1840
1832
  }
@@ -4759,10 +4751,10 @@ var flow_complete_default = {
4759
4751
  destinations: [
4760
4752
  {
4761
4753
  operatingAccount: {
4762
- accountId: "$env.GADS_ACCOUNT_ID:123-456-7890",
4754
+ accountId: "$env.GADS_ACCOUNT_ID:1234567890",
4763
4755
  accountType: "GOOGLE_ADS"
4764
4756
  },
4765
- productDestinationId: "$env.GADS_CONVERSION_ACTION:AW-CONVERSION-123"
4757
+ productDestinationId: "$env.GADS_CONVERSION_ACTION:987654321"
4766
4758
  }
4767
4759
  ]
4768
4760
  },
@@ -4882,15 +4874,14 @@ var flow_complete_default = {
4882
4874
  },
4883
4875
  out: [
4884
4876
  [
4885
- "fetch",
4877
+ "sendServer",
4886
4878
  "https://datamanager.googleapis.com/v1/events:ingest",
4879
+ '{"events":[{"eventTimestamp":"2023-11-14T22:13:20.000Z","transactionId":"ORD-100","adIdentifiers":{"gclid":"gclid-abc123"},"conversionValue":149.8,"currency":"EUR","eventDeviceInfo":{"ipAddress":"203.0.113.42","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"consent":{"adUserData":"CONSENT_GRANTED"},"eventSource":"WEB"}],"destinations":[{"operatingAccount":{"accountId":"1234567890","accountType":"GOOGLE_ADS"},"productDestinationId":"987654321"}],"encoding":"HEX"}',
4887
4880
  {
4888
- method: "POST",
4889
4881
  headers: {
4890
- Authorization: "Bearer ya29.c.test_token",
4891
- "Content-Type": "application/json"
4882
+ authorization: "Bearer ya29.c.test_token"
4892
4883
  },
4893
- body: '{"events":[{"eventTimestamp":"2023-11-14T22:13:20.000Z","transactionId":"ORD-100","adIdentifiers":{"gclid":"gclid-abc123"},"conversionValue":149.8,"currency":"EUR","eventDeviceInfo":{"ipAddress":"203.0.113.42","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"consent":{"adUserData":"CONSENT_GRANTED"},"eventSource":"WEB"}],"destinations":[{"operatingAccount":{"accountId":"123-456-7890","accountType":"GOOGLE_ADS"},"productDestinationId":"AW-CONVERSION-123"}],"encoding":"HEX"}'
4884
+ timeout: 1e4
4894
4885
  }
4895
4886
  ]
4896
4887
  ]
@@ -4905,13 +4896,13 @@ var flow_complete_default = {
4905
4896
  bundle: {
4906
4897
  packages: {
4907
4898
  "@walkeros/collector": {
4908
- version: "4.9.0"
4899
+ version: "4.10.0-next-1794522704623"
4909
4900
  },
4910
4901
  "@walkeros/server-source-gcp": {
4911
- version: "4.9.0"
4902
+ version: "4.10.0-next-1794522704623"
4912
4903
  },
4913
4904
  "@walkeros/server-destination-gcp": {
4914
- version: "4.9.0"
4905
+ version: "4.10.0-next-1794522704623"
4915
4906
  }
4916
4907
  }
4917
4908
  }
@@ -5223,7 +5214,7 @@ var teaching = {
5223
5214
  chapter: "tour",
5224
5215
  level: "beginner",
5225
5216
  useCases: [],
5226
- note: "config holds what the build needs: platform, url, settings, bundle, observe.",
5217
+ note: "config holds what the build needs: platform, url, settings, bundle.",
5227
5218
  docs: [{ page: "getting-started/flow/index" }]
5228
5219
  },
5229
5220
  "flow-sources": {
@@ -5526,7 +5517,7 @@ var teaching = {
5526
5517
  chapter: "step-envelope",
5527
5518
  level: "intermediate",
5528
5519
  useCases: ["observability"],
5529
- note: "type names the inline step in logs and Observe.",
5520
+ note: "type names the inline step in logs.",
5530
5521
  docs: []
5531
5522
  },
5532
5523
  "step-config": {
@@ -6785,30 +6776,6 @@ var teaching = {
6785
6776
  docs: []
6786
6777
  },
6787
6778
  // operate
6788
- "observe-public": {
6789
- pointer: "/flows/web/config/observe",
6790
- chapter: "operate",
6791
- level: "intermediate",
6792
- useCases: ["observability"],
6793
- note: "A web flow reports to Observe through a public url and binding.",
6794
- docs: []
6795
- },
6796
- "observe-level": {
6797
- pointer: "/flows/server/config/observe/level",
6798
- chapter: "operate",
6799
- level: "intermediate",
6800
- useCases: ["observability"],
6801
- note: "level standard reports step outcomes; trace adds payloads.",
6802
- docs: []
6803
- },
6804
- "observe-sample": {
6805
- pointer: "/flows/server/config/observe/sample",
6806
- chapter: "operate",
6807
- level: "intermediate",
6808
- useCases: ["observability"],
6809
- note: "sample reports one event in ten.",
6810
- docs: []
6811
- },
6812
6779
  "collector-logger": {
6813
6780
  pointer: "/flows/server/collector/logger",
6814
6781
  chapter: "operate",
@@ -6857,8 +6824,7 @@ var flowCompleteCoverage = {
6857
6824
  platform: "platform",
6858
6825
  url: "config-url",
6859
6826
  settings: "config-settings",
6860
- bundle: "bundle-packages",
6861
- observe: "observe-public"
6827
+ bundle: "bundle-packages"
6862
6828
  },
6863
6829
  bundle: {
6864
6830
  packages: "bundle-packages",
@@ -6873,12 +6839,6 @@ var flowCompleteCoverage = {
6873
6839
  },
6874
6840
  path: { excluded: "local development only; tests inject it in memory" }
6875
6841
  },
6876
- observe: {
6877
- level: "observe-level",
6878
- sample: "observe-sample",
6879
- url: "observe-public",
6880
- binding: "observe-public"
6881
- },
6882
6842
  code: {
6883
6843
  push: "code-push",
6884
6844
  type: "code-type",
@@ -7079,8 +7039,10 @@ var flowCompleteCoverage = {
7079
7039
  stores: FLOW_LEVEL,
7080
7040
  custom: "collector-custom",
7081
7041
  hooks: RUNTIME("hooks"),
7082
- observe: RUNTIME("observe"),
7083
- observers: RUNTIME("observers")
7042
+ observers: RUNTIME("observers"),
7043
+ observe: {
7044
+ excluded: "the reporter needs an ingest endpoint and a token; this example posts to none"
7045
+ }
7084
7046
  },
7085
7047
  mappingConfig: {
7086
7048
  consent: "destination-consent",