A generated JavaScript library for the Compute Budget program.
The JS client tests use LiteSVM in-process, so no local validator is needed. To build and test your JavaScript client from the root of the repository, you may use the following command.
make test-js-clients-jsThis installs dependencies, builds the client, and runs the test suite.
Alternatively, you can go into the client directory and run the tests directly.
cd clients/js
pnpm install
pnpm build
pnpm testYou may also use the following scripts to lint and/or format your JavaScript client.
pnpm lint
pnpm lint:fix
pnpm format
pnpm format:fix