@thurinlabs/identity-kit 0.1.0 → 0.2.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 +18 -0
- package/dist/embed.global.js +40073 -0
- package/dist/embed.global.js.map +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -7
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -127,6 +127,24 @@ import '@thurinlabs/identity-kit/styles'
|
|
|
127
127
|
|
|
128
128
|
Hooks-only consumers don't need to import styles.
|
|
129
129
|
|
|
130
|
+
## Embed (No React Required)
|
|
131
|
+
|
|
132
|
+
For static sites, Jekyll blogs, WordPress, or any HTML page — use the standalone embed script. No React, no bundler, no config.
|
|
133
|
+
|
|
134
|
+
```html
|
|
135
|
+
<div data-scry-card="bendoubleu.eth" data-theme="thurin"></div>
|
|
136
|
+
<div data-scry-card="0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" data-theme="dark"></div>
|
|
137
|
+
|
|
138
|
+
<script src="https://cdn.jsdelivr.net/npm/@thurinlabs/identity-kit/dist/embed.global.js"></script>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
| Attribute | Description |
|
|
142
|
+
|-----------|-------------|
|
|
143
|
+
| `data-scry-card` | ENS name or ETH address to look up (required) |
|
|
144
|
+
| `data-theme` | `thurin`, `dark`, or `light` (default: `thurin`) |
|
|
145
|
+
|
|
146
|
+
The script bundles everything (React, wagmi, viem) internally. Cards render automatically on page load and for dynamically added elements.
|
|
147
|
+
|
|
130
148
|
## Supported Proof Providers
|
|
131
149
|
|
|
132
150
|
| Provider | Proof Method |
|