Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1004 Bytes

CONTRIBUTING.md

File metadata and controls

46 lines (28 loc) · 1004 Bytes

back to README.md

Contributing

Overview

This package is designed to serialize and hash unsigned zome call input with minimal code.

Development

See docs/API.md for detailed API References

Environment

  • Developed using Node.js v18.14.2
  • Enter nix develop for development environment dependencies.

Building

No build is required for Node.

Bundling with Webpack is supported for web

npx webpack

Optimizations

Other msgpack libraries that did not work

  • msgpack-lite - barely reduced the compressed size (57kb -> 54kb)
  • tiny-msgpack - serialized result was slightly different (last 8 bits)
  • @ygoe/msgpack - serialized result was very different (approx. 80% different)

Testing

To run all tests with logging

make test-debug
  • make test-integration-debug - Integration tests only

NOTE: remove -debug to run tests without logging