Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

persona

Package Overview
Dependencies
Maintainers
7
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

persona

The official web client library for the Persona API.

  • 3.5.2
  • npm
  • Socket score

Version published
Weekly downloads
64K
decreased by-0.61%
Maintainers
7
Weekly downloads
 
Created
Source

persona-verify

The official javascript client library for the Persona API.

Table of Contents

  • persona-verify
    • Install
    • Documentation
    • Getting Started
    • Contributing
    • License

Install

npm install persona

Documentation

The module provides a client for the Persona embedded flow. For complete information about the API, head to the docs.

Getting Started

To open the flow you must create a Client object.

const Persona = require('persona');
const client: Client = new Persona.Client({
  // This refers to a production demo template owned by Persona
  templateId: 'persona-production_e1de83bf-e29f-48bb-9dae-568479b9edda',
  onLoad: () => client.open(),
  onStart: (inquiryId: string) => console.log(inquiryId),
  onComplete: (inquiryId: string, scopes: { [key: string]: string }) => console.log('onComplete'),
});

Contributing

Please see Contributing for guidelines and instructions for local development.

Releasing

Run the following command to generate changelogs and to bump semver to an appropriate value based on changes. Note that the suggested semver will only analyze commits using conventional-commits format.

yarn standard-version

Create a release branch using release/v*.*.* using the proper semver. This will automatically publish to NPM and our CDN.

NPM Auth

In order to publish to NPM, we've generated a token using npm token create --cidr=18.205.93.0/25,18.234.32.128/25,13.52.5.0/25. The --cidr list corresponds to Bitbucket's IPv4 CIDR list.

This CIDR list comes from: https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.htl

License

MIT

FAQs

Package last updated on 09 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc