# @toruslabs/openlogin-session-manager

> [![npm version](https://badge.fury.io/js/%40toruslabs%2Fopenlogin-session-manager.svg)](https://badge.fury.io/js/%40toruslabs%2Fopenlogin-session-manager) ![npm](https://img.shields.io/npm/dw/@toruslabs/openlogin-session-manager)

Latest version **3.1.1** (published 2024-03-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install @toruslabs/openlogin-session-manager
pnpm add @toruslabs/openlogin-session-manager
yarn add @toruslabs/openlogin-session-manager
bun add @toruslabs/openlogin-session-manager
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.1 |
| Published | 2024-03-12 |
| First published | 2023-04-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.x |
| Dependencies | 3 |
| Unpacked size | 220.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Torus Labs |
| Maintainers | archit_web3, himanshunpm009, torusresearch, chaitanyapotti, tetratorus |

## Links

- npm: https://www.npmjs.com/package/@toruslabs/openlogin-session-manager
- Repository: https://github.com/torusresearch/session-manager-web
- Homepage: https://github.com/torusresearch/session-manager-web/packages/openlogin-session-manager#readme
- Issues: https://github.com/torusresearch/session-manager-web/issues
- npm.io page: https://npm.io/package/@toruslabs/openlogin-session-manager

## Dependencies (3)

- [@toruslabs/eccrypto](https://npm.io/package/@toruslabs/eccrypto.md) ^4.0.0
- [@toruslabs/metadata-helpers](https://npm.io/package/@toruslabs/metadata-helpers.md) 5.1.0
- [@toruslabs/base-session-manager](https://npm.io/package/@toruslabs/base-session-manager.md) ^3.1.1

## Recent versions

- 3.1.1 (latest) — 2024-03-12
- 3.1.0 — 2024-03-12
- 3.0.0 — 2023-08-21
- 2.0.0 — 2023-08-10
- 1.1.0 — 2023-05-25
- 1.0.0 — 2023-05-03
- 0.0.2 — 2023-04-25
- 0.0.1 — 2023-04-20

## README

# openlogin-session-manager

[![npm version](https://badge.fury.io/js/%40toruslabs%2Fopenlogin-session-manager.svg)](https://badge.fury.io/js/%40toruslabs%2Fopenlogin-session-manager)
![npm](https://img.shields.io/npm/dw/@toruslabs/openlogin-session-manager)

## 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

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

unpkg

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

## Usage

Add [`@toruslabs/openlogin-session-manager`](https://www.npmjs.com/package/@toruslabs/openlogin-session-manager) to your project:

## Requirements

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

---
_Source: https://npm.io/package/@toruslabs/openlogin-session-manager · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
