
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
The official javascript client library for the Persona API.
npm install persona
The module provides a client for the Persona embedded flow. For complete information about the API, head to the docs.
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'),
});
Please see Contributing for guidelines and instructions for local development.
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.
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
FAQs
The official JavaScript SDK for the Persona Inquiry Flow.
The npm package persona receives a total of 57,674 weekly downloads. As such, persona popularity was classified as popular.
We found that persona demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.