0.1.2 • Published 11 months ago

signway-sdk v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Signway JS sdk

Generate signed urls for Signway, so that they can be used in client-side code.

Install

npm install signway-sdk
import { signUrl } from "signway-sdk";

console.log(signUrl({
  id: "my-id",
  secret: "my-secret",
  host: "https://api.signway.io",
  proxyUrl: "https://api.openai.com/v1/chat/completions",
  expiry: 10,
  method: "POST"
}))
0.1.2

11 months ago

0.1.0

11 months ago