Skip to content

Releases: ERC725Alliance/erc725.js

v0.27.1

12 Jul 09:35
979b634
Compare
Choose a tag to compare

0.27.1 (2024-07-12)

Bug Fixes

  • Normalize tests and add name as a constant in the schema. Add nonDynamicName to capture resolved schema names. (95dabb2)
  • Repair and use dynamicName and dynamicKeyParts. (2874516)
  • Improve some limitations and error handlings when number of bytes in the value is bigger than expected value type (b0ffa5b)
  • Some cleanup, remove global-agent, some new minor upgrades (239c98c)

v0.27.0

29 May 14:07
ea64bdf
Compare
Choose a tag to compare

0.27.0 (2024-05-29)

Features

  • allow to pass number directly in array when encoding tuples (f6b4a9d)
  • export mapPermission function and don't make it throw an error (08e72d6)
  • export function to get verification method (f426a31)
  • export method isDataAuthentic as static, single method or member of class (0c7ba98)
  • return dynamicKeyName and dynamicKeyPart for getSchema with Array (8b86092)

Bug Fixes

  • allow to decode 0x as 0 for keyType Array (fde9f5d)

v0.26.0

15 May 16:10
e097f99
Compare
Choose a tag to compare

0.26.0 (2024-05-14)

Features

  • add dynamicPart in schema returned by getSchema (12d34d2)
  • add support for bytesN valueType from 1 to 32 (1db6f2f)
  • allow to use decodeData to decode Array length only (5ddb12d)
  • export getSchema as a standalone function outside of class instance (8558c71)
  • include also dynamicKeyPart in the schema return by getSchema (30dda33)

Bug Fixes

  • encode uintN with correct padding and bytes length (f8dc5ae)
  • Ignore formatting in package.json inside of biome (33a80dd)
  • valueContent from bytes32 -> Bytes32 for LSP8ReferenceContract (dffc421)

v0.25.0

18 Apr 14:32
7dd36ac
Compare
Choose a tag to compare

0.25.0 (2024-04-18)

Features

  • export methods for encoding/decoding dataSourceWithHash and valueContent (b1e0ed9)

v0.24.2

11 Apr 09:07
6dd7b89
Compare
Choose a tag to compare

0.24.2 (2024-04-11)

Bug Fixes

  • Apply suggestions. (e9c3d81)
  • Minimize changes (cc31b5f)
  • Repair data: urls from not triggering the baseURI test. (c26ab3e)

v0.24.1

03 Apr 16:08
74a1e1d
Compare
Choose a tag to compare

0.24.1 (2024-04-03)

Bug Fixes

  • Add missing exports due to merge conflict. (2e14cd5)

v0.24.0

02 Apr 12:03
20e1b01
Compare
Choose a tag to compare

0.24.0 (2024-04-02)

Features

  • add dynamic array encoding (f0f495c)
  • replace dynamic part with hex value when parsing schemas for Mapping keys (a9fdb4d)

Bug Fixes

  • Patch full pretty printed with LF and TAB. (315fa54)

v0.23.1

25 Feb 16:00
9309eed
Compare
Choose a tag to compare

0.23.1 (2024-02-23)

Bug Fixes

  • Add check for pretty printed and non-pretty printed versions of JSON (aa68bf1)
  • Missing line (d13be00)
  • Re-do PR with minimal changes (17458d6)
  • Repair package-lock to be just as on main (e793246)

v0.23.0

22 Jan 17:40
b35001f
Compare
Choose a tag to compare

0.23.0 (2024-01-22)

Features

  • add permission related to 4337 (e7fd19b)
  • allow to load typed schemas from schemas/ folder (c54a370)

Bug Fixes

  • Add workaround to read (bytes4,URI), repair none vs unknown signature. (204409d)
  • Additional PR repair (2a18f2b)
  • BodyInit should be just string or buffer and not already Uint8Array (08e0177)
  • Cleanup (038d975)
  • Cleanup a bit with comments. (3d6a5a6)
  • Cleanup and handle situation where one of many keys fails. Return null. (cdf4583)
  • Cleanup error handler inside of getDataFromExternalSources (fde2e0f)
  • Debug and repair test scripts. Implement detecting of JSON inside of Uint8Array (74c0526)
  • Missing commit (a3dd604)
  • More fixes (620b606)
  • Remove .only call for testing. (d5ef3c9)
  • Remove console debugging. (e349d57)
  • Remove unnecessary special case for 0x00000000 (cd6152a)
  • Repair and enhance test scripts (224eb9e)
  • Repair as per PR review (0a52452)
  • Repair console.log and expand types of URLs (ar://, ipfs://, https?://, data:) (5c8f228)
  • Repair problems with IPFS, fetch and VerifiableURI (44834b8)
  • Repair to not throw errors when data is not authentica or not accessible withing getDataFromExternalSources. (25756d0)
  • Repair tuples containing numeric types uintX/intX, add Number to output data type. (01cceea)
  • Simplify buffer to string conversion. (0bd1349)
  • Simplify creation of key to detect JSON. (df2580d)
  • Use a single keccak function since ethereumjs converts it to a Buffer no matter what. (cdc6c0a)

v0.22.0

15 Dec 13:05
3994b72
Compare
Choose a tag to compare

0.22.0 (2023-12-15)

⚠ BREAKING CHANGES

  • update new LSP7/8 interface IDs (#367)
  • JSONURL and AssetURL are now deprecated and have been replaced by VerifiableURI. The decoding is backward compatible but if you try to encode JSONURL and AssetURL value, they will be encoded as VerifiableURI. (9aa87e5)

Bug Fixes

  • Rename JSONURLDataToEncode (808f1b3)