wardx 0.1.4 → 0.1.6
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/README.md +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
`wardx` is the Node.js SDK for Wardx.
|
|
4
4
|
|
|
5
|
+
This SDK talks to that server. See [Wardx](https://github.com/clasen/Wardx).
|
|
6
|
+
|
|
5
7
|
The SDK records logs, events, and metrics. The SDK also gets Remote Config and assigns experiment variants.
|
|
6
8
|
|
|
7
9
|
A measure call changes local memory only. The SDK sends frames on a timer. The SDK uses HTTP `POST /v1/sync` with JSON and gzip.
|
|
@@ -53,6 +55,13 @@ import { createWardx } from 'wardx';
|
|
|
53
55
|
|
|
54
56
|
To receive frames, run an ingest server. Install `@wardx/server` and start it with a config file.
|
|
55
57
|
|
|
58
|
+
> [!NOTE]
|
|
59
|
+
> **Agent skill.** Teach the agent this Node SDK with the [Skills CLI](https://skills.sh):
|
|
60
|
+
>
|
|
61
|
+
> ```bash
|
|
62
|
+
> npx skills add https://github.com/clasen/Wardx --skill wardx
|
|
63
|
+
> ```
|
|
64
|
+
|
|
56
65
|
## Design rules
|
|
57
66
|
|
|
58
67
|
- A measure call does not send network data.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wardx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Node.js SDK for Wardx telemetry, Remote Config, and experiments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wardx",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"src"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@wardx/core": "0.1.
|
|
40
|
+
"@wardx/core": "0.1.6"
|
|
41
41
|
}
|
|
42
42
|
}
|