@stytch/headless-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Stytch Javascript SDK - Headless Client

This package contains interfaces and implementations for the Stytch Javascript SDK API Clients and services.

The API Clients are each associated with a Stytch product (EML, OTP, etc), and act as proxies to the Stytch API. The API client exposes methods with strongly typed parameters and response types. Developers use these methods to interact with the Stytch API, and know what data shapes are expected in requesets and responses.

The services (PKCEManager, SessionManager, etc) are used to build the StytchClient objects that each specific SDK exposes to end users. These services control Stytch SDK logic such as session refreshes, telemetry, persistent storage, and coordination of data/state across all API Clients and services.

Readme

Keywords

none

Package Sidebar

Install

npm i @stytch/headless-client

Weekly Downloads

25

Version

0.1.2

License

MIT

Unpacked Size

128 kB

Total Files

77

Last publish

Collaborators

  • klu-stytch
  • alex-stytch
  • jbolduc-stytch
  • chris-stytch
  • danny-stytch
  • allison-stytch
  • ollie-stytch
  • taronish-stytch
  • marygruen
  • jennifer-stytch
  • jhaven-stytch
  • nicole-stytch
  • max-stytch
  • julianna-stytch
  • reed-stytch
  • grace-stytch