@aion-dk/js-client
TypeScript icon, indicating that this package has built-in type declarations

4.4.6 • Public • Published

Assembly Voting JS Client

Code coverage

Javascript API for building voter-facing election applications.

Installing

Install directly from Github into your Javascript project.

npm install @aion-dk/js-client

Documentation

https://aion-dk.github.io/js-client/

Optional docker setup

$ bin/docker-build
$ bin/docker-sh

Testing

To run tests:

yarn run test

To run the Benaloh flow and walkthrough test:

Delete the .skip instruction on line 9, in the test/benaloh_flow.test.ts, and on lines 11 and 90, in test/walkthrough.test.ts, and make sure you have Devbox’s services running and seeded.

yarn run test

To run the tests in watch mode:

yarn run tdd

To generate HTML documentation for external usage:

yarn run docs

Publishing

Publishing it done automatically by the pipeline. Check the pipeline to see if the publish was successful. Remember to update the package.json version.

Sequence of client method calls, when everything works, and voter does not test encryption

/@aion-dk/js-client/

    Package Sidebar

    Install

    npm i @aion-dk/js-client

    Weekly Downloads

    2,621

    Version

    4.4.6

    License

    MIT

    Unpacked Size

    483 kB

    Total Files

    143

    Last publish

    Collaborators

    • it_user2024
    • av-martin
    • av-lasse
    • madschris
    • av-alexander
    • av-stefan
    • av_service_account