Repository navigation
ox@0.14.64
Patch Changes
-
#603
0f76422Thanks @jxom! - FixedAbiError.decodeto resolve overloaded errors by the selector indatainstead of always decoding with the first matching overload. -
#601
354db45Thanks @jxom! - FixedAbiEvent.assertArgsnot matching integer arguments given as anumberagainst values decoded asbigint, or as abigintagainst small integers decoded asnumber. -
#590
ed0af24Thanks @jxom! - FixedBase32.toBytesandBase32.toHexaccepting non-canonical input (non-zero trailing bits or an impossible length) by throwingBase32.InvalidPaddingError. -
#581
0dcd096Thanks @jxom! - FixedCbor.decodeto decode a__proto__map key as an own property instead of replacing the prototype of the decoded object. -
#592
867e641Thanks @jxom! - FixedAttribution.fromDatato returnundefinedwhen a codes or CBOR length field claims more bytes than precede it. -
#585
9bc4970Thanks @jxom! - FixedHex.toBigIntandHex.toNumberthrowing on odd-length hex withsigned: true, andHex.fromNumberreturning0x0for a negative number withsigned: trueand nosize. -
#597
0253792Thanks @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. -
#601
354db45Thanks @jxom! - FixedBytes.fromHexandHex.toBytesshifting the bytes of odd-length hex values whensizewas specified. -
#601
354db45Thanks @jxom! - FixedRpcTransport.fromHttpdroppingfetchOptions.headerssupplied as aHeadersinstance or tuple array, and sending both the default and the caller'sContent-Typewhen only their casing differed. -
#601
354db45Thanks @jxom! - FixedSiwe.validateMessageaccepting a message with a nonce shorter than 8 alphanumeric characters or a version other than1, which EIP-4361 does not allow. -
#601
354db45Thanks @jxom! - FixedAbiItem.fromAbithrowingAbiItem.AmbiguityErrorforstringandbytesoverloads when the argument is a plain string; only hex strings andUint8Arrayvalues now matchbytes. -
#583
e415932Thanks @jxom! - FixedTick.fromPriceaccepting negative prices between -1 and 0 as their positive counterparts instead of throwingTick.PriceOutOfBoundsError. -
#601
354db45Thanks @jxom! - FixedTypedData.assertandTypedData.validate(and soTypedData.getSignPayloadandTypedData.serialize) rejecting struct names that contain:, such asHyperliquidTransaction:SendAsset. -
#579
90b00c7Thanks @jxom! - Added a{"type":"module"}marker to_types/so declaration files resolve as ESM under TypeScriptnode16(andnodenextbefore TypeScript 5.8); CommonJS consumers onnode16should switch tonodenextorbundlerresolution. -
#594
4208467Thanks @jxom! - FixedUserOperation.toPackedandUserOperation.toInitCodeto keep the padded EIP-77020x7702initCode marker expected by EntryPoint 0.8, using the delegate address only with the newforHashoption. -
#599
942c3a3Thanks @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.