0.4.0 • Published 3 months ago

@turnkey/api-key-stamper v0.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

@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
);