2.1.4 • Published 10 months ago

@projectlibertylabs/siwf v2.1.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Sign In With Frequency (SIWF) V2 JavaScript Library

The NPM package @projectlibertylabs/siwf@v2 offers both CommonJS and ESM exports.

Install

  • NPM: npm i @projectlibertylabs/siwf@v2
  • Yarn: yarn add @projectlibertylabs/siwf@v2

Documentation

See Markdown/GitHub Docs or Live Docs.

JS API Functions

FunctionDescription
generateAuthenticationUrlGenerates the signed request for the authentication flow
getLoginResultFetch and extract the Result of the Login
hasChainSubmissionsChecks to see if there are any chain submissions in the given result
validateSiwfResponseTakes a response payload and validates it
generateSignedRequestGenerates the signed payload for the authentication flow using a keypair
buildSignedRequestBuilds the signed request for the authentication flow using the signature and public key
generateEncodedSignedRequestGenerates the encoded signed payload for the authentication flow using a keypair
encodeSignedRequestEncodes a signed request for the authentication flow as a base64url string
decodeSignedRequestDecodes a base64url encoded signed request for the authentication flow
generateRequestSigningDataGenerates the hex of the payload for signing

JS API Constants

ConstantsDescription
VerifiedEmailAddressCredentialRequest for a verified email address
VerifiedPhoneNumberCredentialRequest for a verified SMS/Phone Number
VerifiedGraphKeyCredentialRequest for a the private graph encryption key

JS API Types

Types are included with the exports for the package

Development

Library is published on merge to main with a development tag 0.0.0-[SHA:6]. Releases are made via GitHub Releases with tags in the style: vX.Y.Z.

0.0.0-67bf20

10 months ago

0.0.0-978c4c

10 months ago

0.0.0-3f037d

10 months ago

0.0.0-d7463b

1 year ago

0.0.0-220544

10 months ago

0.0.0-113564

1 year ago

0.0.0-59d356

11 months ago

0.0.0-6bf41d

1 year ago

0.0.0-7f4aad

12 months ago

0.0.0-0b9a13

10 months ago

0.0.0-4d5bbf

10 months ago

0.0.0-ea4551

11 months ago

0.0.0-f4aa93

10 months ago

0.0.0-26e9e7

1 year ago

0.0.0-dfecd0

12 months ago

0.0.0-4208bd

11 months ago

0.0.0-73cf04

11 months ago

0.0.0-46273

11 months ago

0.0.0-9ddfaf

11 months ago

1.1.6

11 months ago

1.1.5

1 year ago

2.1.2

11 months ago

2.1.1

1 year ago

2.1.4

10 months ago

2.1.3

10 months ago

0.0.0-bd6571

10 months ago

0.0.0-e47a56

1 year ago

0.0.0-35b586

1 year ago

0.0.0-b05bc2

11 months ago

0.0.0-8944c4

10 months ago

0.0.0-791a65

11 months ago

0.0.0-254ab3

10 months ago

0.0.0-ce36a6

1 year ago

0.0.0-d2649a

1 year ago

2.1.0

1 year ago

0.0.0-c6cbb7

1 year ago

0.0.0-a8b780

1 year ago

0.0.0-c390f9

1 year ago

0.0.0-2b93f2

1 year ago

0.0.0-df5630

1 year ago

0.0.0-281782

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

0.0.0-90407f

1 year ago

2.0.0-rc1

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

0.0.0-9ad33a

1 year ago

2.0.6

1 year ago

0.0.0-1c8c45

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

0.0.0-cc7328

1 year ago

0.0.0-87b24c

1 year ago

0.0.0-9425ab

1 year ago

0.0.0-df5ed0

1 year ago

0.0.0-cf2bb3

1 year ago

0.0.0-b9d308

1 year ago

0.0.0-93caa4

1 year ago

0.0.0-3b8992

1 year ago

0.0.0-e4f59f

1 year ago

0.0.0-913df5

1 year ago

0.0.0-f3a3df

1 year ago

0.0.0-939e4e

1 year ago

0.0.0-8078ec

1 year ago

0.0.0-6f1780

1 year ago

0.0.0-dc4314

1 year ago

1.1.2

1 year ago

0.0.0-bade15

1 year ago