hyperstack-react 0.1.2 → 0.1.3
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 +4 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Hyperstack React SDK
|
|
2
2
|
|
|
3
|
-
TypeScript SDK for real-time Solana program data streaming from hyperstack
|
|
3
|
+
TypeScript React SDK for real-time Solana program data streaming from hyperstack
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install hyperstack-react
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Peer Dependencies
|
|
12
|
-
|
|
13
|
-
This package requires:
|
|
14
|
-
- `react` ^18.0.0
|
|
15
|
-
- `zustand` ^4.0.0
|
|
16
|
-
|
|
17
11
|
## Usage
|
|
18
12
|
|
|
19
13
|
### Basic Setup
|
|
20
14
|
|
|
21
15
|
```tsx
|
|
22
|
-
import { HyperstackProvider, useHyperstack, defineStack } from '
|
|
16
|
+
import { HyperstackProvider, useHyperstack, defineStack } from 'hyperstack-react';
|
|
23
17
|
|
|
24
18
|
const myStack = defineStack({
|
|
25
19
|
// Your stack configuration
|