@1claw/sdk 0.34.0 → 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/README.md CHANGED
@@ -106,6 +106,7 @@ await client.auth.verifyEmailChange({ code: "123456" });
106
106
  | `client.devices` | `register`, `list`, `delete`, `challenge`, `attest`, `setPushToken` |
107
107
  | `client.passkeys` | `list`, `registerBegin`, `registerComplete`, `assertBegin`, `assertComplete`, `delete` |
108
108
  | `client.risk` | `listEvents`, `getVerdict`, `listVerdicts`, `createHoneytoken`, `listHoneytokens`, `deleteHoneytoken` |
109
+ | `client.webhooks` | `create`, `list`, `get`, `update`, `delete` |
109
110
  | `client.x402` | `getPaymentRequirement`, `pay`, `verifyReceipt`, `withPayment` |
110
111
 
111
112
  **Platform bootstrap response:** `bootstrapUser()` returns a `summary` object containing `agent_api_key` (one-time, not retrievable later) and `signing_keys[]` (with chain, address, and public_key for each provisioned key).
@@ -4740,6 +4740,8 @@ export interface components {
4740
4740
  eip712_default_policy?: "deny" | "allow";
4741
4741
  /** @description Whether EIP-191 personal_sign is enabled. */
4742
4742
  message_signing_enabled?: boolean;
4743
+ /** @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). */
4744
+ raw_signing_enabled?: boolean;
4743
4745
  /**
4744
4746
  * Format: date-time
4745
4747
  * @description Optional expiration time for the agent's API key.
@@ -5273,7 +5275,7 @@ export interface components {
5273
5275
  };
5274
5276
  SignIntentRequest: {
5275
5277
  /** @enum {string} */
5276
- intent_type: "personal_sign" | "typed_data" | "transaction";
5278
+ intent_type: "personal_sign" | "typed_data" | "eip712_digest" | "transaction";
5277
5279
  chain: string;
5278
5280
  /** @description Vault path to signing key. Auto-resolves per-chain signing key if provisioned, otherwise keys/{chain}-signer. */
5279
5281
  signing_key_path?: string;
@@ -5281,6 +5283,8 @@ export interface components {
5281
5283
  message?: string;
5282
5284
  /** @description EIP-712 typed data JSON (for typed_data) */
5283
5285
  typed_data?: Record<string, never>;
5286
+ /** @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. */
5287
+ hash?: string;
5284
5288
  /** @description EIP-2718 type: 0=legacy, 1=2930, 2=1559, 3=4844, 4=7702 */
5285
5289
  tx_type?: number;
5286
5290
  to?: string;
@@ -6555,6 +6559,8 @@ export interface components {
6555
6559
  latitude?: number | null;
6556
6560
  longitude?: number | null;
6557
6561
  user_agent?: string | null;
6562
+ /** @description Computed severity at event time (low, medium, high, critical) */
6563
+ severity?: string | null;
6558
6564
  payload: {
6559
6565
  [key: string]: unknown;
6560
6566
  };