All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.24.0 (2024-04-02)
- add dynamic array encoding (f0f495c)
- replace dynamic part with hex value when parsing schemas for
Mapping
keys (a9fdb4d)
- Patch full pretty printed with LF and TAB. (315fa54)
0.23.1 (2024-02-23)
- 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)
0.23.0 (2024-01-22)
- 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)
0.22.0 (2023-12-15)
- update new LSP7/8 interface IDs (#367)
JSONURL
andAssetURL
are now deprecated and have been replaced byVerifiableURI
. The decoding is backward compatible but if you try to encodeJSONURL
andAssetURL
value, they will be encoded asVerifiableURI
. (9aa87e5)
- Rename JSONURLDataToEncode (808f1b3)
0.21.3 (2023-11-29)
- add
encode/decodeValueType
as public callable methods (#325) (a6fe7c8) - add more schemas available to parse via
getSchema
(#351) (b882379) - add support for multi types in mappings (#357) (ba92903)
- add support to encode / decode any
uint8
touint256
types (#355) (417a4e8) - allow to encode LSP2 Array length only (#326) (3a6be55)
- update lsp6 schema (75c4044)
0.21.2 (2023-11-07)
- Add for unknown verification method to allow for null verification data in LSP2 (f205818)
- Add more fixes per PR comments (e7302e4)
- Change to verification object (ddd2ab2)
- More renames _FUNCTIONS to _METHODS (1a96be1)
- Move @types/jest and jest (852918c)
0.21.1 (2023-11-06)
- incorrect hex for
LSP8MetadataTokenURI
(0500a75)
0.21.0 (2023-11-02)
- update lsp3/lsp4 verificationData
- new gas parameter (82e3833)
- update lsp3/lsp4 verificationData (9640d9f)
0.20.1 (2023-10-30)
- incorrect permission value for
EXECUTE_RELAY_CALL
(55b8f5e)
0.20.0 (2023-10-18)
- add permission
EXECUTE_RELAY_CALL
(6db8835)
0.19.0 (2023-10-05)
- change LSP3 to SupportedStandards:LSP3Profile (#307)
- new encoding for static value types (not arrays
[]
) (#288) - change
ArrayLength
value fromuint256
touint128
(#287)
- decode any uint256 as number not string (#289) (37203f1)
- dependencies & example (#302) (9979e89)
- incorrect value in schema for array length in
...Map
(#310) (0d28b13) - Remove hardcoded require (5279278)
- variable naming (44b4785)
- change
ArrayLength
value fromuint256
touint128
(#287) (c95ee8a) - change LSP3 to SupportedStandards:LSP3Profile (#307) (73f3481)
- new encoding for static value types (not arrays
[]
) (#288) (f0b04da)
0.18.0 (2023-08-03)
- new encoding for static value types (not arrays
[]
) (#288) - change
ArrayLength
value fromuint256
touint128
(#287)
- change
ArrayLength
value fromuint256
touint128
(#287) (c95ee8a) - new encoding for static value types (not arrays
[]
) (#288) (f0b04da)
0.17.2 (2023-03-14)
0.17.1 (2023-02-08)
- update schemas (#274)
0.17.0 (2023-02-07)
- refactor: change permission
ADDPERMISSIONS
->ADDCONTROLLER
(122efa9)
- add encoding / decoding for
bytes[CompactBytesArray]
(#261) (8d3e4e9) - add decoding/encoding support for tuples of
CompactBytesArray
(#264) (d9ce0f0) - add encoding/decoding for other types of
compactBytesArray
(#262) (9268a32) - Add support for
bool
(valueType) andBoolean
(valueContent) (#266) (86d606e)
- Encode key name should parse any number (hex or decimal) for uint type (eb7385e)
0.16.0 (2022-10-27)
- It is now recommended to initialise the library with an RPC URL over the Web3 or Ethers provider, you can check the erc725.js documentation to get more information.
- add supportsInterface (#243) (a2b0828)
- make library compatible with RPC urls (263de19)
- change lsp7 interface id from
0xe33f65c3
to0x5fcaac27
(6aa6eb3) - update return type for
fetchData
(#247) (7ffcd64)
0.15.0 (2022-09-14)
- add LSP6
ENCRYPT
permission in for encrypt/decrypt permissions methods. (#223)
0.14.4 (2022-07-25)
0.14.3 (2022-07-07)
- add
BitArray
in valueContent encoding map (3498502)
- LSP4Creators[] valueType (6ddbf47)
0.14.2 (2022-06-24)
- Update JsonRpc eth_call parameters (470e846)
0.14.1 (2022-06-15)
Minor update to update the LSP-2 schemas.
0.14.0 (2022-06-14)
- fetchData as same output as decodeData
- getData as same output as decodeData
- add dynamic keys for getData
- use array for decodeData
- use array for encodeData
- add dynamic keys for getData (7a46786)
- add dynamicKeys for decodeData (f386e15)
- add non array input on decodeData (0774a86)
- add support for hashed key for encodeData (23323a0)
- add BytesN value content (#184) (7e073e4)
- add tuples support (7f3d1a0)
- encodeKeyName returns lowercase keys (80566eb)
- fetchData as same output as decodeData (59c3a87)
- getData as same output as decodeData (0f3b149)
- use array for decodeData (261d100)
- use array for encodeData (a2e6cdd)
0.13.0 (2022-06-02)
- remove old LSP2 Key Types (Bytes20..)
0.12.0 (2022-05-19)
- change encodeData result structure
- change encodeData result structure (10da619)
0.11.1 (2022-04-06)
This version fix the npm pack error.
- do not load wrong schemas (66dc3e6)
0.11.0 (2022-04-05)
- the output of getData is not an object anymore, but the value directly if the input is a string.
- if fetchData is called with a string, the output will be the value itself, not an object anymore.
- add schemas at the root and improve docs (#121) (e37fb39)
- change the output of getData for string input (3592c1b)
0.10.0 (2022-03-11)
- add isValidSignature (6490751)
0.9.2 (2022-02-21)
- add LSP1 schema (4f849da)
- update ERC725Y JSON Schemas to latest LSPs specs (#92) (3485baa)
- wait until a promise is resolved when using ethereum provider (5efe641)
0.9.1 (2022-02-01)
0.9.0 (2022-01-06)
- GraphQL / Apollo has been removed
- add encodeKeyName method (#86) (7cf43ba)
- add getSchema (#85) (7f677d0)
- LSP6 Permissions encoding methods (#84) (2e1031a)
0.8.0 (2021-11-22)
- remove deprecated elementValueType / elementValueContent keys (#45)
- add support for new getData([]) (#48) (6cbb1e7)
- remove deprecated elementValueType / elementValueContent keys (#45) (a326cd6)
0.7.0 (2021-11-02)
- remove deprecated elementValueType / elementValueContent keys (#45)
- add support for new getData([]) (#48) (6cbb1e7)
- remove deprecated elementValueType / elementValueContent keys (#45) (a326cd6)
0.6.1 (2021-08-13)
- docs: Update missed occurrences of "erc725.js"
0.6.0 (2021-08-13)
- mocha: increase timeout time (b7ce1a0)
0.5.7 (2021-07-30)
- publish: ensure clean build folder (973e09b)