Repository navigation
ox@1.8.14
Patch Changes
-
#602
15ef7a4Thanks @jxom! - FixedAbiError.decodeto resolve overloaded errors by the selector indatainstead of always decoding with the first matching overload. -
#600
8228e04Thanks @jxom! - FixedAbiEvent.assertArgsandAbiEvent.extractLogsnot matching integer arguments given as anumberagainst values decoded asbigint, or as abigintagainst small integers decoded asnumber. -
#588
816729dThanks @jxom! - FixedAbiEvent.encodeaccepting out-of-range values for indexedintN/uintN(N < 256) and wrong-sizedbytesN(N < 32) arguments instead of throwing. -
#576
a6af44fThanks @jxom! - AddeduserAddresstoAccountOperationtransaction operations, so a configurable account acting as an access key (TIP-1111) can collect owner approvals and serialize a keychain V2 envelope for its parent. -
#564
b03705aThanks @jxom! - FixedAbiEvent.decodeLogandAbiEvent.extractLogsto decode anonymous event logs when every event in the ABI is anonymous or, forextractLogs, wheneventNamenames the event, throwingAbiEvent.AnonymousEventAmbiguityErrorfromdecodeLogwhen several anonymous events fit. -
#580
b0994e1Thanks @jxom! - FixedBase32.toBytesandBase32.toHexaccepting non-canonical input (non-zero trailing bits or an impossible length) by throwingBase32.InvalidPaddingError. -
#573
5ba70c0Thanks @RaphaelFakhri! - FixedCbor.decodeto decode a__proto__map key as an own property instead of replacing the prototype of the decoded object. -
#503
97a4cceThanks @ara-stock! - FixedCompactSize.toBytesandCompactSize.toHexsilently truncating values larger than2^64 - 1instead of throwing. -
#591
401173cThanks @jxom! - FixedAttribution.fromDatato returnundefinedwhen a codes or CBOR length field claims more bytes than precede it. -
#584
7f37495Thanks @jxom! - FixedHex.toBigIntandHex.toNumberthrowing on odd-length hex withsigned: true, andHex.fromNumberreturning0x0for a negative number withsigned: trueand nosize. -
#596
80d74c1Thanks @jxom! - FixedRlp.toBytesandRlp.toHexto reject non-canonical encodings (a single byte below0x80with a length prefix, or a long-form or zero-padded length) withRlp.NonCanonicalError. -
#569
7a564afThanks @gakonst! - Improved validation performance inHex.assert,Value,TypedData,Siwe.isUri, ABI overload resolution, and theox/zodhex, address, quantity, and Solidity type schemas by reusing module-level regular expressions instead of recreating them on every call. -
#600
8228e04Thanks @jxom! - FixedBytes.fromHexandHex.toBytesshifting the bytes of odd-length hex values whensizewas specified. -
#600
8228e04Thanks @jxom! - FixedRpcTransport.fromHttpsending both the default and the caller'sContent-TypewhenfetchOptions.headersset it, instead of the caller's value alone. -
#570
8a9f850Thanks @gakonst! - ImprovedAbiItem.getSignatureHashandAbiItem.getSelectorperformance, along with the selector lookups inAbiItem.fromAbi,AbiFunction.decodeData,AbiEvent.decodeLogandAbiEvent.extractLogs, by caching signature hashes by normalized signature in a bounded cache thatCaches.clearand engine changes reset. -
#600
8228e04Thanks @jxom! - FixedSiwe.validateMessageaccepting a message with a nonce shorter than 8 alphanumeric characters or a version other than1, which EIP-4361 does not allow. -
#600
8228e04Thanks @jxom! - FixedAbiItem.fromAbithrowingAbiItem.AmbiguityErrorforstringandbytesoverloads when the argument is a plain string; only hex strings andUint8Arrayvalues now matchbytes. -
#582
8d042deThanks @jxom! - FixedTick.fromPriceaccepting negative prices between -1 and 0 as their positive counterparts instead of throwingTick.PriceOutOfBoundsError. -
#600
8228e04Thanks @jxom! - FixedTypedData.assertandTypedData.validate(and soTypedData.getSignPayloadandTypedData.serialize) rejecting struct names that contain:, such asHyperliquidTransaction:SendAsset. -
#593
c370946Thanks @jxom! - FixedUserOperation.toPackedandUserOperation.toInitCodeto keep the padded EIP-77020x7702initCode marker expected by EntryPoint 0.8 and 0.9, using the delegate address only with the newforHashoption. -
#598
b2771c8Thanks @jxom! - FixedAbiFunction.decodeDatareturningundefinedwhen a function name has a zero-input overload and the calldata targets another overload, by keeping the other overloads on itemsfromAbiresolves withoutargs.