@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.
- package/dist/{base64-CPxbmyU9.d.cts → base64-CuxQKlr6.d.cts} +8 -2
- package/dist/{base64-CPxbmyU9.d.ts → base64-CuxQKlr6.d.ts} +8 -2
- package/dist/{chunk-M57KOLAN.cjs → chunk-64ACOOIE.cjs} +2 -2
- package/dist/chunk-64ACOOIE.cjs.map +1 -0
- package/dist/{chunk-FR5R26V3.js → chunk-DOXCSXEQ.js} +2 -2
- package/dist/chunk-DOXCSXEQ.js.map +1 -0
- package/dist/edge.cjs +32 -32
- package/dist/edge.d.cts +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/edge.js +2 -2
- package/dist/index.cjs +256 -256
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-FR5R26V3.js.map +0 -1
- package/dist/chunk-M57KOLAN.cjs.map +0 -1
|
@@ -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
|
-
*
|
|
342
|
-
* #
|
|
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
|
-
*
|
|
342
|
-
* #
|
|
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-
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1397
|
+
//# sourceMappingURL=chunk-64ACOOIE.cjs.map
|
|
1398
|
+
//# sourceMappingURL=chunk-64ACOOIE.cjs.map
|