0.3.1 • Published 1 month ago

@slay-pics/slay-q-rpc v0.3.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
1 month ago

@slay-pics/slay-q-rpc

npm version npm downloads bundle Codecov

Driver for slay-q-ingest RPC server. See Slay Q for more info.

Read the Docs

Usage

Install package:

# npm
npm install @slay-pics/slay-q @slay-pics/slay-q-rpc

# yarn
yarn add @slay-pics/slay-q @slay-pics/slay-q-rpc

# pnpm
pnpm install @slay-pics/slay-q @slay-pics/slay-q-rpc

# bun
bun install @slay-pics/slay-q @slay-pics/slay-q-rpc

Environment Variables

You can configure the driver by passing in options to the constructor, or alternatively you can specify the following environment variables:

  • SLAY_Q_WORKER_SECRET - Shared secret used to validate RPC requests
  • SLAY_Q_INGEST_ENDPOINT - URL to the slay-q ingest endpoint

Note that constructor options take precedents.

License

Published under MIT License.