0.1.5 • Published 9 months ago
legalesign-sdk-js-test v0.1.5
Legalesign TS / JS SDK
This project contains tests for the Legalesign signing and platform JavaScript / Typescript SDK. These tests are also intended as examples for you to reuse.
Installation
npm i legalesign-sdk-js-test
Create .env File
EXAMPLE_USER=alex.test@yourorg.com
TEST_ORGANISATION=b3JnNTdjYWRjNmEtM2RmZC00MzA3LTk1MWEtOGVlNmIwOGVlYTg1
TEST_USER=testuser@yourorg.com
TEST_PASSWORD=1234567
LOCAL_USER=yourtestemail@legalesign.com
LOCAL_PASSWORD=testuserpassword
LOCAL_USER_SUB=YourCognitoSub
VERSION=0.0.1
Features
- Sample draft JSON file
- Jest Tests
- Example code for common tasks
Development Advice
If you intend to alter or extend the existing typescript library (this is only recommended for internal or
partner developers) you should npm link
to the local copy of the legalesign-sdk-js
. Otherwise install the
SDK into your project as normal with the command: