npm.io
0.6.12 • Published 2 weeks ago

@turnkey/api-key-stamper

Licence
Apache-2.0
Version
0.6.12
Deps
0
Vulns
0
Weekly
0
Stars
100

title: "API Key Stamper"

@turnkey/api-key-stamper

npm

This package contains functions to stamp a Turnkey request. It is meant to be used with @turnkey/http

Usage:

import { ApiKeyStamper } from "@turnkey/api-key-stamper";
import { TurnkeyClient } from "@turnkey/http";

const stamper = new ApiKeyStamper({
  apiPublicKey: "...",
  apiPrivateKey: "...",
});

const httpClient = new TurnkeyClient(
  { baseUrl: "https://api.turnkey.com" },
  stamper,
);

Keywords