@novasamatech/host-container 0.5.4-7 → 0.5.4-9
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/createContainer.js +1 -2
- package/package.json +2 -2
package/dist/createContainer.js
CHANGED
|
@@ -259,7 +259,7 @@ export function createContainer(provider) {
|
|
|
259
259
|
},
|
|
260
260
|
handleChainConnection(factory) {
|
|
261
261
|
init();
|
|
262
|
-
return transport.handleSubscription('jsonrpc_message_subscribe', (params, send
|
|
262
|
+
return transport.handleSubscription('jsonrpc_message_subscribe', (params, send) => {
|
|
263
263
|
assertEnumVariant(params, 'v1', UNSUPPORTED_MESSAGE_FORMAT_ERROR);
|
|
264
264
|
const genesisHash = params.value;
|
|
265
265
|
const provider = factory(params.value);
|
|
@@ -273,7 +273,6 @@ export function createContainer(provider) {
|
|
|
273
273
|
unsubRequests();
|
|
274
274
|
unsubscribeDestroy();
|
|
275
275
|
connection.disconnect();
|
|
276
|
-
interrupt();
|
|
277
276
|
});
|
|
278
277
|
const unsubRequests = transport.handleRequest('jsonrpc_message_send', async (message) => {
|
|
279
278
|
assertEnumVariant(message, 'v1', UNSUPPORTED_MESSAGE_FORMAT_ERROR);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novasamatech/host-container",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.4-
|
|
4
|
+
"version": "0.5.4-9",
|
|
5
5
|
"description": "Host container for hosting and managing products within the Polkadot ecosystem.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@polkadot-api/utils": "^0.2.0",
|
|
30
30
|
"@polkadot-api/json-rpc-provider": "^0.0.4",
|
|
31
|
-
"@novasamatech/host-api": "0.5.4-
|
|
31
|
+
"@novasamatech/host-api": "0.5.4-9",
|
|
32
32
|
"nanoid": "5.1.6"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|