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

@sendity/client

v0.2.4

Published

Sendity Client browser integration for passwordless channel-control authentication.

Readme

@sendity/[email protected]

Framework-agnostic Sendity Custom Element for browser authentication challenges. Version 0.2.0 is the new incompatible Custom Element line; existing production integrations that need the 0.1 attribute/visual contract should stay pinned to 0.1.x.

Install

npm install @sendity/[email protected]

Import the package once in your frontend entrypoint:

import '@sendity/client'

Then render:

<sendity-auth public-key="pk_live_..."></sendity-auth>

Attributes

| Attribute | Required | Description | |---|---:|---| | public-key | yes | Public Sendity application key. | | server-url | no | API root. Defaults to https://sendity.io/api. | | lang | no | Supported locale such as en, de, fr, ar, he. | | transport | no | auto, polling, or push. Defaults to auto. | | authenticated-event-delay-ms | no | Delay before handoff/authenticated events. Defaults to 2000. | | variant="no-card" / no-card | no | Host-layout mode without the standalone card chrome. |

Removed 0.1 attributes such as verify-urls, session-handoff-url, footer, hide-footer, authenticity-details-url, and dkim-details-url are intentionally not part of the 0.2 public contract. Verification destinations and session_handoff_url are server-owned response data.

Server response contract

The create/status/authenticated responses may provide:

  • verify_urls / verifyUrls or verification_endpoints for channel destinations.
  • broadcasting metadata for Reverb/Pusher-compatible realtime transport.
  • session_handoff_url / sessionHandoffUrl for host-app session handoff. The 0.2 client only posts handoff tokens to same-origin URLs by default.

Events

The element emits bubbling/composed CustomEvents:

  • sendity:ready
  • sendity:challenge-created
  • sendity:state-change
  • sendity:verification-rejected
  • sendity:session-authenticated
  • sendity:authenticated
  • sendity:error

sendity:authenticated includes signedResult only when no same-origin session_handoff_url is used. After a successful handoff the public detail omits the signed token and includes handoff: "completed".

Assets and styling

0.2.0 inlines the Tailwind layer into the Shadow DOM at runtime from the package bundle, so consumers do not need to host a hard-coded /vendor/sendity-client/tailwind.css path. Component-specific styles are also scoped inside the Shadow DOM.