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 - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

7

CHANGELOG.md

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

## [4.4.0](https://bitbucket.org/persona-id/persona-verify/compare/v4.3.0...v4.4.0) (2022-02-15)
### Features
* support multiple iframe origins ([0509b8e](https://bitbucket.org/persona-id/persona-verify/commits/0509b8e897b66e4e9e6a0ab6c905edb97c72930a))
## [4.3.0](https://bitbucket.org/persona-id/persona-verify/compare/v4.2.1...v4.3.0) (2022-01-31)

@@ -7,0 +14,0 @@

2

dist/components/InquiryInternal.d.ts

@@ -9,3 +9,3 @@ import * as React from 'react';

}
declare const _default: (props: InquiryInternalProps) => JSX.Element;
declare const _default: ({ accountId, containerId, environment, fields, flowType, frameAncestors, host, inquiryId, language, lockedAttributes, messageTargetOrigin, onCancel, onComplete, onError, onEvent, onLoad, onReady, prefill, refIframe, referenceId, sessionToken, templateId, templateVersionId, themeId, }: InquiryInternalProps) => JSX.Element;
export default _default;

@@ -157,2 +157,13 @@ /**

/**
* Allows specifying additional origins for CSP purposes. Values should
* include both protocol and host (e.g. https://withpersona.com).
*
* This is REQUIRED when the page that embeds the Persona widget is itself
* embedded in another page as an iframe. The value should be an array of
* origins for ALL iframes that are ancestors of the Persona iframe.
*
* `window.target.origin` is provided by default.
*/
frameAncestors?: string[];
/**
* Allows specifying a custom target for `window.postMessage` from the

@@ -162,3 +173,4 @@ * Persona app, which defaults to the iframe origin.

* This is REQUIRED when the page that embeds the Persona widget is itself
* embedded in another page.
* embedded in another page as an iframe. The value should be the origin where
* the Persona SDK is mounted.
*/

@@ -165,0 +177,0 @@ messageTargetOrigin?: string;

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

@@ -5,0 +5,0 @@ "main": "./dist/persona.js",

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

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