@dxos/echo-pipeline 0.3.11-main.55b2292 → 0.3.11-main.56ff0ac
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/lib/browser/{chunk-RM4WCR2Z.mjs → chunk-MPBRK5OV.mjs} +4 -4
- package/dist/lib/browser/{chunk-RM4WCR2Z.mjs.map → chunk-MPBRK5OV.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-W5EK5DXL.cjs → chunk-GJQNRSA3.cjs} +7 -7
- package/dist/lib/node/{chunk-W5EK5DXL.cjs.map → chunk-GJQNRSA3.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +26 -26
- package/dist/lib/node/index.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +16 -16
- package/package.json +33 -33
- package/src/automerge/automerge-host.test.ts +22 -0
- package/src/automerge/automerge-host.ts +3 -3
|
@@ -2991,7 +2991,7 @@ var AutomergeStorageAdapter = class extends StorageAdapter {
|
|
|
2991
2991
|
async remove(key) {
|
|
2992
2992
|
const filename = this._getFilename(key);
|
|
2993
2993
|
const file = this._directory.getOrCreateFile(filename);
|
|
2994
|
-
await file.
|
|
2994
|
+
await file.destroy();
|
|
2995
2995
|
}
|
|
2996
2996
|
async loadRange(keyPrefix) {
|
|
2997
2997
|
const filename = this._getFilename(keyPrefix);
|
|
@@ -3010,8 +3010,8 @@ var AutomergeStorageAdapter = class extends StorageAdapter {
|
|
|
3010
3010
|
const filename = this._getFilename(keyPrefix);
|
|
3011
3011
|
const entries = await this._directory.list();
|
|
3012
3012
|
await Promise.all(entries.filter((entry) => entry.startsWith(filename)).map(async (entry) => {
|
|
3013
|
-
const file = this._directory.getOrCreateFile(
|
|
3014
|
-
await file.
|
|
3013
|
+
const file = this._directory.getOrCreateFile(entry);
|
|
3014
|
+
await file.destroy();
|
|
3015
3015
|
}));
|
|
3016
3016
|
}
|
|
3017
3017
|
_getFilename(key) {
|
|
@@ -3049,4 +3049,4 @@ export {
|
|
|
3049
3049
|
SpaceManager,
|
|
3050
3050
|
AutomergeHost
|
|
3051
3051
|
};
|
|
3052
|
-
//# sourceMappingURL=chunk-
|
|
3052
|
+
//# sourceMappingURL=chunk-MPBRK5OV.mjs.map
|