@walkeros/cli 4.8.2 → 4.8.3-next-1793115089237

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +59 -3
  2. package/README.md +2 -2
  3. package/dist/cli.js +1320 -1318
  4. package/dist/dev.d.ts +51 -3
  5. package/dist/dev.js +186 -0
  6. package/dist/dev.js.map +1 -1
  7. package/dist/examples/README.md +12 -1
  8. package/dist/examples/contracts/app.json +261 -0
  9. package/dist/examples/contracts/base.json +708 -0
  10. package/dist/examples/contracts/ecommerce.json +963 -0
  11. package/dist/examples/contracts/leadgen.json +240 -0
  12. package/dist/examples/contracts/publisher.json +372 -0
  13. package/dist/examples/contracts/saas.json +229 -0
  14. package/dist/examples/contracts/travel.json +234 -0
  15. package/dist/examples/customers/README.md +4 -1
  16. package/dist/examples/flow-complete.json +40 -25
  17. package/dist/examples/flow-complete.md +5 -3
  18. package/dist/examples/index.js +42 -27
  19. package/dist/examples/index.js.map +1 -1
  20. package/dist/examples/shared/README.md +4 -0
  21. package/dist/index.d.ts +41 -41
  22. package/dist/index.js +161 -134
  23. package/dist/index.js.map +1 -1
  24. package/dist/validate.js +264 -132
  25. package/dist/validate.js.map +1 -1
  26. package/examples/README.md +12 -1
  27. package/examples/contracts/app.json +261 -0
  28. package/examples/contracts/base.json +708 -0
  29. package/examples/contracts/ecommerce.json +963 -0
  30. package/examples/contracts/leadgen.json +240 -0
  31. package/examples/contracts/publisher.json +372 -0
  32. package/examples/contracts/saas.json +229 -0
  33. package/examples/contracts/travel.json +234 -0
  34. package/examples/customers/README.md +4 -1
  35. package/examples/flow-complete.json +40 -25
  36. package/examples/flow-complete.md +5 -3
  37. package/examples/shared/README.md +4 -0
  38. package/package.json +30 -30
  39. package/dist/examples/test.html +0 -43
  40. package/dist/examples/web-serve.js +0 -25503
  41. package/examples/test.html +0 -43
  42. package/examples/web-serve.js +0 -25503
