@topazdex/id-connect 0.1.0 → 0.1.2
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 +6 -0
- package/dist/rainbow-kit.d.cts +1 -2
- package/dist/rainbow-kit.d.ts +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ Your app is the *requester* and references Topaz ID's public app id — that's t
|
|
|
10
10
|
whole integration. You don't need a Privy account, and your domain does **not**
|
|
11
11
|
need to be allowlisted by Topaz ID.
|
|
12
12
|
|
|
13
|
+
## Demo
|
|
14
|
+
|
|
15
|
+
See it live: **[topaz-id-demo.vercel.app](https://topaz-id-demo.vercel.app)** — a
|
|
16
|
+
Next.js + RainbowKit app demonstrating connect, profile display, and signing.
|
|
17
|
+
Source: [topazdex/topaz-id-connect-demo](https://github.com/topazdex/topaz-id-connect-demo).
|
|
18
|
+
|
|
13
19
|
## Install
|
|
14
20
|
|
|
15
21
|
```bash
|
package/dist/rainbow-kit.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as wagmi from 'wagmi';
|
|
2
1
|
import * as _rainbow_me_rainbowkit from '@rainbow-me/rainbowkit';
|
|
3
2
|
import * as viem from 'viem';
|
|
4
3
|
|
|
@@ -71,7 +70,7 @@ declare function topazIdWallet(options?: TopazIdConnectorOptions): () => _rainbo
|
|
|
71
70
|
* A plain wagmi connector for Topaz ID — no RainbowKit required. Add to
|
|
72
71
|
* `createConfig({ connectors: [topazIdConnector()] })`.
|
|
73
72
|
*/
|
|
74
|
-
declare function topazIdConnector(options?: TopazIdConnectorOptions):
|
|
73
|
+
declare function topazIdConnector(options?: TopazIdConnectorOptions): _wagmi_core.CreateConnectorFn<{
|
|
75
74
|
on: <event extends keyof viem.EIP1193EventMap>(event: event, listener: viem.EIP1193EventMap[event]) => void;
|
|
76
75
|
removeListener: <event extends keyof viem.EIP1193EventMap>(event: event, listener: viem.EIP1193EventMap[event]) => void;
|
|
77
76
|
request: viem.EIP1193RequestFn<viem.EIP1474Methods>;
|
package/dist/rainbow-kit.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as wagmi from 'wagmi';
|
|
2
1
|
import * as _rainbow_me_rainbowkit from '@rainbow-me/rainbowkit';
|
|
3
2
|
import * as viem from 'viem';
|
|
4
3
|
|
|
@@ -71,7 +70,7 @@ declare function topazIdWallet(options?: TopazIdConnectorOptions): () => _rainbo
|
|
|
71
70
|
* A plain wagmi connector for Topaz ID — no RainbowKit required. Add to
|
|
72
71
|
* `createConfig({ connectors: [topazIdConnector()] })`.
|
|
73
72
|
*/
|
|
74
|
-
declare function topazIdConnector(options?: TopazIdConnectorOptions):
|
|
73
|
+
declare function topazIdConnector(options?: TopazIdConnectorOptions): _wagmi_core.CreateConnectorFn<{
|
|
75
74
|
on: <event extends keyof viem.EIP1193EventMap>(event: event, listener: viem.EIP1193EventMap[event]) => void;
|
|
76
75
|
removeListener: <event extends keyof viem.EIP1193EventMap>(event: event, listener: viem.EIP1193EventMap[event]) => void;
|
|
77
76
|
request: viem.EIP1193RequestFn<viem.EIP1474Methods>;
|