@cloudbitmaps/core 0.8.1 → 0.8.2
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -5
- package/dist/index.d.ts +22 -5
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4097,14 +4097,15 @@ async function dropSegment(ref, deps, options) {
|
|
|
4097
4097
|
if (shred.reason === "absent") {
|
|
4098
4098
|
const orphans = await listGenerations(deps.cold, ref);
|
|
4099
4099
|
if (orphans.length === 0) {
|
|
4100
|
+
const clearedWarmOnly = shred.warmRowsDeleted > 0;
|
|
4100
4101
|
return {
|
|
4101
4102
|
...base,
|
|
4102
|
-
dropped:
|
|
4103
|
+
dropped: clearedWarmOnly,
|
|
4103
4104
|
warmRowsDeleted: shred.warmRowsDeleted,
|
|
4104
4105
|
generationsDeleted: [],
|
|
4105
4106
|
generationsRemaining: [],
|
|
4106
4107
|
cryptoShredded: false,
|
|
4107
|
-
reason: "absent"
|
|
4108
|
+
reason: clearedWarmOnly ? "warm-only" : "absent"
|
|
4108
4109
|
};
|
|
4109
4110
|
}
|
|
4110
4111
|
try {
|