286 Commits

Author SHA1 Message Date
Miguel Mota
884947408d Minor version bump to 0.6.0 v0.6.0 2025-09-15 00:14:10 -07:00
miguel
2ab7e63415 Merge pull request #106 from merkletreejs/functional
feat: add functional interface
2025-09-15 00:11:42 -07:00
Miguel Mota
5770483adf docs: add generated documentation for all Merkle tree implementations
Add detailed README files for MerkleTree, UnifiedBinaryTree, MerkleSumTree,
MerkleRadixTree, MerkleMountainRange, and IncrementalMerkleTree classes
with API docs, examples, and usage patterns.
2025-09-15 00:07:20 -07:00
Miguel Mota
a8b06d34af feat: add functional interface
- Add viem-inspired functional interface for MerkleTree operations
- Add complete test coverage for all exported functions
- Include detailed documentation and examples
2025-09-14 23:59:16 -07:00
Miguel Mota
ef8635ddae github-actions: Add id-token write permission v0.5.2 2025-04-18 18:46:23 -07:00
Miguel Mota
7d9bdd19ed Update links in package.json 2025-04-18 18:40:43 -07:00
Miguel Mota
3ed6c4e777 gh-actions npm provenance 2025-03-06 21:58:11 -08:00
Miguel Mota
105d42cd8a Generate package-lock.json v0.5.1 2025-02-25 23:38:01 -08:00
Miguel Mota
2ef9eeaf5d Add github action workflow 2025-02-25 23:30:19 -08:00
Miguel Mota
63df13729d Update links 2025-02-24 22:21:46 -08:00
Miguel Mota
b4848b73c3 Add funding json 2025-02-24 22:19:34 -08:00
Miguel Mota
34b3105f07 Update README 2025-02-24 01:28:01 -08:00
Miguel Mota
4a4e4e8665 Bump minor version 2025-02-24 01:21:41 -08:00
Miguel Mota
718bdc9e46 Update exports 2025-02-24 01:20:05 -08:00
Miguel Mota
2ff1040ab8 Add .nvmrc 2025-02-24 01:07:47 -08:00
Miguel Mota
e2afd837e6 Add initial Unified Binary Tree implementation 2025-02-24 01:04:37 -08:00
Miguel Mota
dd10cd0205 Bump patch version 2024-12-26 16:17:21 -08:00
Miguel Mota
9ed899c332 Update test dependencies 2024-12-26 16:17:04 -08:00
Miguel Mota
73184c2436 Add CONTRIBUTING.md 2024-12-26 16:10:28 -08:00
Harvey Ronan Donnelly
70bce66286 Merge pull request #97 from leopardracer/master
fix: typos in documentation files
2024-12-06 13:13:02 -05:00
leopardracer
d00464d426 Update README.md 2024-11-26 22:36:07 +02:00
Miguel Mota
13b886e0f0 Bump minor version 2024-07-02 15:42:14 -07:00
Miguel Mota
ee8c3ab2c0 Add merkle radix tree 2024-07-02 15:41:22 -07:00
Miguel Mota
f21ea9001a Update package.json 2024-07-02 12:06:17 -07:00
Miguel Mota
bc49bb62f8 Update README 2024-07-02 11:42:12 -07:00
Miguel Mota
e95a784a03 Fix example ui fork image url 2024-07-01 20:26:41 -07:00
Miguel Mota
cc22a44b98 bigNumberify 0x fix #80 2024-07-01 20:12:03 -07:00
Miguel Mota
5775c61a9f Lint 2024-07-01 20:01:25 -07:00
Miguel Mota
110116da2c Merge branch 'neuodev-ahmed/remove-leaf' 2024-07-01 19:57:54 -07:00
Miguel Mota
065ece7ea8 Merge branch 'ahmed/remove-leaf' of github.com:neuodev/merkletreejs into neuodev-ahmed/remove-leaf 2024-07-01 19:57:45 -07:00
Miguel Mota
417dfbc2fa Merge branch 'mjbrisebois-fix-bufferify-uint8array-handling' 2024-07-01 19:57:08 -07:00
Miguel Mota
4d3e0f024d Uint8Array test fix 2024-07-01 19:55:22 -07:00
Miguel Mota
39cfa42da7 Use even-length hex strings, update tests #91 2024-07-01 19:51:38 -07:00
Miguel Mota
bb2f564bab Merge branch 'mellowcroc-master' 2024-07-01 18:40:30 -07:00
Miguel Mota
a58e34c574 Merge branch 'master' of github.com:mellowcroc/merkletreejs into mellowcroc-master 2024-07-01 18:40:07 -07:00
Miguel Mota
0f64f42a29 Merge branch 'AxyLm-fix_buffer' 2024-07-01 18:36:24 -07:00
Miguel Mota
670e882746 Bump patch version 2024-07-01 18:36:11 -07:00
Pascal Marco Caversaccio
ea3b23541d 🔁 Bump crypto-js to Version 4.2.0
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
2024-07-01 18:36:10 -07:00
mellowcroc
b91b45e63f Handle odd-length hex strings correctly
`toString(16)` omits the leading '0' digit (e.g. '0x0fff' is '0xfff'), and the Buffer lib truncates the last digit when the hex string is odd. This change prevents truncation by padding the hex string with a leading '0'
2024-02-19 12:00:50 +09:00
mellowcroc
01a5fbc61f Merge pull request #1 from mellowcroc/fix-bufferifyfn-bug
Fix bufferifyFn bug
2024-02-14 23:26:01 +09:00
mellowcroc
3844ea26d5 Fix bufferifyFn bug
Current code incorrectly tries to convert the `value` value, when actually `v` value should be converted to Hex
2024-02-14 23:25:42 +09:00
Miguel Mota
1079da60c5 Bump patch version 2023-10-30 12:02:49 -07:00
Miguel Mota
e3ca751aa0 Merge branch 'pcaversaccio-patch-1' 2023-10-30 12:01:21 -07:00
Pascal Marco Caversaccio
3fd5a29855 🔁 Bump crypto-js to Version 4.2.0
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
2023-10-26 10:33:42 +02:00
Matthew Brisebois
43dce066c7 Add offset and length to Uint8Array handling in bufferify 2023-08-03 17:12:56 -06:00
Ahmed Ibrahim
d8fef9336a feat: add isValidIdx & invlaidIdxError private methods 2023-05-24 14:19:15 +03:00
Ahmed Ibrahim
bbcd6a3b41 feat: update leaf by index and value 2023-05-24 13:47:50 +03:00
Ahmed Ibrahim
b8675e342e feat: add remove leaf by index 2023-05-24 12:38:04 +03:00
WY
4b729b0375 fix buffer.concat error 2023-04-26 00:45:30 +08:00
Miguel Mota
1f3ab59dcf Bump patch version 2023-04-24 00:24:13 -07:00