commitlayer 0.1.1 → 0.1.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.
- package/README.md +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# commitlayer (JavaScript / TypeScript)
|
|
2
2
|
|
|
3
3
|
Record agent actions, push facts from systems of record, read verdicts and draft contracts. Zero runtime
|
|
4
|
-
dependencies; Node
|
|
4
|
+
dependencies; Node 20+ (uses the global `fetch` and `crypto`). Ships with TypeScript types.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
npm install
|
|
7
|
+
npm install commitlayer
|
|
8
8
|
export COMMITLAYER_API_KEY=spk_... # the agent runtime's key: a *recorder* key (records actions, nothing else)
|
|
9
9
|
export COMMITLAYER_EVIDENCE_KEY=spk_... # the pipeline's key: an *evidence* key bound to the sources it pushes for
|
|
10
10
|
# COMMITLAYER_API_URL defaults to https://api.commitlayer.ai. One credential per side of the line: the key that
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commitlayer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "CommitLayer JavaScript SDK: record agent actions, push facts, read verdicts, draft contracts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"LICENSE"
|
|
19
19
|
],
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=20"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsc -p tsconfig.json",
|
|
25
|
-
"test": "tsc -p tsconfig.test.json && node --test
|
|
25
|
+
"test": "tsc -p tsconfig.test.json && node --test dist-test/test/*.test.js"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.20.5",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"homepage": "https://commitlayer.ai/docs",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/
|
|
34
|
+
"url": "git+https://github.com/commitlayer/commitlayer.git",
|
|
35
35
|
"directory": "sdk/js"
|
|
36
36
|
},
|
|
37
37
|
"bugs": {
|