@tuwaio/pulsar-core 1.0.0-fix-orbit-integration-alpha.19.e32e4d9 → 1.0.0-fix-docs-alpha.2.7925691
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 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
# Pulsar
|
|
1
|
+
# Pulsar
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@tuwaio/pulsar-core)
|
|
4
3
|
[](./LICENSE)
|
|
5
4
|
[](https://github.com/TuwaIO/pulsar-core/actions)
|
|
6
5
|
|
|
6
|
+
<img src="https://raw.githubusercontent.com/TuwaIO/workflows/refs/heads/main/preview/repos/pulsar_core.png" alt="Pulsar Core" width="400" style="border-radius: 10px; text-align: center; margin-bottom: 20px; margin-top: 20px; margin-left: auto; margin-right: auto; display: block;" />
|
|
7
|
+
|
|
7
8
|
The core, framework-agnostic engine for real-time tracking of Web3 transaction lifecycles (pending, success, failed, replaced).
|
|
8
9
|
|
|
9
10
|
---
|
|
@@ -94,7 +95,7 @@ The `createPulsarStore` function returns a vanilla Zustand store with the follow
|
|
|
94
95
|
|
|
95
96
|
#### **Actions**
|
|
96
97
|
|
|
97
|
-
- `
|
|
98
|
+
- `executeTxAction(params)`: The primary, all-in-one function for initiating, sending, and tracking a new transaction. This is the main action you will use.
|
|
98
99
|
- `initializeTransactionsPool()`: An async function to re-initialize trackers for any pending transactions found in storage. **This is crucial for resuming tracking after a page reload.**
|
|
99
100
|
- `addTxToPool(tx)`: Adds a new transaction directly to the tracking pool.
|
|
100
101
|
- `updateTxParams(txKey, fields)`: Updates one or more properties of an existing transaction in the pool.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/pulsar-core",
|
|
3
|
-
"version": "1.0.0-fix-
|
|
3
|
+
"version": "1.0.0-fix-docs-alpha.2.7925691",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"zustand": "5.x.x"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tuwaio/orbit-core": "^0.1.
|
|
49
|
+
"@tuwaio/orbit-core": "^0.1.1",
|
|
50
50
|
"dayjs": "^1.11.18",
|
|
51
|
-
"immer": "^10.
|
|
51
|
+
"immer": "^10.2.0",
|
|
52
52
|
"tsup": "^8.5.0",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
54
|
"zustand": "^5.0.8"
|