@blocklet/sdk 1.16.13-beta-55b3e93d → 1.16.13-next-49f83c002
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.
|
@@ -85,8 +85,11 @@ const broadcast = async (notification, options = {}) => {
|
|
|
85
85
|
return (0, send_notification_1.sendToAppChannel)(channel, event, notification, sender, process.env.ABT_NODE_SERVICE_PORT, options);
|
|
86
86
|
};
|
|
87
87
|
exports.broadcast = broadcast;
|
|
88
|
+
const noop = () => { };
|
|
88
89
|
const emitter = new events_1.default();
|
|
89
90
|
const messageEmitter = new events_1.default();
|
|
91
|
+
emitter.on('error', noop);
|
|
92
|
+
messageEmitter.on('error', noop);
|
|
90
93
|
const emitError = (error) => {
|
|
91
94
|
messageEmitter.emit('error', error);
|
|
92
95
|
emitter.emit('error', error);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.13-
|
|
6
|
+
"version": "1.16.13-next-49f83c002",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@abtnode/client": "1.16.
|
|
30
|
-
"@abtnode/constant": "1.16.
|
|
29
|
+
"@abtnode/client": "1.16.12",
|
|
30
|
+
"@abtnode/constant": "1.16.12",
|
|
31
31
|
"@arcblock/did": "1.18.84",
|
|
32
32
|
"@arcblock/did-auth": "1.18.84",
|
|
33
33
|
"@arcblock/jwt": "1.18.84",
|
|
34
34
|
"@arcblock/ws": "1.18.84",
|
|
35
|
-
"@blocklet/constant": "1.16.
|
|
36
|
-
"@blocklet/env": "1.16.
|
|
37
|
-
"@blocklet/meta": "1.16.
|
|
35
|
+
"@blocklet/constant": "1.16.12",
|
|
36
|
+
"@blocklet/env": "1.16.12",
|
|
37
|
+
"@blocklet/meta": "1.16.12",
|
|
38
38
|
"@did-connect/authenticator": "^2.1.59",
|
|
39
39
|
"@did-connect/handler": "^2.1.59",
|
|
40
40
|
"@nedb/core": "^2.1.5",
|
|
@@ -72,6 +72,5 @@
|
|
|
72
72
|
"ts-jest": "^27.1.5",
|
|
73
73
|
"ts-node": "^10.9.1",
|
|
74
74
|
"typescript": "^5.0.4"
|
|
75
|
-
}
|
|
76
|
-
"gitHead": "1c734de99ff70fad99e9cc3fb55834e0bb6f5bfd"
|
|
75
|
+
}
|
|
77
76
|
}
|