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

@transmitsecurity/platform-web-sdk

v1.18.3

Published

Transmit Security Web SDK - Browser-only authentication and identity verification

Downloads

511

Readme

Transmit Security Platform Web SDK

A comprehensive browser-based identity and security solution with fraud prevention, WebAuthn authentication, identity verification, and orchestration capabilities.

Installation

NPM Package (Recommended)

npm install @transmitsecurity/platform-web-sdk

Usage Patterns

Individual Module Imports (Recommended)

For optimal bundle sizes and performance, import only the modules you need:

// Option 1: Individual function imports (best for tree-shaking)
import { triggerActionEvent, setUser, clearUser, initialize } from '@transmitsecurity/platform-web-sdk/drs';
import { isPlatformAuthenticatorSupported, register } from '@transmitsecurity/platform-web-sdk/webauthn';
import { start } from '@transmitsecurity/platform-web-sdk/idv';

// Use modules (syntax depends on import method)
// Option 1: Direct function calls
await triggerActionEvent('login', { correlationId: 'example' });
await setUser({ userId: 'user123' });
const isSupported = await isPlatformAuthenticatorSupported();

// Option 2: Namespace calls
await drs.triggerActionEvent('login', { correlationId: 'example' });
await drs.setUser({ userId: 'user123' });
const isSupported = await webauthn.isPlatformAuthenticatorSupported();
import { ido, ClientResponseOptionType } from '@transmitsecurity/platform-web-sdk/ido';
import { initialize } from '@transmitsecurity/platform-web-sdk';

// Initialize
await initialize({
    clientId: 'your-client-id',
    ido: { serverPath: 'https://api.transmitsecurity.io' }
});

// IDO usage
await ido.startJourney('journey-id');
await ido.submitClientResponse(
    ClientResponseOptionType.ClientInput,
    { userEmail: '[email protected]' }
);

TypeScript Support

Full TypeScript support with individual module imports:

import { triggerActionEvent, setUser } from '@transmitsecurity/platform-web-sdk/drs';
import { isPlatformAuthenticatorSupported } from '@transmitsecurity/platform-web-sdk/webauthn';
import { start } from '@transmitsecurity/platform-web-sdk/idv';
import { ido } from '@transmitsecurity/platform-web-sdk/ido';
import { initialize } from '@transmitsecurity/platform-web-sdk';

// Initialize with TypeScript types
await initialize({
    clientId: 'your-client-id',
    drs: { serverPath: 'https://api.transmitsecurity.io/risk-collect/' },
    webauthn: { serverPath: 'https://api.transmitsecurity.io' },
    idv: { serverPath: 'https://api.transmitsecurity.io' },
    ido: { 
        serverPath: 'https://api.transmitsecurity.io',
    }
});

// Use with proper TypeScript types
await triggerActionEvent('login', { correlationId: 'example' });
const isSupported: boolean = await isPlatformAuthenticatorSupported();
await ido.default.submitClientResponse(
    ClientResponseOptionType.ClientInput,
    { userEmail: '[email protected]' }
);

Full SDK Import (Alternative)

If you need multiple modules, you can also import the full SDK:

import { drs, webauthn, idv, ido, initialize } from '@transmitsecurity/platform-web-sdk';

// Single initialize call for all modules
await initialize({
    clientId: 'your-client-id',
    drs: { serverPath: 'https://api.transmitsecurity.io/risk-collect/' },
    webauthn: { serverPath: 'https://api.transmitsecurity.io' },
    idv: { serverPath: 'https://api.transmitsecurity.io' },
    ido: { serverPath: 'https://api.transmitsecurity.io' }
});

// Use modules through the main object
await drs.triggerActionEvent('login', { correlationId: 'example' });