@avaprotocol/types
v2.9.0
Published
Type definitions for Ava Protocol's AVS
Downloads
532
Readme
Ava SDK for JavaScript/TypeScript
@avaprotocol/types is the TypeScript types for the @avaprotocol/sdk-js library and is intended to be used on the client side of a web app to interpret data.
Installation
To install @avaprotocol/types, run the following command:
npm install @avaprotocol/typesOr with Yarn:
yarn add @avaprotocol/typesGetting Started
Here’s a quick example of how to use the types library to get started with Ava Protocol:
import { WorkflowStatus, TriggerType } from "@avaprotocol/types";
// Check conditions such as workflow status
if (workflow.status === WorkflowStatus.Enabled) {
// ...
// your logic here
// ...
}Contributing
We welcome contributions! Feel free to submit pull requests or open issues for any bugs or feature requests.
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.
