@wallet-ui/core 2.0.0 → 2.1.0-canary-20251108194245

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.
Files changed (2) hide show
  1. package/README.md +16 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -5,10 +5,22 @@
5
5
 
6
6
  [code-style-prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
7
7
  [code-style-prettier-url]: https://github.com/prettier/prettier
8
- [npm-downloads-image]: https://img.shields.io/npm/dm/@wallet-ui/react/latest.svg?style=flat
9
- [npm-image]: https://img.shields.io/npm/v/@wallet-ui/react/latest.svg?style=flat
10
- [npm-url]: https://www.npmjs.com/package/@wallet-ui/react/v/latest
8
+ [npm-downloads-image]: https://img.shields.io/npm/dm/@wallet-ui/core/latest.svg?style=flat
9
+ [npm-image]: https://img.shields.io/npm/v/@wallet-ui/core/latest.svg?style=flat
10
+ [npm-url]: https://www.npmjs.com/package/@wallet-ui/core/v/latest
11
11
 
12
12
  # @wallet-ui/core
13
13
 
14
- Wallet UI core.
14
+ `@wallet-ui/core` is the framework-agnostic foundation of Wallet UI. It provides the necessary building blocks for state management and configuration that power the UI components and hooks in other packages like `@wallet-ui/react`.
15
+
16
+ ## Core Features
17
+
18
+ - **State Management:** Uses [Nanostores](https://github.com/nanostores/nanostores) to create and manage the global state for the selected wallet, account, and cluster.
19
+ - **Persistence:** Handles saving the user's wallet and cluster selection to `localStorage`, so their choices are remembered across sessions.
20
+ - **Configuration:** Provides helper functions (e.g., `createSolanaDevnet`) for defining the clusters your application will support.
21
+
22
+ ## Usage
23
+
24
+ This package is generally used as a peer dependency of a framework-specific adapter like `@wallet-ui/react` and is not typically installed or used directly.
25
+
26
+ For complete documentation, please visit [wallet-ui.dev/docs/core](https://wallet-ui.dev/docs/core).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallet-ui/core",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-canary-20251108194245",
4
4
  "description": "Wallet UI core",
5
5
  "exports": {
6
6
  "edge-light": {
@@ -62,7 +62,7 @@
62
62
  "nanostores": "1.0.1"
63
63
  },
64
64
  "peerDependencies": {
65
- "@solana/kit": "^2.3.0"
65
+ "@solana/kit": "^5.0.0"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=20.18.0"