@opendatalabs/personal-server-ts-server 1.35.3 → 1.35.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.
@@ -127564,7 +127564,8 @@ async function publishPreparedVersion(options) {
127564
127564
  function checkDeletion() {
127565
127565
  if (!head || !isDeleted(head))
127566
127566
  return;
127567
- requireFence("publication crosses a deletion");
127567
+ if (!options.deletionAcknowledgedAtIngest)
127568
+ requireFence("publication crosses a deletion");
127568
127569
  if (options.acknowledgedDeletionVersion !== BigInt(head.expectedVersion))
127569
127570
  throw new NeedsFencedPublicationError(scope, "tombstone was not acknowledged by this publication");
127570
127571
  }
@@ -128025,7 +128026,10 @@ async function uploadOne(deps, entry) {
128025
128026
  head: initialHead,
128026
128027
  readHead,
128027
128028
  checkHead,
128028
- acknowledgedDeletionVersion: entry.afterTombstoneVersion == null ? void 0 : BigInt(entry.afterTombstoneVersion)
128029
+ acknowledgedDeletionVersion: entry.afterTombstoneVersion == null ? void 0 : BigInt(entry.afterTombstoneVersion),
128030
+ // The marker is written at ingest, after the owner deleted the scope
128031
+ // and imported it again: a deliberate re-add, not a recovery.
128032
+ deletionAcknowledgedAtIngest: entry.afterTombstoneVersion != null
128029
128033
  });
128030
128034
  const { dataPointId, url: url2, sizeBytes } = proof;
128031
128035
  if (!entry.dataPointId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendatalabs/personal-server-ts-server",
3
- "version": "1.35.3",
3
+ "version": "1.35.4",
4
4
  "description": "Hono HTTP server for the Vana Personal Server — routes, middleware, composition root",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@hono/node-server": "^1.19.17",
58
- "@opendatalabs/personal-server-ts-core": "1.35.3",
59
- "@opendatalabs/personal-server-ts-lite": "1.35.3",
58
+ "@opendatalabs/personal-server-ts-core": "1.35.4",
59
+ "@opendatalabs/personal-server-ts-lite": "1.35.4",
60
60
  "@opendatalabs/vana-sdk": "3.23.0-pr.211.36da1d8",
61
61
  "ajv": "^8.20.0",
62
62
  "better-sqlite3": "^12.11.1",