@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 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
@@ -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): wagmi.CreateConnectorFn<{
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>;
@@ -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): wagmi.CreateConnectorFn<{
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topazdex/id-connect",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Add Topaz ID — a BNB Chain global wallet — to your dapp in one line.",
5
5
  "license": "MIT",
6
6
  "type": "module",