@novasamatech/host-container 0.7.5-2 → 0.7.5-4

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.
@@ -96,7 +96,10 @@ export function createChainConnectionManager(factory, options = {}) {
96
96
  // chain-head ops issued before the papp refollows queue rather
97
97
  // than fail. Non-Stop errors get no recovery window — those are
98
98
  // genuine failures, not protocol-driven restarts.
99
+ // Explicit unfollow defends against substrate-client retaining
100
+ // pinnedBlocks/runtime past Stop.
99
101
  entry.follows.delete(followId);
102
+ follow.response?.unfollow();
100
103
  follow.response = null;
101
104
  if (error instanceof StopError) {
102
105
  onEvent({ event: 'stop' });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@novasamatech/host-container",
3
3
  "type": "module",
4
- "version": "0.7.5-2",
4
+ "version": "0.7.5-4",
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
  "@noble/hashes": "2.2.0",
29
29
  "polkadot-api": ">=2",
30
30
  "@polkadot-api/substrate-client": "^0.7.0",
31
- "@novasamatech/host-api": "0.7.5-2",
31
+ "@novasamatech/host-api": "0.7.5-4",
32
32
  "nanoid": "5.1.9",
33
33
  "neverthrow": "^8.2.0"
34
34
  },