@@ -264,25 +264,25 @@ var flow_complete_default = {
264
264
  bundle: {
265
265
  packages: {
266
266
  "@walkeros/collector": {
267
- version: "4.8.2"
267
+ version: "4.8.3-next-1793115089237"
268
268
  },
269
269
  "@walkeros/web-source-cmp-usercentrics": {
270
- version: "4.8.2"
270
+ version: "4.8.3-next-1793115089237"
271
271
  },
272
272
  "@walkeros/web-source-session": {
273
- version: "4.8.2"
273
+ version: "4.8.3-next-1793115089237"
274
274
  },
275
275
  "@walkeros/web-source-datalayer": {
276
- version: "4.8.2"
276
+ version: "4.8.3-next-1793115089237"
277
277
  },
278
278
  "@walkeros/web-source-browser": {
279
- version: "4.8.2"
279
+ version: "4.8.3-next-1793115089237"
280
280
  },
281
281
  "@walkeros/web-destination-gtag": {
282
- version: "4.8.2"
282
+ version: "4.8.3-next-1793115089237"
283
283
  },
284
284
  "@walkeros/web-destination-api": {
285
- version: "4.8.2"
285
+ version: "4.8.3-next-1793115089237"
286
286
  }
287
287
  },
288
288
  env: {
@@ -328,7 +328,7 @@ var flow_complete_default = {
328
328
  examples: {
329
329
  explicitDecision: {
330
330
  title: "Explicit decision",
331
- description: "The user accepts every category in the banner. categoryMap turns essential and functional into functional, so the collector receives exactly the consent keys the contract names.",
331
+ description: "The user accepts every category in the banner. categoryMap folds essential into functional so the collector receives exactly the consent keys the contract names; because any deny denies, functional still follows the functional category, and essential never grants it alone.",
332
332
  public: true,
333
333
  trigger: {
334
334
  type: "consent",
@@ -954,7 +954,14 @@ var flow_complete_default = {
954
954
  ga4: {
955
955
  measurementId: "$env.GA4_MEASUREMENT_ID:G-MAINSITE"
956
956
  },
957
- como: true
957
+ como: {
958
+ marketing: [
959
+ "ad_storage",
960
+ "ad_user_data",
961
+ "ad_personalization"
962
+ ],
963
+ functional: "analytics_storage"
964
+ }
958
965
  },
959
966
  mapping: {
960
967
  product: {
@@ -1442,6 +1449,14 @@ var flow_complete_default = {
1442
1449
  settings: {
1443
1450
  gtm: {
1444
1451
  containerId: "$env.GTM_ID:GTM-SHOP01"
1452
+ },
1453
+ como: {
1454
+ marketing: [
1455
+ "ad_storage",
1456
+ "ad_user_data",
1457
+ "ad_personalization"
1458
+ ],
1459
+ functional: "analytics_storage"
1445
1460
  }
1446
1461
  },
1447
1462
  mapping: {
@@ -1786,40 +1801,40 @@ var flow_complete_default = {
1786
1801
  bundle: {
1787
1802
  packages: {
1788
1803
  "@walkeros/collector": {
1789
- version: "4.8.2"
1804
+ version: "4.8.3-next-1793115089237"
1790
1805
  },
1791
1806
  "@walkeros/server-source-express": {
1792
- version: "4.8.2"
1807
+ version: "4.8.3-next-1793115089237"
1793
1808
  },
1794
1809
  "@walkeros/transformer-ga4": {
1795
- version: "4.8.2"
1810
+ version: "4.8.3-next-1793115089237"
1796
1811
  },
1797
1812
  "@walkeros/transformer-validate": {
1798
- version: "4.8.2"
1813
+ version: "4.8.3-next-1793115089237"
1799
1814
  },
1800
1815
  "@walkeros/server-transformer-bot": {
1801
- version: "4.8.2"
1816
+ version: "4.8.3-next-1793115089237"
1802
1817
  },
1803
1818
  "@walkeros/server-transformer-fingerprint": {
1804
- version: "4.8.2"
1819
+ version: "4.8.3-next-1793115089237"
1805
1820
  },
1806
1821
  "@walkeros/server-transformer-file": {
1807
- version: "4.8.2"
1822
+ version: "4.8.3-next-1793115089237"
1808
1823
  },
1809
1824
  "@walkeros/server-store-fs": {
1810
- version: "4.8.2"
1825
+ version: "4.8.3-next-1793115089237"
1811
1826
  },
1812
1827
  "@walkeros/server-destination-gcp": {
1813
- version: "4.8.2"
1828
+ version: "4.8.3-next-1793115089237"
1814
1829
  },
1815
1830
  "@walkeros/server-destination-meta": {
1816
- version: "4.8.2"
1831
+ version: "4.8.3-next-1793115089237"
1817
1832
  },
1818
1833
  "@walkeros/server-destination-piwikpro": {
1819
- version: "4.8.2"
1834
+ version: "4.8.3-next-1793115089237"
1820
1835
  },
1821
1836
  "@walkeros/server-destination-datamanager": {
1822
- version: "4.8.2"
1837
+ version: "4.8.3-next-1793115089237"
1823
1838
  }
1824
1839
  }
1825
1840
  }
@@ -1905,7 +1920,7 @@ var flow_complete_default = {
1905
1920
  },
1906
1921
  ingest: {
1907
1922
  map: {
1908
- ip: "ip",
1923
+ ip: "headers.x-client-ip",
1909
1924
  path: "path",
1910
1925
  method: "method",
1911
1926
  url: "url",
@@ -4860,13 +4875,13 @@ var flow_complete_default = {
4860
4875
  bundle: {
4861
4876
  packages: {
4862
4877
  "@walkeros/collector": {
4863
- version: "4.8.2"
4878
+ version: "4.8.3-next-1793115089237"
4864
4879
  },
4865
4880
  "@walkeros/server-source-gcp": {
4866
- version: "4.8.2"
4881
+ version: "4.8.3-next-1793115089237"
4867
4882
  },
4868
4883
  "@walkeros/server-destination-gcp": {
4869
- version: "4.8.2"
4884
+ version: "4.8.3-next-1793115089237"
4870
4885
  }
4871
4886
  }
4872
4887
  }
@@ -5237,7 +5252,7 @@ var teaching = {
5237
5252
  chapter: "consent-privacy",
5238
5253
  level: "intermediate",
5239
5254
  useCases: ["consent"],
5240
- note: "categoryMap maps CMP categories onto exactly the consent keys the contract names.",
5255
+ note: "categoryMap maps CMP categories onto exactly the consent keys the contract names; folded in, essential never grants functional alone.",
5241
5256
  docs: []
5242
5257
  },
5243
5258
  "cmp-explicit-only": {
@@ -5885,7 +5900,7 @@ var teaching = {
5885
5900
  chapter: "consent-privacy",
5886
5901
  level: "intermediate",
5887
5902
  useCases: ["consent"],
5888
- note: "como turns walker consent into Google Consent Mode calls.",
5903
+ note: "como maps this flow's consent keys to Google Consent Mode: functional to analytics_storage, marketing to the ad parameters.",
5889
5904
  docs: [],
5890
5905
  example: { step: "ga4", name: "consentUpdate" }
5891
5906
  },