@dlovans/tenet-core 0.1.1 → 0.1.3

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/dist/index.d.ts CHANGED
@@ -14,6 +14,22 @@ export interface TenetVerifyResult {
14
14
  valid: boolean;
15
15
  error?: string;
16
16
  }
17
+ export interface Evidence {
18
+ provider_audit_id?: string;
19
+ timestamp?: string;
20
+ signer_id?: string;
21
+ logic_version?: string;
22
+ }
23
+ export interface Attestation {
24
+ statement: string;
25
+ law_ref?: string;
26
+ required_role?: string;
27
+ provider?: string;
28
+ required?: boolean;
29
+ signed?: boolean;
30
+ evidence?: Evidence;
31
+ on_sign?: Action;
32
+ }
17
33
  export interface TenetSchema {
18
34
  protocol?: string;
19
35
  schema_id?: string;
@@ -25,6 +41,7 @@ export interface TenetSchema {
25
41
  state_model?: StateModel;
26
42
  errors?: ValidationError[];
27
43
  status?: 'READY' | 'INCOMPLETE' | 'INVALID';
44
+ attestations?: Record<string, Attestation>;
28
45
  }
29
46
  export interface Definition {
30
47
  type: 'string' | 'number' | 'boolean' | 'select' | 'date' | 'attestation' | 'currency';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dlovans/tenet-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Declarative logic VM for JSON schemas - reactive validation, temporal routing, and computed state",
6
6
  "main": "dist/index.js",
package/wasm/tenet.wasm CHANGED
Binary file