@openweb3-io/xwebhook
v0.1.0
Published
Xwebhook webhooks API client and webhook verification library
Downloads
540
Readme
Typescript/Javascript library for interacting with the Xwebhook API and verifying webhook signatures
Usage Documentation
You can find general usage documentation at https://docs.webhook.openweb3.io. For complete API documentation with code examples for each endpoint in all of our official client libraries head over to our API documentation site at https://api.webhook.openweb3.io.
Language Support
Installation
npm install xwebhook
# or
yarn add xwebhook
Usage
import { Xwebhook } from "xwebhook";
const xwebhook = new Xwebhook("AUTH_TOKEN");
const app = await xwebhook.application.create({ name: "Application name" });
Development
First checkout the core README for details on how to generate our API bindings, then follow the steps below.
Requirements
- node
- yarn
Building the library
yarn
yarn build
Contributing
Before opening a PR be sure to format your code!
yarn lint:fix
Running Tests
Simply run:
yarn test