@haven_ai/sdk 0.0.0-dev.202609241802.ea320de → 0.0.0-dev.202609241957.179f300

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.
@@ -323,6 +323,11 @@ interface X402ExpectedContext {
323
323
  * which is NOT what the account validates — binding it alone would leave the
324
324
  * edge signer unable to verify the payload it is being asked to sign. Binding
325
325
  * this digest makes Haven's declaration cover the real payload.
326
+ *
327
+ * Absent ⇒ the retired version-1 bare-hash context. Since #3272 the backend
328
+ * never emits one (`signX402ExpectedContext` requires this field) and
329
+ * `@haven_ai/signer` refuses it with its version-mismatch refusal; the field
330
+ * stays optional here only because the type also describes older payloads.
326
331
  */
327
332
  typedDataHash?: string;
328
333
  /**
@@ -338,8 +343,9 @@ interface X402ExpectedContext {
338
343
  }
339
344
  interface X402ExpectedAuth {
340
345
  /**
341
- * 1 = hash-only (legacy rail). 2 = carries `typedDataHash` (delegation rail,
342
- * #1138).
346
+ * 2 = carries `typedDataHash` (delegation rail, #1138). 3 = additionally binds
347
+ * the payer identity (#1690). 1 (hash-only, retired Safe rail) is never
348
+ * emitted since #3272 and the signer refuses it.
343
349
  *
344
350
  * Deliberately `number`, not a literal union (#1143). This is an **inbound**
345
351
  * value: a signer parses a context Haven produced, and a signer older than the
@@ -323,6 +323,11 @@ interface X402ExpectedContext {
323
323
  * which is NOT what the account validates — binding it alone would leave the
324
324
  * edge signer unable to verify the payload it is being asked to sign. Binding
325
325
  * this digest makes Haven's declaration cover the real payload.
326
+ *
327
+ * Absent ⇒ the retired version-1 bare-hash context. Since #3272 the backend
328
+ * never emits one (`signX402ExpectedContext` requires this field) and
329
+ * `@haven_ai/signer` refuses it with its version-mismatch refusal; the field
330
+ * stays optional here only because the type also describes older payloads.
326
331
  */
327
332
  typedDataHash?: string;
328
333
  /**
@@ -338,8 +343,9 @@ interface X402ExpectedContext {
338
343
  }
339
344
  interface X402ExpectedAuth {
340
345
  /**
341
- * 1 = hash-only (legacy rail). 2 = carries `typedDataHash` (delegation rail,
342
- * #1138).
346
+ * 2 = carries `typedDataHash` (delegation rail, #1138). 3 = additionally binds
347
+ * the payer identity (#1690). 1 (hash-only, retired Safe rail) is never
348
+ * emitted since #3272 and the signer refuses it.
343
349
  *
344
350
  * Deliberately `number`, not a literal union (#1143). This is an **inbound**
345
351
  * value: a signer parses a context Haven produced, and a signer older than the
@@ -1394,5 +1394,5 @@ exports.x402FacilitatorAddresses = x402FacilitatorAddresses;
1394
1394
  exports.x402PaymentHeaderNamesFor = x402PaymentHeaderNamesFor;
1395
1395
  exports.x402PaymentHeaderNamesSent = x402PaymentHeaderNamesSent;
1396
1396
  exports.x402V2PaymentEnvelope = x402V2PaymentEnvelope;
1397
- //# sourceMappingURL=chunk-M57KOLAN.cjs.map
1398
- //# sourceMappingURL=chunk-M57KOLAN.cjs.map
1397
+ //# sourceMappingURL=chunk-64ACOOIE.cjs.map
1398
+ //# sourceMappingURL=chunk-64ACOOIE.cjs.map