Catalog npm
PACKAGE EXPLORERView in registry

@0xintuition/ids

npm

Deterministic content-addressable ID utilities for the Intuition protocol

content-addressingidsintuition
Versions collected1
Direct dependencies3From release 0.1.0-alpha.0
Last observed21 Oct, 08:57 UTC

README

Current package documentation

@0xintuition/ids

Deterministic content-addressable ID utilities for Intuition atoms, triples, counter-triples, OAuth atoms, and canonical predicate atom data.

Alpha status: publish under the alpha dist-tag after review. OAuth atom helpers are schema-host-gated on https://schema.intuition.systems/v1/oauth-atom.jsonld.

Runtime: ESM-only. This package does not publish CommonJS require entrypoints.

Install

bun add @0xintuition/ids@alpha viem

Peer dependency: viem ^2.0.0. Release smoke tests install viem@2.31.4.

Example

import { calculateAtomId, calculatePredicateId, createPredicateAtomData } from '@0xintuition/ids'

const atomId = calculateAtomId('hello intuition')

const followAtomData = createPredicateAtomData(
  'follow',
  'Directional subscription or tracking of the object entity'
)

const followPredicateId = calculatePredicateId(
  'follow',
  'Directional subscription or tracking of the object entity'
)

OAuth Atom Context

OAUTH_ATOM_CONTEXT is locked to https://schema.intuition.systems/v1/oauth-atom.jsonld. Serialized JSON and derived atom ID vectors are covered by tests because changes alter on-chain atom identity.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0-alpha.0Registry latest15 Jun 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xintuition/packages

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 08:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:76f6de15c80148b2b44d00595ead8ff2a1d97c4685fbd7cc12ad0054c3c25d66