See the documentation
Package | Version | Description |
---|---|---|
@oasislabs/client |
Client for interacting with services on the Oasis cloud | |
@oasislabs/gateway-client |
Lightweight client for interacting with developer-gateway services | |
@oasislabs/gateway |
Client backend for communicating with a developer-gateway | |
@oasislabs/service |
Implementations for deploying and interacting with services | |
@oasislabs/confidential |
Encryption tools for confidentiality on Oasis | |
@oasislabs/common |
Common utilities for Oasis packages | |
@oasislabs/types |
Types for Oasis packages | |
@oasislabs/test |
Tools used in Oasis tests |
To get started first install the required build tools:
npm install -g lerna
npm install -g yarn
Then bootstrap the workspace:
yarn
To build the workspace:
yarn build
In each package, the built javascript and typescript definitions will be in dist/
. For direct browser testing of a client, simply include the rollup artifact directly in your script tag, e.g., <script src=/dist/index.umd.js></script>
. For example here.
To run all tests:
yarn test
To lint:
yarn lint
To apply lint fixes:
yarn lint:fix