@thurinlabs/identity-kit 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/chunk-NL4LHKJX.cjs +1857 -0
- package/dist/chunk-NL4LHKJX.cjs.map +1 -0
- package/dist/chunk-TAJWEWED.js +1857 -0
- package/dist/chunk-TAJWEWED.js.map +1 -0
- package/dist/core.cjs +75 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +1552 -0
- package/dist/core.d.ts +1552 -0
- package/dist/core.js +75 -0
- package/dist/core.js.map +1 -0
- package/dist/embed.global.js +16365 -16365
- package/dist/embed.global.js.map +1 -1
- package/dist/index.cjs +67 -1855
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1550
- package/dist/index.d.ts +4 -1550
- package/dist/index.js +38 -1826
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -126,6 +126,16 @@ const { keyInfo, proofs, isLoading } = usePGPProofs(fingerprint, attestation.pgp
|
|
|
126
126
|
|
|
127
127
|
`useThurinIdentity` wires this up for you from the current attestation.
|
|
128
128
|
|
|
129
|
+
## `@thurinlabs/identity-kit/core` — no React
|
|
130
|
+
|
|
131
|
+
Everything under "Core utilities" below is also published as its own entry point with no React, wagmi, or DOM dependency, for Node and worker consumers (the Thurin CLI and the share-card service use it):
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
import { verifyAttestation, parsePgpKey, getRegistry, chainFor } from '@thurinlabs/identity-kit/core'
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Runtime dependencies of this entry: `openpgp` (bundled dependency), `viem` (peer), and in Node `eckey-utils` (dependency) for secp256k1 keys.
|
|
138
|
+
|
|
129
139
|
## Core utilities (no React)
|
|
130
140
|
|
|
131
141
|
The verification and data logic is exported as plain functions — no React, no provider. This is the layer the thurin.id explorer and the hooks both build on; use it directly when you need the validated data behind your own UI.
|