@pioneer-platform/pioneer-events 8.10.0 → 8.12.0
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 +17 -0
- package/lib/index.js +10 -0
- package/package.json +3 -3
- 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,22 @@
|
|
|
1
1
|
# @pioneer-platform/pioneer-events
|
|
2
2
|
|
|
3
|
+
## 8.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Merge branch 'feature/ethereum-reports'
|
|
8
|
+
|
|
9
|
+
## 8.11.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- Automated minor version bump for all packages
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @pioneer-platform/pioneer-types@8.11.0
|
|
19
|
+
|
|
3
20
|
## 8.10.0
|
|
4
21
|
|
|
5
22
|
### 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.0",
|
|
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.
|
|
17
|
+
"@pioneer-platform/pioneer-types": "^8.11.0",
|
|
18
18
|
"@types/node": "^18.15.11",
|
|
19
19
|
"cookie": "^1.0.2",
|
|
20
20
|
"dotenv": "^16.4.7",
|