@homespunapps/core 1.6.25 → 1.6.27

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/client.d.ts CHANGED
@@ -576,6 +576,11 @@ export declare class HomespunClient {
576
576
  * existing row when `key` collides — `deduped: true`). §8 ruling 4: this is
577
577
  * the ONLY create-shaped verb — there is no strict create that errors on
578
578
  * an existing key.
579
+ *
580
+ * A collision on a row the collection's `read` list does not reach for this
581
+ * caller answers `row_not_found` (404) rather than the row, exactly as a get
582
+ * on that key would, so the create door never returns a body the read door
583
+ * would have withheld.
579
584
  */
580
585
  upsertAppRow(appId: string, collection: string, body: {
581
586
  key?: string;
package/dist/client.js CHANGED
@@ -1007,6 +1007,11 @@ export class HomespunClient {
1007
1007
  * existing row when `key` collides — `deduped: true`). §8 ruling 4: this is
1008
1008
  * the ONLY create-shaped verb — there is no strict create that errors on
1009
1009
  * an existing key.
1010
+ *
1011
+ * A collision on a row the collection's `read` list does not reach for this
1012
+ * caller answers `row_not_found` (404) rather than the row, exactly as a get
1013
+ * on that key would, so the create door never returns a body the read door
1014
+ * would have withheld.
1010
1015
  */
1011
1016
  async upsertAppRow(appId, collection, body) {
1012
1017
  const r = await this.call("POST", `/v1/apps/${encodeURIComponent(appId)}/collections/${encodeURIComponent(collection)}`, body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homespunapps/core",
3
- "version": "1.6.25",
3
+ "version": "1.6.27",
4
4
  "description": "Homespun relay client: typed HTTP + WebSocket operations against a Homespun relay. Framework-free.",
5
5
  "license": "MIT",
6
6
  "type": "module",