npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@valifysolutions/react-native-vidvauth

v4.0.4

Published

React Native bridge for the VIDV Auth SDK 4.x (Digital Identity Auth API v2, password + SSO authorization_code / user_assertion)

Readme

@valifysolutions/react-native-vidvauth

React Native bridge for the VIDV Auth SDK 4.0.2 — Valify Digital Identity Auth API v2, with password and SSO (federated) flows.

Version: 4.0.4 · Native Android: com.vidv:vidvauthsdk:4.0.2 · Native iOS: VIDVAuth ~> 4.0.4 (CocoaPods)

Features

  • Turbo Module bridge (Android and iOS aligned to Auth SDK 4.0.2)
  • Required bundle_key + client_assertion
  • SSO: user_assertion or authorization_code + code_verifier
  • No builder user_reference_id — returned by /auth/start
  • Optional post-auth (digital contract)
  • Typed results + JS-side argument validation
  • Example app aligned with the Android native demo

Docs

| Doc | Audience | |-----|----------| | docs/INTEGRATOR_GUIDE.md | App integrators (JS + Android) | | docs/IOS_MODULE_ALIGNMENT.md | iOS alignment record + known gaps | | docs/SSO.md | Federated grants | | docs/RESPONSE_HANDLING.md | Result envelopes | | docs/RUN_GUIDE.md | Running the example |

Installation

npm install @valifysolutions/[email protected]

Android needs the Valify Maven repo and host activities — see the integrator guide. Request location before start() on Android.

Usage

Password

import { VIDVAuth } from '@valifysolutions/react-native-vidvauth';

const result = await new VIDVAuth().start({
  base_url: 'https://di.valifystage.com',
  bundle_key: 'YOUR_BUNDLE_KEY',
  language: 'en',
  client_assertion: assertionFromYourBackend,
  security_type: 'password',
  recovery_type: 'security_question',
});

SSO — user assertion

await new VIDVAuth().start({
  base_url: 'https://di.valifystage.com',
  bundle_key: 'YOUR_BUNDLE_KEY',
  language: 'en',
  client_assertion: assertionFromYourBackend,
  user_assertion: userJwtFromYourBackend,
});

SSO — authorization code

await new VIDVAuth().start({
  base_url: 'https://di.valifystage.com',
  bundle_key: 'YOUR_BUNDLE_KEY',
  language: 'en',
  client_assertion: assertionFromYourBackend,
  authorization_code: codeFromYourIdP,
  code_verifier: pkceVerifier,
});

Security: mint client_assertion / user_assertion on your backend. Never ship the client secret.

Required builder / start inputs

| Field | Required | |-------|----------| | base_url | Yes | | bundle_key | Yes | | language | Yes (en | ar) | | client_assertion | Yes | | user_assertion or (authorization_code + code_verifier) | Optional SSO (exclusive) |

Run the local example

npm install
npm run example:start
npm run example:android

Project layout

crossplatform-react-vidvauth/
├── android/     # Turbo Module → VIDVAuthConfig (4.0.2)
├── ios/         # Swift bridge → VIDVAuthBuilder (4.0.4)
├── src/         # JS/TS API
├── example/     # Demo (parity with Android MainActivity)
└── docs/        # Integrator + iOS alignment guides