eric-sdk 0.1.2 → 0.1.4
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 +26 -0
- package/dist/index.cjs +0 -1
- package/dist/index.js +0 -1
- package/package.json +4 -1
- package/src/client.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,32 @@ Pre-1.0 releases may introduce intentional breaking changes as the API surface e
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.1.4] – 2026-02-13
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Added `engines` field specifying Node.js >=20.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## [0.1.3] – 2026-02-06
|
|
19
|
+
|
|
20
|
+
### Changed:
|
|
21
|
+
|
|
22
|
+
* **Removed `client` from request payload**: The SDK no longer includes `client` in the request body when calling `decide()`.
|
|
23
|
+
|
|
24
|
+
### Rationale:
|
|
25
|
+
|
|
26
|
+
`client` is infrastructure identity and is now treated as authoritative header-only metadata (`x-api-client`).
|
|
27
|
+
This change removes ambiguity, prevents spoofing, and aligns the SDK with Eric’s control-plane model, where execution authority lives outside user-provided input.
|
|
28
|
+
|
|
29
|
+
### Notes:
|
|
30
|
+
|
|
31
|
+
* Applications must continue to provide `x-api-client` and `x-api-key` headers.
|
|
32
|
+
* Requests that previously included `client` in the body may be rejected by strict API validation.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
10
36
|
## [0.1.2] – 2026-02-03
|
|
11
37
|
|
|
12
38
|
### What's New:
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eric-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Official SDK for enforcing policy-governed AI execution using the Eric AI governance layer",
|
|
5
5
|
"author": "Rod Bridges",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"types": "./dist/index.d.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=20"
|
|
20
|
+
},
|
|
18
21
|
"scripts": {
|
|
19
22
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
20
23
|
"prepare": "npm run build",
|