JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 92282
  • Score
    100M100P100Q189759F
  • License Apache-2.0

API key stamper for @turnkey/http

Package Exports

  • @turnkey/api-key-stamper

Readme


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