@tuwaio/nova-connect 0.2.9 → 0.3.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 +9 -19
- package/dist/chunk-PSJ67NHK.cjs +2 -0
- package/dist/chunk-PXKZLOYO.cjs +1 -0
- package/dist/chunk-TMKU7PMN.js +2 -0
- package/dist/chunk-ZD4FCYAW.js +1 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +7560 -11
- package/dist/components/index.d.ts +7560 -11
- package/dist/components/index.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +41 -54
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +1 -1
- package/dist/{useWalletNativeBalance-DR8XONYI.d.ts → useWalletNativeBalance-BNbq75Hw.d.ts} +4 -0
- package/dist/{useWalletNativeBalance-rZ2GQ88f.d.cts → useWalletNativeBalance-C3-mg2mY.d.cts} +4 -0
- package/package.json +46 -46
- package/dist/chunk-U2HKJB6D.cjs +0 -2
- package/dist/chunk-V3D3HT6N.cjs +0 -1
- package/dist/chunk-XA3DA6RA.js +0 -1
- package/dist/chunk-YXB45D7C.js +0 -2
- package/dist/index-B9pJ-IAo.d.cts +0 -7457
- package/dist/index-BkbAcDWt.d.ts +0 -7457
package/README.md
CHANGED
|
@@ -34,21 +34,15 @@ Built on top of the Satellite Connect ecosystem, Nova Connect offers a unified i
|
|
|
34
34
|
### Requirements
|
|
35
35
|
|
|
36
36
|
- React 19+
|
|
37
|
-
- Node.js 20
|
|
37
|
+
- Node.js 20-24
|
|
38
38
|
- TypeScript 5.9+
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
# Using pnpm (recommended)
|
|
41
|
+
# Using pnpm (recommended), but you can use npm, yarn or bun as well
|
|
42
42
|
pnpm add @tuwaio/nova-connect @tuwaio/orbit-core @tuwaio/satellite-core @tuwaio/satellite-react @tuwaio/pulsar-core @tuwaio/nova-core zustand immer framer-motion react-toastify ethereum-blockies-base64 @emotion/is-prop-valid @web3icons/react @web3icons/common @heroicons/react @radix-ui/react-dialog @radix-ui/react-select
|
|
43
|
+
```
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
npm install @tuwaio/nova-connect @tuwaio/orbit-core @tuwaio/satellite-core @tuwaio/satellite-react @tuwaio/pulsar-core @tuwaio/nova-core zustand immer framer-motion react-toastify ethereum-blockies-base64 @emotion/is-prop-valid @web3icons/react @web3icons/common @heroicons/react @radix-ui/react-dialog @radix-ui/react-select
|
|
46
|
-
|
|
47
|
-
# Using yarn
|
|
48
|
-
yarn add @tuwaio/nova-connect @tuwaio/orbit-core @tuwaio/satellite-core @tuwaio/satellite-react @tuwaio/pulsar-core @tuwaio/nova-core zustand immer framer-motion react-toastify ethereum-blockies-base64 @emotion/is-prop-valid @web3icons/react @web3icons/common @heroicons/react @radix-ui/react-dialog @radix-ui/react-select
|
|
49
|
-
````
|
|
50
|
-
|
|
51
|
-
-----
|
|
45
|
+
---
|
|
52
46
|
|
|
53
47
|
## 🚀 Quick Start
|
|
54
48
|
|
|
@@ -69,10 +63,7 @@ import { injected } from '@wagmi/connectors';
|
|
|
69
63
|
import { mainnet, sepolia } from 'viem/chains';
|
|
70
64
|
import type { Chain } from 'viem/chains';
|
|
71
65
|
|
|
72
|
-
export const appEVMChains = [
|
|
73
|
-
mainnet,
|
|
74
|
-
sepolia,
|
|
75
|
-
] as readonly [Chain, ...Chain[]];
|
|
66
|
+
export const appEVMChains = [mainnet, sepolia] as readonly [Chain, ...Chain[]];
|
|
76
67
|
|
|
77
68
|
export const wagmiConfig = createConfig({
|
|
78
69
|
connectors: [injected()],
|
|
@@ -85,7 +76,6 @@ export const solanaRPCUrls = {
|
|
|
85
76
|
devnet: 'https://api.devnet.solana.com',
|
|
86
77
|
};
|
|
87
78
|
|
|
88
|
-
|
|
89
79
|
const queryClient = new QueryClient();
|
|
90
80
|
|
|
91
81
|
export function Providers({ children }: { children: ReactNode }) {
|
|
@@ -128,7 +118,7 @@ function App() {
|
|
|
128
118
|
}
|
|
129
119
|
```
|
|
130
120
|
|
|
131
|
-
|
|
121
|
+
---
|
|
132
122
|
|
|
133
123
|
## 🧩 Key Components
|
|
134
124
|
|
|
@@ -143,7 +133,7 @@ function App() {
|
|
|
143
133
|
- Customizable error handling.
|
|
144
134
|
- Flexible internationalization system.
|
|
145
135
|
|
|
146
|
-
|
|
136
|
+
---
|
|
147
137
|
|
|
148
138
|
## 🌍 Internationalization
|
|
149
139
|
|
|
@@ -161,10 +151,10 @@ const customLabels = {
|
|
|
161
151
|
<NovaConnectProvider
|
|
162
152
|
labels={customLabels}
|
|
163
153
|
// ... other props
|
|
164
|
-
|
|
154
|
+
/>;
|
|
165
155
|
```
|
|
166
156
|
|
|
167
|
-
|
|
157
|
+
---
|
|
168
158
|
|
|
169
159
|
## ♿ Accessibility
|
|
170
160
|
|