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

@xyo-network/event-kit-schemas

v0.1.9

Published

Wake envelope, grant object, and JWT profile schema constants for XL1 Event Kit

Downloads

3,704

Readme

@xyo-network/event-kit-schemas

Canonical schema constants and Zod guards for XL1 Event Kit:

  • wake Payload (network.xyo.event.wake.envelope)
  • wake grant object with a required random grantId (network.xyo.event.wake.grant)
  • wake JWT payload schema (network.xyo.event.wake.jwt)
  • publisher service and dedicated encryption-key descriptors
  • encrypted subscriptions and their clear HPKE routing envelope
  • endpoint challenge requests/responses and publisher acceptances
  • exact lifecycle revocations for services, keys, subscriptions, and acceptances

The D-002 schema tranche treats the wake object as a strict XYO Payload, requires a 16-byte lowercase-hex wakeId, and limits Payload/JWT numeric fields to nonnegative JSON safe integers. Strict wallet-JWT header and payload schemas validate the exact initial encodings before protocol code applies cryptographic, time-relative, address-equality, audience-equality, and replay checks.

Event Kit has one source-aware contract with unversioned schema identifiers. Strict parsers reject version suffixes and the head-only envelope shape. D-005 handshake guards enforce exclusive block expiries, linear revision links, canonical base64url sizes, and the supported delivery/challenge/HPKE profiles.

WakeSourceZod and WakeEnvelopeZod support finalized XL1, finalized Ethereum, and named UTC interval schedules. Ethereum identity includes its decimal chain ID and genesis hash; interval identity includes schedule ID, anchor, and duration. authorizationChainId identifies the independent XL1 authority chain; fromPosition and toPosition are inclusive source positions. The helper completedUtcIntervalPosition returns no head before the first interval ends. Publisher services advertise exact sources, and encrypted subscription filters bind the source, first position, and maximum range.

See D-001, the D-002 wallet profile, the D-005 handshake profile, and the Yellow Paper.