@1claw/openapi-spec 0.34.1 → 0.34.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/openapi.json +10 -1
- package/openapi.yaml +15 -2
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "1Claw API",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.20.0",
|
|
6
6
|
"description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.xyz"
|
|
@@ -10869,6 +10869,10 @@
|
|
|
10869
10869
|
"type": "boolean",
|
|
10870
10870
|
"description": "Whether EIP-191 personal_sign is enabled."
|
|
10871
10871
|
},
|
|
10872
|
+
"raw_signing_enabled": {
|
|
10873
|
+
"type": "boolean",
|
|
10874
|
+
"description": "Whether the raw/precomputed-digest signing intent (eip712_digest) is enabled. Blind signing — bypasses transaction guardrails; OFF by default and human-set. Required for ERC-1271/ERC-7739 flows (e.g. Polymarket).\n"
|
|
10875
|
+
},
|
|
10872
10876
|
"api_key_expires_at": {
|
|
10873
10877
|
"type": "string",
|
|
10874
10878
|
"format": "date-time",
|
|
@@ -11980,6 +11984,7 @@
|
|
|
11980
11984
|
"enum": [
|
|
11981
11985
|
"personal_sign",
|
|
11982
11986
|
"typed_data",
|
|
11987
|
+
"eip712_digest",
|
|
11983
11988
|
"transaction"
|
|
11984
11989
|
]
|
|
11985
11990
|
},
|
|
@@ -11998,6 +12003,10 @@
|
|
|
11998
12003
|
"type": "object",
|
|
11999
12004
|
"description": "EIP-712 typed data JSON (for typed_data)"
|
|
12000
12005
|
},
|
|
12006
|
+
"hash": {
|
|
12007
|
+
"type": "string",
|
|
12008
|
+
"description": "Client-computed 32-byte digest (0x-prefixed) for the eip712_digest intent. Signed directly (blind signing); requires the agent's raw_signing_enabled flag. Use for ERC-1271/ERC-7739 nested EIP-712 flows (e.g. Polymarket) where the canonical hash is computed client-side.\n"
|
|
12009
|
+
},
|
|
12001
12010
|
"tx_type": {
|
|
12002
12011
|
"type": "integer",
|
|
12003
12012
|
"description": "EIP-2718 type: 0=legacy, 1=2930, 2=1559, 3=4844, 4=7702"
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: 2.
|
|
5
|
+
version: 2.20.0
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -7059,6 +7059,12 @@ components:
|
|
|
7059
7059
|
message_signing_enabled:
|
|
7060
7060
|
type: boolean
|
|
7061
7061
|
description: Whether EIP-191 personal_sign is enabled.
|
|
7062
|
+
raw_signing_enabled:
|
|
7063
|
+
type: boolean
|
|
7064
|
+
description: >
|
|
7065
|
+
Whether the raw/precomputed-digest signing intent (eip712_digest) is
|
|
7066
|
+
enabled. Blind signing — bypasses transaction guardrails; OFF by default
|
|
7067
|
+
and human-set. Required for ERC-1271/ERC-7739 flows (e.g. Polymarket).
|
|
7062
7068
|
api_key_expires_at:
|
|
7063
7069
|
type: string
|
|
7064
7070
|
format: date-time
|
|
@@ -7820,7 +7826,7 @@ components:
|
|
|
7820
7826
|
properties:
|
|
7821
7827
|
intent_type:
|
|
7822
7828
|
type: string
|
|
7823
|
-
enum: [personal_sign, typed_data, transaction]
|
|
7829
|
+
enum: [personal_sign, typed_data, eip712_digest, transaction]
|
|
7824
7830
|
chain:
|
|
7825
7831
|
type: string
|
|
7826
7832
|
signing_key_path:
|
|
@@ -7832,6 +7838,13 @@ components:
|
|
|
7832
7838
|
typed_data:
|
|
7833
7839
|
type: object
|
|
7834
7840
|
description: EIP-712 typed data JSON (for typed_data)
|
|
7841
|
+
hash:
|
|
7842
|
+
type: string
|
|
7843
|
+
description: >
|
|
7844
|
+
Client-computed 32-byte digest (0x-prefixed) for the eip712_digest
|
|
7845
|
+
intent. Signed directly (blind signing); requires the agent's
|
|
7846
|
+
raw_signing_enabled flag. Use for ERC-1271/ERC-7739 nested EIP-712
|
|
7847
|
+
flows (e.g. Polymarket) where the canonical hash is computed client-side.
|
|
7835
7848
|
tx_type:
|
|
7836
7849
|
type: integer
|
|
7837
7850
|
description: "EIP-2718 type: 0=legacy, 1=2930, 2=1559, 3=4844, 4=7702"
|