@novasamatech/host-api 0.7.6 → 0.7.8-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/dist/transport.js +2 -0
- package/package.json +2 -2
package/dist/transport.js
CHANGED
|
@@ -171,6 +171,8 @@ export function createTransport(provider) {
|
|
|
171
171
|
handler(payload.value).then(result => {
|
|
172
172
|
const responseMessage = enumValue(responseAction, result);
|
|
173
173
|
transport.postMessage(requestId, responseMessage);
|
|
174
|
+
}, (error) => {
|
|
175
|
+
provider.logger.error(`handleRequest: handler for "${method}" rejected`, error);
|
|
174
176
|
});
|
|
175
177
|
});
|
|
176
178
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novasamatech/host-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.8-0",
|
|
5
5
|
"description": "Host API: transport implementation for host - product integration.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@novasamatech/scale": "0.7.
|
|
25
|
+
"@novasamatech/scale": "0.7.8-0",
|
|
26
26
|
"nanoevents": "9.1.0",
|
|
27
27
|
"nanoid": "5.1.9",
|
|
28
28
|
"neverthrow": "^8.2.0",
|