@yargote/artifacts-client 0.1.0-beta.1 → 0.1.0-beta.3

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  `@yargote/artifacts-client` is a typed Fetch client for the Artifacts REST API. It depends on `@yargote/artifacts-contracts` and Zod. It does not install the artifact store or a database driver. Node 24 or later is required.
4
4
 
5
5
  ```sh
6
- npm install @yargote/artifacts-client@0.1.0-beta.1
6
+ npm install @yargote/artifacts-client@0.1.0-beta.3
7
7
  ```
8
8
 
9
9
  ```ts
@@ -56,10 +56,12 @@ All commands and JSON responses pass the strict domain schemas. An omitted mutat
56
56
 
57
57
  Invalid local commands throw a Zod validation error before any HTTP request. Invalid configuration throws `TypeError`.
58
58
 
59
- A caller that needs recovery retains the complete create, update, or publish command before its first request. Retrying that exact command returns the original receipt. Changing `response`, the snapshot, or any expected version changes the command. A conflict requires a new deliberate command with a new request ID. A replayed receipt describes the original operation and can differ from a fresh read.
59
+ A caller that needs recovery retains the complete create, update, or publish command before its first request. While the artifact exists, retrying that exact command returns the original receipt. Changing `response`, the snapshot, or any expected version changes the command. A conflict requires a new deliberate command with a new request ID. A replayed receipt describes the original operation and can differ from a fresh read.
60
60
 
61
61
  ## Compiled installation
62
62
 
63
63
  The registry package contains compiled ESM JavaScript and declarations. Consumers need no TypeScript loader or database package. For repository development, `pnpm build:packages` produces local tarballs and a `dist/packages/manifest.json` inventory. `pnpm test:packages` verifies an ordinary Node consumer and its types.
64
64
 
65
65
  This package is MIT licensed. The license applies to this package and does not license the private Artifacts application repository.
66
+
67
+ Permanent deletion from the panel invalidates historical content-bearing receipts. An exact create, update or publish retry for a deleted artifact returns `not_found`; request identity remains reserved, so a changed command still returns `request_conflict` and an old create cannot recreate it. Live-session and scope checks still precede replay. This package exposes no deletion operation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yargote/artifacts-client",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0-beta.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Typed HTTP client for the Artifacts REST API.",
@@ -26,7 +26,7 @@
26
26
  "LICENSE"
27
27
  ],
28
28
  "dependencies": {
29
- "@yargote/artifacts-contracts": "0.1.0-beta.1",
29
+ "@yargote/artifacts-contracts": "0.1.0-beta.3",
30
30
  "zod": "4.6.5"
31
31
  },
32
32
  "publishConfig": {