1.7.5 • Published 2 years ago

@delysium/sso v1.7.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@delysium/sso

This package provides the api sdk of the Delysium project

Installation

🚨 Please make sure to add this NPM token in your .npmrc file: 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.

You can do so by running the following command:

echo "//registry.npmjs.org/:_authToken=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" >> .npmrc
yarn add @delysium/sso

Domain

Staging: https://sso-stg.delysium.com

Production: https://sso.delysium.com

Usage

import Client from '@delysium/sso'
import UserResponse from "./user.response";
import {EmptyTokenRequest} from "./request";

// 1. specify your domain
const domain = "https://sso-stg.delysium.com"

// 2. create the client and call init when the user wallet is connected
const client = new Client(domain)


// example of getting current user
const request: EmptyTokenRequest = {token: "user token"}
const me: UserResponse = await client.userMe(request)
1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.9

3 years ago

1.6.8

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.5

3 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.7

3 years ago

1.5.6

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.7

3 years ago

1.3.0

3 years ago

1.2.8

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago