@treeseed/sdk 0.13.0-rc.69 → 0.13.0-rc.70

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.
@@ -1 +1 @@
1
- {"completedAt":"2026-09-01T20:36:00.982Z"}
1
+ {"completedAt":"2026-09-01T21:09:39.160Z"}
@@ -173,7 +173,11 @@ class ControlPlaneClient {
173
173
  code: "control_plane_response_invalid"
174
174
  }, response.headers);
175
175
  }
176
- return payload;
176
+ const envelope = payload;
177
+ const etag = response.headers.get("etag");
178
+ const contractDigest = response.headers.get("x-treeseed-contract-digest");
179
+ if (!etag && !contractDigest) return envelope;
180
+ return { ...envelope, meta: { ...envelope.meta ?? {}, ...etag ? { etag } : {}, ...contractDigest ? { contractDigest } : {} } };
177
181
  }
178
182
  }
179
183
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.69",
3
+ "version": "0.13.0-rc.70",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {