@volr/react-ui 0.2.0 → 0.2.1
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 +0 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -19,7 +19,6 @@ import { VolrUIProvider } from '@volr/react-ui';
|
|
|
19
19
|
import type { VolrUIConfig } from '@volr/react-ui';
|
|
20
20
|
|
|
21
21
|
const volrConfig: VolrUIConfig = {
|
|
22
|
-
defaultChainId: 8453,
|
|
23
22
|
projectApiKey: 'your-project-api-key',
|
|
24
23
|
appName: 'My App',
|
|
25
24
|
accentColor: '#3b82f6',
|
|
@@ -234,7 +233,6 @@ function DepositButton() {
|
|
|
234
233
|
|
|
235
234
|
| Prop | Type | Default | Description |
|
|
236
235
|
|------|------|---------|-------------|
|
|
237
|
-
| `config.defaultChainId` | `number` | **Required** | Default chain ID |
|
|
238
236
|
| `config.projectApiKey` | `string` | **Required** | Project API key |
|
|
239
237
|
| `config.appName` | `string` | **Required** | Application name |
|
|
240
238
|
| `config.accentColor` | `string` | `'#303030'` | Accent color for buttons |
|
|
@@ -427,7 +425,6 @@ function SendToken() {
|
|
|
427
425
|
|
|
428
426
|
```tsx
|
|
429
427
|
const volrConfig: VolrUIConfig = {
|
|
430
|
-
defaultChainId: 8453,
|
|
431
428
|
projectApiKey: 'your-api-key',
|
|
432
429
|
appName: 'My App',
|
|
433
430
|
enabledLoginMethods: ['email'],
|
|
@@ -438,7 +435,6 @@ const volrConfig: VolrUIConfig = {
|
|
|
438
435
|
|
|
439
436
|
```tsx
|
|
440
437
|
const volrConfig: VolrUIConfig = {
|
|
441
|
-
defaultChainId: 8453,
|
|
442
438
|
projectApiKey: 'your-api-key',
|
|
443
439
|
appName: 'My App',
|
|
444
440
|
enabledLoginMethods: ['social'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volr/react-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Volr React UI - UI components for Volr built on top of @volr/react",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@noble/hashes": "^2.0.1",
|
|
72
|
-
"@volr/react": "0.2.
|
|
73
|
-
"@volr/sdk-core": "0.2.
|
|
72
|
+
"@volr/react": "0.2.1",
|
|
73
|
+
"@volr/sdk-core": "0.2.1",
|
|
74
74
|
"axios": "^1.13.2",
|
|
75
75
|
"class-variance-authority": "^0.7.1",
|
|
76
76
|
"clsx": "^2.1.1",
|