@pioneer-platform/pioneer-events 8.11.0 → 8.12.2
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/.turbo/turbo-build.log +1 -2
- package/CHANGELOG.md +22 -0
- package/lib/index.js +10 -0
- package/package.json +4 -4
- package/lib/index.js.map +0 -69
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
[0m[2m[35m$[0m [2m[1mtsc -p .[0m
|
|
1
|
+
$ tsc -p .
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @pioneer-platform/pioneer-events
|
|
2
2
|
|
|
3
|
+
## 8.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: zcash working!
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @pioneer-platform/pioneer-types@8.11.4
|
|
10
|
+
|
|
11
|
+
## 8.12.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- chore: zcash working!
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @pioneer-platform/pioneer-types@8.11.3
|
|
18
|
+
|
|
19
|
+
## 8.12.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- Merge branch 'feature/ethereum-reports'
|
|
24
|
+
|
|
3
25
|
## 8.11.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/lib/index.js
CHANGED
|
@@ -100,6 +100,16 @@ var Events = /** @class */ (function () {
|
|
|
100
100
|
this.socket.on('invocation', function (message) {
|
|
101
101
|
_this.events.emit('message', message);
|
|
102
102
|
});
|
|
103
|
+
// Listen for balance streaming events (Phase 2b)
|
|
104
|
+
this.socket.on('balance:update', function (message) {
|
|
105
|
+
_this.events.emit('balance:update', message);
|
|
106
|
+
});
|
|
107
|
+
this.socket.on('sync:progress', function (message) {
|
|
108
|
+
_this.events.emit('sync:progress', message);
|
|
109
|
+
});
|
|
110
|
+
this.socket.on('sync:complete', function (message) {
|
|
111
|
+
_this.events.emit('sync:complete', message);
|
|
112
|
+
});
|
|
103
113
|
_a.label = 2;
|
|
104
114
|
case 2:
|
|
105
115
|
if (!!this.isConnected) return [3 /*break*/, 4];
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/pioneer-events",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.2",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
|
-
"types": "./lib/
|
|
5
|
+
"types": "./lib/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"npm": "pnpm i",
|
|
8
8
|
"test": "pnpm run build && node __tests__/test-module.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"refresh": "rm -rf ./node_modules ./package-lock.json && pnpm install"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@pioneer-platform/pioneer-types": "^8.11.
|
|
17
|
+
"@pioneer-platform/pioneer-types": "^8.11.4",
|
|
18
18
|
"@types/node": "^18.15.11",
|
|
19
19
|
"cookie": "^1.0.2",
|
|
20
20
|
"dotenv": "^16.4.7",
|
|
@@ -25,4 +25,4 @@
|
|
|
25
25
|
"wait-promise": "^0.4.1"
|
|
26
26
|
},
|
|
27
27
|
"gitHead": "aeae28273014ab69b42f22abec159c6693a56c40"
|
|
28
|
-
}
|
|
28
|
+
}
|