@1claw/sdk 0.38.0 → 0.39.0

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.
@@ -4864,7 +4864,19 @@ export interface components {
4864
4864
  /** @default false */
4865
4865
  intents_api_enabled: boolean;
4866
4866
  tx_to_allowlist?: string[];
4867
+ /** @description Maximum value per transaction in native major units for the transacting chain family (ETH on EVM, BTC on Bitcoin, SOL on Solana, XRP, ADA, TRX). */
4868
+ tx_max_value?: string;
4869
+ /** @description Rolling daily spend cap in native major units, enforced per chain family at signing time. */
4870
+ tx_daily_limit?: string;
4871
+ /**
4872
+ * @deprecated
4873
+ * @description Deprecated alias for tx_max_value. Same unit semantics (native major units, not ETH-only).
4874
+ */
4867
4875
  tx_max_value_eth?: string;
4876
+ /**
4877
+ * @deprecated
4878
+ * @description Deprecated alias for tx_daily_limit.
4879
+ */
4868
4880
  tx_daily_limit_eth?: string;
4869
4881
  tx_allowed_chains?: string[];
4870
4882
  /** @description Per-agent token TTL in seconds (overrides global default) */
@@ -4893,9 +4905,9 @@ export interface components {
4893
4905
  /** @description Allowed XRP Ledger transaction types (Payment, TrustSet, etc.). Empty = all allowed. */
4894
4906
  xrpl_allowed_tx_types?: string[];
4895
4907
  /**
4896
- * @description Per-chain guardrail overrides. Keys are chain family names (ethereum, bitcoin, solana, etc.).
4897
- * Each value can contain: max_value, daily_limit, to_allowlist, token_allowlist.
4898
- * Example: { "ethereum": { "max_value": "0.5", "to_allowlist": ["0x..."] } }
4908
+ * @description Per-chain guardrail overrides. Keys are signing chains (ethereum, bitcoin, solana, xrp, cardano, tron).
4909
+ * Each value may include max_value, daily_limit, to_allowlist, token_allowlist (legacy *_eth keys accepted).
4910
+ * Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
4899
4911
  */
4900
4912
  per_chain_guardrails?: {
4901
4913
  [key: string]: unknown;
@@ -4914,7 +4926,19 @@ export interface components {
4914
4926
  expires_at?: string;
4915
4927
  intents_api_enabled?: boolean;
4916
4928
  tx_to_allowlist?: string[];
4929
+ /** @description Maximum value per transaction in native major units for the transacting chain family (ETH on EVM, BTC on Bitcoin, SOL on Solana, XRP, ADA, TRX). */
4930
+ tx_max_value?: string;
4931
+ /** @description Rolling daily spend cap in native major units, enforced per chain family at signing time. */
4932
+ tx_daily_limit?: string;
4933
+ /**
4934
+ * @deprecated
4935
+ * @description Deprecated alias for tx_max_value. Same unit semantics (native major units, not ETH-only).
4936
+ */
4917
4937
  tx_max_value_eth?: string;
4938
+ /**
4939
+ * @deprecated
4940
+ * @description Deprecated alias for tx_daily_limit.
4941
+ */
4918
4942
  tx_daily_limit_eth?: string;
4919
4943
  tx_allowed_chains?: string[];
4920
4944
  token_ttl_seconds?: number | null;
@@ -4950,9 +4974,9 @@ export interface components {
4950
4974
  /** @description Allowed XRP Ledger transaction types (Payment, TrustSet, etc.). Empty = all allowed. */
4951
4975
  xrpl_allowed_tx_types?: string[];
4952
4976
  /**
4953
- * @description Per-chain guardrail overrides. Keys are chain family names (ethereum, bitcoin, solana, etc.).
4954
- * Each value can contain: max_value, daily_limit, to_allowlist, token_allowlist.
4955
- * Example: { "ethereum": { "max_value": "0.5", "to_allowlist": ["0x..."] } }
4977
+ * @description Per-chain guardrail overrides. Keys are signing chains (ethereum, bitcoin, solana, xrp, cardano, tron).
4978
+ * Each value may include max_value, daily_limit, to_allowlist, token_allowlist (legacy *_eth keys accepted).
4979
+ * Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
4956
4980
  */
4957
4981
  per_chain_guardrails?: {
4958
4982
  [key: string]: unknown;
@@ -4974,9 +4998,26 @@ export interface components {
4974
4998
  is_active: boolean;
4975
4999
  intents_api_enabled: boolean;
4976
5000
  tx_to_allowlist?: string[];
5001
+ /** @description Maximum value per transaction in native major units for the transacting chain family (ETH on EVM, BTC on Bitcoin, SOL on Solana, XRP, ADA, TRX). */
5002
+ tx_max_value?: string;
5003
+ /** @description Rolling daily spend cap in native major units, enforced per chain family at signing time. */
5004
+ tx_daily_limit?: string;
5005
+ /**
5006
+ * @deprecated
5007
+ * @description Deprecated alias for tx_max_value. Same unit semantics (native major units, not ETH-only).
5008
+ */
4977
5009
  tx_max_value_eth?: string;
5010
+ /**
5011
+ * @deprecated
5012
+ * @description Deprecated alias for tx_daily_limit.
5013
+ */
4978
5014
  tx_daily_limit_eth?: string;
4979
- /** @description ETH value already spent today (UTC) from recorded transactions; used with daily limit guardrails */
5015
+ /** @description Sum of today's spend across all chain families in major units. Prefer tx_spent_today_by_chain. */
5016
+ tx_spent_today?: string;
5017
+ /**
5018
+ * @deprecated
5019
+ * @description Deprecated alias for tx_spent_today.
5020
+ */
4980
5021
  tx_spent_today_eth?: string;
4981
5022
  tx_allowed_chains?: string[];
4982
5023
  token_ttl_seconds?: number | null;
@@ -5026,7 +5067,7 @@ export interface components {
5026
5067
  per_chain_guardrails?: {
5027
5068
  [key: string]: unknown;
5028
5069
  };
5029
- /** @description Per-chain-family daily spend in major units (e.g. {"ethereum": "0.5", "solana": "2.1"}). */
5070
+ /** @description Per-chain-family daily spend in native major units (keys: evm, bitcoin, solana, xrp, cardano, tron). */
5030
5071
  tx_spent_today_by_chain?: {
5031
5072
  [key: string]: string;
5032
5073
  };