@pollar/react 0.10.1-rc.1 → 0.10.1-rc.11

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
@@ -244,19 +244,19 @@ provider:
244
244
  Every modal mounts itself when its `openXModal()` action is called. You don't need to render these directly — they're
245
245
  already wired inside `<PollarProvider>` — but they're exported in case you want to mount them yourself.
246
246
 
247
- | Component | Purpose |
248
- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
249
- | `<WalletButton>` | Drop-in button. Opens login when signed out; signed in, shows the wallet address with a dropdown (Send, Receive, copy address, balance, history, ramp, KYC, distribution rules, sessions, sign out). Inline arc spinner during in-progress transactions |
250
- | `<SendModal>` | Full send flow: asset picker, amount, destination, inline build > sign > success/error |
251
- | `<SwapModal>` | On-chain asset-to-asset swap: pick from/to assets and amount, quote across venues, execute (auto-trustline on the buy asset when needed) |
252
- | `<ReceiveModal>` | Wallet address as QR code with copy-to-clipboard (no external QR dependency required) |
253
- | `<TxHistoryModal>` | Paginated transaction history with auto-fetch on open and stellar.expert explorer links |
254
- | `<WalletBalanceModal>` | Stellar account balances with refresh button |
255
- | `<EnabledAssetsModal>` | The application's dashboard-enabled assets with per-asset trustline state; establish/remove trustlines |
256
- | `<DistributionRulesModal>` | Manage the wallet's distribution rules |
257
- | `<SessionsModal>` | **New in 0.7.0.** Lists every active refresh-token family for the current user with device metadata, marks the local session, per-row revoke, and a "Sign out everywhere" button |
258
- | `<KycModal>` | Identity verification flow - provider selection + status polling _(UI preview - backend coming soon)_ |
259
- | `<RampWidget>` | Buy/sell crypto via SEP-24 - direction tabs, route comparison, payment instructions (wired to `client.createOnRamp` / `client.createOffRamp`) |
247
+ | Component | Purpose |
248
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
249
+ | `<WalletButton>` | Drop-in button. Opens login when signed out; signed in, shows the wallet address with a dropdown (Send, Receive, copy address, balance, history, ramp, KYC, distribution rules, sessions, sign out). Inline arc spinner during in-progress transactions |
250
+ | `<SendModal>` | Full send flow: asset picker, amount, destination, inline build > sign > success/error |
251
+ | `<SwapModal>` | On-chain asset-to-asset swap: pick from/to assets and amount, quote across venues, execute (auto-trustline on the buy asset when needed) |
252
+ | `<ReceiveModal>` | Wallet address as QR code with copy-to-clipboard (no external QR dependency required) |
253
+ | `<TxHistoryModal>` | Paginated transaction history with auto-fetch on open and stellar.expert explorer links |
254
+ | `<WalletBalanceModal>` | Stellar account balances with refresh button |
255
+ | `<EnabledAssetsModal>` | The application's dashboard-enabled assets with per-asset trustline state; establish/remove trustlines |
256
+ | `<DistributionRulesModal>` | Manage the wallet's distribution rules |
257
+ | `<SessionsModal>` | **New in 0.7.0.** Lists every active refresh-token family for the current user with device metadata, marks the local session, per-row revoke, and a "Sign out everywhere" button |
258
+ | `<KycModal>` | Identity verification flow - provider selection + status polling _(UI preview - backend coming soon)_ |
259
+ | `<RampWidget>` | Buy/sell crypto via SEP-24 - direction tabs, route comparison, payment instructions (wired to `client.createOnRamp` / `client.createOffRamp`) |
260
260
 
261
261
  ```tsx
262
262
  import { WalletButton } from '@pollar/react';
@@ -273,21 +273,21 @@ export function Header() {
273
273
  Every modal ships a pure presentational "template" companion — same name with a `Template` suffix. Use these when you
274
274
  want to swap the chrome but keep the data wiring from `usePollar()`.
275
275
 
276
- | Wrapper | Template |
277
- | ----------------------- | ------------------------------ |
278
- | `<WalletButton>` | `<WalletButtonTemplate>` |
279
- | _(internal LoginModal)_ | `<LoginModalTemplate>` |
280
- | `<SendModal>` | `<SendModalTemplate>` |
281
- | `<SwapModal>` | `<SwapModalTemplate>` |
282
- | `<ReceiveModal>` | `<ReceiveModalTemplate>` |
283
- | `<TransactionModal>` | `<TransactionModalTemplate>` |
284
- | `<TxHistoryModal>` | `<TxHistoryModalTemplate>` |
285
- | `<WalletBalanceModal>` | `<WalletBalanceModalTemplate>` |
286
- | `<EnabledAssetsModal>` | `<EnabledAssetsModalTemplate>` |
276
+ | Wrapper | Template |
277
+ | -------------------------- | ---------------------------------- |
278
+ | `<WalletButton>` | `<WalletButtonTemplate>` |
279
+ | _(internal LoginModal)_ | `<LoginModalTemplate>` |
280
+ | `<SendModal>` | `<SendModalTemplate>` |
281
+ | `<SwapModal>` | `<SwapModalTemplate>` |
282
+ | `<ReceiveModal>` | `<ReceiveModalTemplate>` |
283
+ | `<TransactionModal>` | `<TransactionModalTemplate>` |
284
+ | `<TxHistoryModal>` | `<TxHistoryModalTemplate>` |
285
+ | `<WalletBalanceModal>` | `<WalletBalanceModalTemplate>` |
286
+ | `<EnabledAssetsModal>` | `<EnabledAssetsModalTemplate>` |
287
287
  | `<DistributionRulesModal>` | `<DistributionRulesModalTemplate>` |
288
- | `<KycModal>` | `<KycModalTemplate>` |
289
- | `<RampWidget>` | `<RampWidgetTemplate>` |
290
- | `<SessionsModal>` | `<SessionsModalTemplate>` |
288
+ | `<KycModal>` | `<KycModalTemplate>` |
289
+ | `<RampWidget>` | `<RampWidgetTemplate>` |
290
+ | `<SessionsModal>` | `<SessionsModalTemplate>` |
291
291
 
292
292
  `<TxStatusView>` is the shared status component (build → sign → success/error) reused by `TransactionModal` and
293
293
  `SendModal`; it's exported on its own for consumers that want to embed the lifecycle elsewhere.