@automerge/automerge-repo-react-hooks 2.5.2-alpha.2 → 2.5.2-alpha.3
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/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6241,6 +6241,13 @@ const REUSE_BUFFER_MODE = 512;
|
|
|
6241
6241
|
const RESET_BUFFER_MODE = 1024;
|
|
6242
6242
|
const THROW_ON_ITERABLE = 2048;
|
|
6243
6243
|
|
|
6244
|
+
/**
|
|
6245
|
+
* FinalizationRegistry for automatic cleanup of Ref instances.
|
|
6246
|
+
* This ensures subscriptions are cleaned up when Refs are garbage collected,
|
|
6247
|
+
* even if dispose() is never called.
|
|
6248
|
+
*/
|
|
6249
|
+
new FinalizationRegistry(cleanup => cleanup());
|
|
6250
|
+
|
|
6244
6251
|
var sha256$1 = {exports: {}};
|
|
6245
6252
|
|
|
6246
6253
|
var sha256 = sha256$1.exports;
|