
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
persona-vue
Advanced tools
The official Vue bindings for the Persona Inquiry JavaScript SDK.
The module provides Vue bindings for the Persona embedded flow.
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>
Please see Contributing for guidelines and instructions for local development.
FAQs
Vue bindings for the Persona Inquiry Flow JavaScript SDK.
The npm package persona-vue receives a total of 5 weekly downloads. As such, persona-vue popularity was classified as not popular.
We found that persona-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.