@cordystackx/cordy_minikit 2.0.0 → 2.0.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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -526,7 +526,7 @@ Example: close wallet modal after successful connection:
|
|
|
526
526
|
|
|
527
527
|
│ Note: useWalletStatus() is a React hook. Call it only at the top level of a client component or another hook.
|
|
528
528
|
|
|
529
|
-
### 7 Wallet Connection Components
|
|
529
|
+
### 7. Wallet Connection Components
|
|
530
530
|
|
|
531
531
|
#### `WalletButton`
|
|
532
532
|
|
|
@@ -598,7 +598,7 @@ export default function StellarConnect() {
|
|
|
598
598
|
/>
|
|
599
599
|
);
|
|
600
600
|
}
|
|
601
|
-
```
|
|
601
|
+
```
|
|
602
602
|
|
|
603
603
|
Props:
|
|
604
604
|
|
|
@@ -628,8 +628,7 @@ Conditions:
|
|
|
628
628
|
- Runs only in the browser
|
|
629
629
|
- Requires Freighter wallet extension/app access
|
|
630
630
|
- Requires user approval in Freighter
|
|
631
|
-
- For testnet apps, Freighter should be set to the matching testnet network
|
|
632
|
-
```
|
|
631
|
+
- For testnet apps, Freighter should be set to the matching testnet network
|
|
633
632
|
|
|
634
633
|
Small improvement for `WalletButton`: after successful connect, you may want to notify parent explicitly:
|
|
635
634
|
|
|
@@ -642,8 +641,9 @@ right after:
|
|
|
642
641
|
```ts
|
|
643
642
|
await connectAsync({ connector });
|
|
644
643
|
```
|
|
645
|
-
|
|
646
|
-
Not required, but cleaner
|
|
644
|
+
|
|
645
|
+
`Not required, but cleaner.`
|
|
646
|
+
|
|
647
647
|
---
|
|
648
648
|
|
|
649
649
|
## 🏗️ Architecture Overview
|