@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.
- package/CHANGELOG.md +59 -3
- package/README.md +2 -2
- package/dist/cli.js +1320 -1318
- package/dist/dev.d.ts +51 -3
- package/dist/dev.js +186 -0
- package/dist/dev.js.map +1 -1
- package/dist/examples/README.md +12 -1
- package/dist/examples/contracts/app.json +261 -0
- package/dist/examples/contracts/base.json +708 -0
- package/dist/examples/contracts/ecommerce.json +963 -0
- package/dist/examples/contracts/leadgen.json +240 -0
- package/dist/examples/contracts/publisher.json +372 -0
- package/dist/examples/contracts/saas.json +229 -0
- package/dist/examples/contracts/travel.json +234 -0
- package/dist/examples/customers/README.md +4 -1
- package/dist/examples/flow-complete.json +40 -25
- package/dist/examples/flow-complete.md +5 -3
- package/dist/examples/index.js +42 -27
- package/dist/examples/index.js.map +1 -1
- package/dist/examples/shared/README.md +4 -0
- package/dist/index.d.ts +41 -41
- package/dist/index.js +161 -134
- package/dist/index.js.map +1 -1
- package/dist/validate.js +264 -132
- package/dist/validate.js.map +1 -1
- package/examples/README.md +12 -1
- package/examples/contracts/app.json +261 -0
- package/examples/contracts/base.json +708 -0
- package/examples/contracts/ecommerce.json +963 -0
- package/examples/contracts/leadgen.json +240 -0
- package/examples/contracts/publisher.json +372 -0
- package/examples/contracts/saas.json +229 -0
- package/examples/contracts/travel.json +234 -0
- package/examples/customers/README.md +4 -1
- package/examples/flow-complete.json +40 -25
- package/examples/flow-complete.md +5 -3
- package/examples/shared/README.md +4 -0
- package/package.json +30 -30
- package/dist/examples/test.html +0 -43
- package/dist/examples/web-serve.js +0 -25503
- package/examples/test.html +0 -43
- package/examples/web-serve.js +0 -25503
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# @walkeros/cli
|
|
2
2
|
|
|
3
|
+
## 4.8.3-next-1793115089237
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 34fd225: The package no longer ships `examples/web-serve.js`, a stale prebuilt
|
|
8
|
+
bundle that still sent the old `order complete` shape, nor
|
|
9
|
+
`examples/test.html`, the page that loaded it. Build the browser example
|
|
10
|
+
yourself with `walkeros bundle examples/web-serve.json`, as the examples
|
|
11
|
+
README shows.
|
|
12
|
+
- 5313635: `walkeros validate` checks each step's settings against the package
|
|
13
|
+
version `walkeros bundle` installs, inline `@version` specs on other steps
|
|
14
|
+
included. Steps that name one package at two inline versions are reported as
|
|
15
|
+
skipped, since the bundle refuses them.
|
|
16
|
+
- 5313635: The sample events from `getEvent` now use the standard event names:
|
|
17
|
+
`checkout start` replaces `checkout view`, an order carries `tax` and `total`,
|
|
18
|
+
a promotion names its placement `slot`, and product events carry `currency`.
|
|
19
|
+
Order `value` is now the merchandise value: the `order complete` sample goes
|
|
20
|
+
from 555 to 462, and the gross amount charged is `total` (467.22). The
|
|
21
|
+
destination examples read `data.tax`, `data.slot` and the search keys
|
|
22
|
+
`data.term` and `data.results`, and gross fields such as Matomo `grandTotal`
|
|
23
|
+
read `data.total` first, then `data.value`. The CLI ships default event
|
|
24
|
+
contracts for common site types in `examples/contracts/`.
|
|
25
|
+
- ebe013e: An `ip` input that is not one address, such as a forwarded chain, is
|
|
26
|
+
now reported as an error and left out of the hash, instead of a warning that
|
|
27
|
+
said it was empty. The event is still delivered. The complete example flow
|
|
28
|
+
reads the visitor IP from a header the proxy sets.
|
|
29
|
+
- 125bbea: The `walkeros/flow` and `walkeros/cli` images now run Node.js
|
|
30
|
+
24.22.1, which fixes the vulnerabilities of the Node.js security release of 21
|
|
31
|
+
October 2026; one of them can be triggered by a request to a flow's HTTP
|
|
32
|
+
source. Rebuild images based on `walkeros/flow` with this version and
|
|
33
|
+
redeploy. Flows that run on their own Node.js need 22.23.4, 24.22.1, 26.12.1
|
|
34
|
+
or later in the same line.
|
|
35
|
+
- 5313635: `@walkeros/core` exports the `StepType` type, the kind of a step
|
|
36
|
+
package (`source`, `transformer`, `destination` or `store`), read from
|
|
37
|
+
`STEP_TYPES` on `@walkeros/core/dev`. `StepKind`, `FlowStepType` and `stepId`
|
|
38
|
+
use it, as do the step kinds `resolveExportName` in `@walkeros/cli` and the
|
|
39
|
+
simulate tool of `@walkeros/mcp` take, so the kinds are listed in one place.
|
|
40
|
+
- Updated dependencies [5313635]
|
|
41
|
+
- Updated dependencies [5313635]
|
|
42
|
+
- Updated dependencies [34fd225]
|
|
43
|
+
- Updated dependencies [29d2218]
|
|
44
|
+
- Updated dependencies [34fd225]
|
|
45
|
+
- Updated dependencies [5313635]
|
|
46
|
+
- Updated dependencies [5313635]
|
|
47
|
+
- Updated dependencies [5313635]
|
|
48
|
+
- Updated dependencies [5313635]
|
|
49
|
+
- Updated dependencies [5313635]
|
|
50
|
+
- Updated dependencies [34fd225]
|
|
51
|
+
- Updated dependencies [5313635]
|
|
52
|
+
- Updated dependencies [5313635]
|
|
53
|
+
- Updated dependencies [5313635]
|
|
54
|
+
- Updated dependencies [5313635]
|
|
55
|
+
- @walkeros/collector@4.8.3-next-1793115089237
|
|
56
|
+
- @walkeros/web-core@4.8.3-next-1793115089237
|
|
57
|
+
- @walkeros/core@4.8.3-next-1793115089237
|
|
58
|
+
- @walkeros/server-destination-api@4.8.3-next-1793115089237
|
|
59
|
+
- @walkeros/transformer-validate@4.8.3-next-1793115089237
|
|
60
|
+
- @walkeros/server-core@4.8.3-next-1793115089237
|
|
61
|
+
|
|
3
62
|
## 4.8.2
|
|
4
63
|
|
|
5
64
|
### Patch Changes
|
|
@@ -1029,9 +1088,6 @@
|
|
|
1029
1088
|
and `event.context` remain required.
|
|
1030
1089
|
- Each source self-registers via TypeScript module augmentation of `SourceMap`
|
|
1031
1090
|
in `@walkeros/core`.
|
|
1032
|
-
- App-side coordination (`/workspaces/developer/app`) is a follow-up plan, not
|
|
1033
|
-
part of this release. Telemetry from v4 CLI/MCP will not validate against
|
|
1034
|
-
the existing app schema until that follow-up ships.
|
|
1035
1091
|
- `Mapping.Rule.skip` is renamed to `Mapping.Rule.silent`. Customer flow.json
|
|
1036
1092
|
configs using `skip: true` in mapping rules must rename to `silent: true`.
|
|
1037
1093
|
Hard cut: no legacy alias, the field is gone.
|
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
# @walkeros/cli
|
|
8
8
|
|
|
9
|
-
Command-line tool for building, testing
|
|
10
|
-
flows
|
|
9
|
+
Command-line tool for building, testing and validating walkerOS event collection
|
|
10
|
+
flows. Requires Node.js 22.12 or later.
|
|
11
11
|
|
|
12
12
|
[Documentation](https://www.walkeros.io/docs/apps/cli) •
|
|
13
13
|
[NPM Package](https://www.npmjs.com/package/@walkeros/cli) •
|