@edge-protocol/sdk 0.6.1 → 0.6.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.
Files changed (2) hide show
  1. package/DOCS.md +3 -1
  2. package/package.json +1 -1
package/DOCS.md CHANGED
@@ -437,7 +437,9 @@ interface TransactionRequest {
437
437
  type TransactionOutcome =
438
438
  | { status: 'approved'; digest: string; objectId?: string; auto: true }
439
439
  | { status: 'escalated'; reason: string; auto: false }
440
- | { status: 'blocked'; reason: string; auto: false };
440
+ | { status: 'blocked'; reason: string; auto: false }
441
+ | { status: 'error'; reason: string; code?: string; auto: false };
442
+ // error = infrastructure failure — transaction NOT submitted to chain
441
443
  ```
442
444
 
443
445
  ### `PolicyValidation`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edge-protocol/sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Programmable trust infrastructure for autonomous AI agents on Sui. Give agents your rules, not your keys.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",