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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ideem/zsm-react-native

v2.5.0

Published

ZSM makes 2FA easy and invisible for everyone, all the time, using advanced cryptography like MPC to establish cryptographic proof of the origin of any transaction or login attempt, while eliminating opportunities for social engineering. ZSM has no relian

Readme

ZSM Client SDK for React Native

Contents

This SDK contains the resources needed to learn about Ideem's FIDO2 Authenticator and Universal MFA capabilities, and integrate them into your own React native applications. These resources include documentation and example applications.

NOTE: Prior to integrating the SDK into your own applications, please reach out to Ideem support, [email protected], to obtain configuration


Getting Started

Prerequisites

  1. React Native Version: >=0.60
  2. Node.js Version: >=12.0.0
  3. An Application ID from Ideem. Reach out to [email protected] to obtain one.

Installation

1. Install the Package

npm install @ideem/zsm-react-native

Or with Yarn:

yarn add @ideem/zsm-react-native

2. Link Native Modules

This library uses React Native's auto-linking. However, if manual linking is necessary:

  • iOS: Add the following to your Podfile:

    pod 'zsm-react-native', :path => '../node_modules/@ideem/zsm-react-native'

    Then run:

    cd ios && pod install
  • Android: No additional setup is required unless auto-linking is disabled.

3. Verify Installation

Check the library is correctly installed and linked:

react-native doctor

Usage

Basic Integration Example

Here’s how to initialize and use the SDK:

import { UMFAClient } from '@ideem/zsm-react-native';

const config = {
  application_id: 'YOUR_APPLICATION_ID',
  host_url: 'https://zsm-authenticator-demo.useideem.com/',
  application_environment: 'TEST',
  api_key: 'YOUR_API_KEY'
};

const client = new UMFAClient(config);

async function login(username) {
  try {
    const isEnrolled = await client.checkEnrollment(username);
    const token = isEnrolled
      ? await client.authenticate(username)
      : await client.enroll(username);

    console.log('Authentication Token:', token);
  } catch (error) {
    console.error('Error during authentication:', error.message);
  }
}

Example Application

You can find example applications in the examples/ directory. These include:

  1. Basic Authentication: Demonstrates login and enrollment.
  2. Payment Flow: Simulates payment using authentication.

To run an example, e.g. for the umfa example:

  1. Navigate to the example directory:
    cd examples/umfa
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm start

Troubleshooting

  • React Native Environment Issues: Ensure your environment is correctly configured for React Native. Refer to the React Native Environment Setup.

  • Native Dependency Issues:

    • Run pod install for iOS.
    • Verify your android/app/build.gradle for proper linking.

Documentation

Documentation can be viewed online at:

  • UMFA: https://docs.useideem.com/umfa_sdk/index.html.
  • FIDO2: https://docs.useideem.com/fido2_sdk/index.html.

Support

Support can be received by emailing [email protected] or accessing our Customer Support site at https://support.useideem.com


Legal

Copyright (C) Ideem, Inc. - All Rights Reserved

This source code and other resources included in this SDK are protected under international copyright law. All rights reserved and protected by the copyright holders.

The files included in this distribution are confidential and only available to authorized individuals with the permission of the copyright holders. If you encounter this file and do not have permission, please contact the copyright holders and delete this file.

This library is proprietary and licensed under Ideem's terms of use. Unauthorized use or distribution is prohibited.