Repository navigation
Release notes:
28 October 2026
- fix(verification):
verifyDepositPayloads(used byeoa.deposit,splits.depositandgetDepositData) requires exact lengths forpubkey,withdrawal_credentials,signatureanddeposit_data_rootbefore hashing, andcomputeDepositMsgRootforpubkeyandwithdrawal_credentials; short or overlong values were padded or truncated by SSZ and could pass with a valid root and signature#253 - fix: requests send
Content-Type: application/jsononly when they have a body, andUser-Agent: Obol-SDK/<version>only in Node, so a browser GET to the Obol API is a simple CORS request without a preflight; caller headers still override the defaults - feat(errors):
ObolApiError(and its subclasses) hasrequestIdfrom the responseX-Request-Idheader; quote it when reporting a failed request to Obol - feat(errors):
RateLimitErrorhasretryAfterSecondsfrom the responseRetry-Afterheader (delta-seconds, or an HTTP-date converted to seconds from now, at least 0; undefined when absent or unparseable) - feat(errors):
ObolApiErrorInittakes optional responseheaders; body fields namedrequestIdorretryAfterSecondsare not copied onto the error (they stay inbody)