You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

persona-vue

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

persona-vue

Vue bindings for the Persona Inquiry Flow JavaScript SDK.

1.2.0
latest
npmnpm
Version published
Weekly downloads
5
400%
Maintainers
1
Weekly downloads
 
Created
Source

Persona Inquiry Vue SDK

The official Vue bindings for the Persona Inquiry JavaScript SDK.

Table of Contents

Documentation

The module provides Vue bindings for the Persona embedded flow.

Getting Started

npm install persona-vue

To open the flow you must use the default export.

<script setup lang="ts">
import PersonaVue from 'persona-vue';

const onComplete = ({ inquiryId, status, fields }) => {
  console.log('onComplete', { inquiryId, status, fields });
};

const onCancel = ({ inquiryId, sessionToken }) => {
  console.log('onCancel', { inquiryId, sessionToken });
};

const onError = (error) => {
  console.log('onError', error);
};
</script>

<template>
  <PersonaVue
    template-id="itmpl_Ygs16MKTkA6obnF8C3Rb17dm"
    environment="sandbox"
    @complete="onComplete"
    @cancel="onCancel"
    @error="onError"
  />
</template>

Contributing

Please see Contributing for guidelines and instructions for local development.

License

MIT

FAQs

Package last updated on 26 Jun 2025

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