@slay-pics/slay-q-rpc
v0.3.1
Published
RPC driver for Slay Q to work with slay-ingest HTTP RPC server
Downloads
4
Maintainers
Readme
@slay-pics/slay-q-rpc
Driver for slay-q-ingest
RPC server. See Slay Q for more info.
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 requestsSLAY_Q_INGEST_ENDPOINT
- URL to the slay-q ingest endpoint
Note that constructor options take precedents.
License
Published under MIT License.