JSPM

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

API key stamper for @turnkey/http

Package Exports

  • @turnkey/api-key-stamper
  • @turnkey/api-key-stamper/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@turnkey/api-key-stamper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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