1.0.1 • Published 1 year ago
@dataverse/dataverse-kernel-test v1.0.1
dataverse-kernel
Development Environment Setup
Install all node package dependencies by running pnpm install
Set environment variables in .env
(Required in the Node environment)
PK
- Your Private Key, current is ea8f02aa2446c3516b27ecf49b775f29c1c39cb2a5d2d12bb8f33d46791773a4
Set environment variables in .env
(Not required)
ENV
ENV |
---|
Browser |
Extension |
Mobile |
Node |
- Code running environment, current is Node. If not set, the default is Browser
SYNC_INTERVAL
- Time interval for synchronizing data, current is 10000. If not set, the default is 30000. In milliseconds
BATCH_EXECUTION_QUANTITY
- Batch update streams. Quantity of each batch, current is 20. If not set, the default is 10. In milliseconds
NETWORK
- The network (reference) of DID, current is 137. If not set, the default is 1.
Building the Library
Simply run pnpm build
. This will clean the dist and compile the TypeScript library.
Testing the Library
To run all of the tests use: pnpm test
1.0.1
1 year ago