JSPM

@toruslabs/openlogin-session-manager

3.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5244
  • Score
    100M100P100Q209708F
  • License ISC

Package Exports

  • @toruslabs/openlogin-session-manager
  • @toruslabs/openlogin-session-manager/dist/openloginSessionManager.cjs.js
  • @toruslabs/openlogin-session-manager/dist/openloginSessionManager.esm.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 (@toruslabs/openlogin-session-manager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

openlogin-session-manager

npm version npm

Introduction

This library implements a session manager for openlogin web.

Features

  • Typescript compatible. Includes Type definitions
  • All API's return Promises

Installation

Bundling

This module is distributed in 3 formats

  • esm build dist/openloginSessionManager.esm.js in es6 format
  • commonjs build dist/openloginSessionManager.cjs.js in es5 format
  • umd build dist/openloginSessionManager.umd.min.js in es5 format without polyfilling corejs minified

By default, the appropriate format is used for your specified usecase You can use a different format (if you know what you're doing eg. node) by referencing the correct file

The cjs build is not polyfilled with core-js. It is upto the user to polyfill based on the browserlist they target

Directly in Browser

CDN's serve the non-core-js polyfilled version by default. You can use a different

jsdeliver

<script src="https://cdn.jsdelivr.net/npm/@toruslabs/openlogin-session-manager"></script>

unpkg

<script src="https://unpkg.com/@toruslabs/openlogin-session-manager"></script>

Usage

Add @toruslabs/openlogin-session-manager to your project:

Requirements

  • This package requires a peer dependency of @babel/runtime
  • Node 18+