tendermint-light-client-js 0.22.0

tendermint-light-client-js provides a lightweight, WASM-based interface to the Tendermint Light Client's verification functionality.
docs.rs failed to build tendermint-light-client-js-0.22.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: tendermint-light-client-js-0.36.0

Light-Client API for JavaScript

At present this just exposes the Tendermint Light Client's verification logic via WASM. This allows simple access to verification from JavaScript:

import * as LightClient from 'tendermint-light-client-js';

// Verify an untrusted block against a trusted one, given the specified options
// and current date/time.
let verdict = LightClient.verify(untrusted, trusted, options, now);

For an example of how to use this, please see the verifier-web example.