@massalabs/gossip-sdk 0.0.2-dev.20260410093719 → 0.0.2-dev.20260410095334
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/gossip.js +2 -0
- package/package.json +1 -1
package/dist/gossip.js
CHANGED
|
@@ -293,6 +293,8 @@ class GossipSdk {
|
|
|
293
293
|
this.pollingManager.stop();
|
|
294
294
|
// Cleanup session
|
|
295
295
|
this.state.session.cleanup();
|
|
296
|
+
// Free the encryption key WASM object to zero its memory before dropping
|
|
297
|
+
this.state.encryptionKey?.free();
|
|
296
298
|
// Clear services
|
|
297
299
|
this._announcement = null;
|
|
298
300
|
this._discussion = null;
|
package/package.json
CHANGED