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

persona

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

persona - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

google-cloud-keyfile.json

14

CHANGELOG.md

@@ -5,2 +5,16 @@ # Changelog

## [3.3.0](https://github.com/persona-id/persona-verify/compare/v3.1.1...v3.3.0) (2020-03-10)
### Features
* add `allow-top-navigation-by-user-activation` ([1e8cd20](https://github.com/persona-id/persona-verify/commit/1e8cd20377738ca2ccbd97dd6f65531347426089))
* add locked attributes as a Client Option. ([39dabf9](https://github.com/persona-id/persona-verify/commit/39dabf93b1770842ea0f399e3899c9a0d8e0b487))
### Bug Fixes
* **types:** make PrefillAttributes properties optional ([1b90a7e](https://github.com/persona-id/persona-verify/commit/1b90a7eefb0f3ce75c857e5008e09c70710d17b8))
* switch to relative imports ([1bc8d98](https://github.com/persona-id/persona-verify/commit/1bc8d9861b9ecbb0669a23a1cfdca7647e7e2080))
## [3.2.0](https://github.com/persona-id/persona-verify/compare/v3.1.1...v3.2.0) (2020-02-25)

@@ -7,0 +21,0 @@

3

dist/components/Widget.d.ts
import * as React from 'react';
import { PrefillAttributes } from '../lib/interfaces';
import { InquiryAttributes, PrefillAttributes } from '../lib/interfaces';
export interface WidgetProps {

@@ -11,2 +11,3 @@ templateId: string;

prefill?: PrefillAttributes;
lockedAttributes?: InquiryAttributes;
refIframe: React.RefObject<HTMLIFrameElement>;

@@ -13,0 +14,0 @@ accessToken?: string;

@@ -1,14 +0,16 @@

export interface PrefillAttributes {
nameFirst: string;
nameLast: string;
birthdate: string;
addressStreet1: string;
addressStreet2: string;
addressCity: string;
addressSubdivision: string;
addressPostalCode: string;
countryCode: string;
phoneNumber: string;
emailAddress: string;
export interface InquiryAttributes {
nameFirst?: string;
nameLast?: string;
birthdate?: string;
addressStreet1?: string;
addressStreet2?: string;
addressCity?: string;
addressSubdivision?: string;
addressPostalCode?: string;
countryCode?: string;
phoneNumber?: string;
emailAddress?: string;
}
export interface PrefillAttributes extends InquiryAttributes {
}
export interface ClientError {

@@ -50,2 +52,3 @@ status: number;

prefill?: PrefillAttributes;
lockedAttributes?: InquiryAttributes;
onLoad?: (error: ClientError | undefined) => void;

@@ -52,0 +55,0 @@ onStart?: (inquiryId: string) => void;

{
"name": "persona",
"version": "3.2.0",
"version": "3.3.0",
"description": "The official web client library for the Persona API.",

@@ -12,3 +12,2 @@ "main": "dist/persona.js",

"prepublishOnly": "yarn webpack",
"postpublish": "./bin/upload-to-cdn",
"watch": "webpack --watch"

@@ -15,0 +14,0 @@ },

@@ -6,2 +6,3 @@ # persona-verify

## Table of Contents
- persona-verify

@@ -22,3 +23,3 @@ - [Install](#install)

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

@@ -52,2 +53,10 @@ ## Getting Started

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

@@ -54,0 +63,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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