@tuwaio/quasar-sdk 1.0.0-fix-docs-alpha.4.494fbc9 → 1.0.0-fix-docs-alpha.5.7b4fa2d

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 +19 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,10 +15,13 @@ pnpm add @tuwaio/quasar-sdk ofetch
15
15
 
16
16
  ### Peer Dependencies
17
17
 
18
- | Package | Version |
19
- | --------------------- | --------- |
20
- | `@tuwaio/pulsar-core` | `>=0.6.0` |
21
- | `ofetch` | `>=1.5.1` |
18
+ | Package | Version | Requirement |
19
+ | --------------------- | --------- | ----------------------------------------- |
20
+ | `@tuwaio/pulsar-core` | `>=0.6.0` | **Required** (Core types) |
21
+ | `ofetch` | `>=1.5.1` | **Required** (Transport) |
22
+ | `viem` | `^2.0.0` | Optional (EVM Auth & Signing) |
23
+ | `gill` | `^0.14.0` | Optional (Solana Auth & Signing) |
24
+ | `zustand` | `^5.0.0` | Optional (Persistent Session Management) |
22
25
 
23
26
  ## Quick Start
24
27
 
@@ -43,6 +46,18 @@ const history = await quasar.pulsar.getHistory({ chainId: 1 });
43
46
  | `syncCreate(tx, appName?)` | Sync a new pending transaction to the cloud |
44
47
  | `getHistory(query?)` | Retrieve paginated transaction history with filters |
45
48
 
49
+ ### Utils — `utils`
50
+
51
+ Security and authentication utilities. These can be used as standalone functions (ideal for frontends).
52
+
53
+ | Method | Description |
54
+ | ------------------------------ | ------------------------------------------------------ |
55
+ | `createMiniSessionMessage(ts)` | Format a standard login message for signing |
56
+ | `signMiniSession(params)` | Trigger signature request in the connected wallet |
57
+ | `verifyMiniSession(params)` | Verify an EVM or Solana signature with expiration check |
58
+ | `createMiniSessionStore(name)` | Create a persistent Zustand store for session caching |
59
+ | `getMiniSessionAuth(conn, st)` | Reusable helper for signing and caching logic |
60
+
46
61
  ## Error Handling
47
62
 
48
63
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/quasar-sdk",
3
- "version": "1.0.0-fix-docs-alpha.4.494fbc9",
3
+ "version": "1.0.0-fix-docs-alpha.5.7b4fa2d",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",