@pidgeon-ai/sdk 1.33.0 → 1.35.0

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/CHANGELOG.md CHANGED
@@ -7,6 +7,28 @@ the two would publish a release for every unrelated product deploy.
7
7
  Semver applies to **this package's own surface** — the exported names, the
8
8
  call shapes, the result shape — not to the API behind it.
9
9
 
10
+ ## 1.35.0 — a key says what it is, and minting is idempotent
11
+
12
+ - `meGet` returns `key.test`, `key.rotated_at` and
13
+ `key.previous_token_expires_at`. Read `key.test` rather than the token's
14
+ prefix to tell a test key.
15
+ - `keysCreate` takes an `Idempotency-Key` header. A replay returns the same
16
+ key with `Idempotent-Replay: true` and `token: null`, so
17
+ `ApiKeyCreated.token` is now `string | null`: check it before storing.
18
+ - An idempotency `409` now has its own `error.code`:
19
+ `idempotency_in_progress` (wait `Retry-After` seconds, then send the same
20
+ request) or `idempotency_mismatch` (the key went with a different
21
+ request). Both were `conflict`; code that matched `conflict` for these
22
+ must match the new codes.
23
+
24
+ ## 1.34.0 — a test key creates test addresses
25
+
26
+ Every address carries `test`. `identitiesCreate` with a test key (at admin
27
+ over the account or its pod) now creates a test address rather than
28
+ answering `403`: outside your plan's counts, at most 100 at once, taking only
29
+ test mail (a test send or `testInbound`), and deleted a day after it was
30
+ made. A test key may delete one. Additive.
31
+
10
32
  ## 1.33.0 — failures on purpose, in test mode
11
33
 
12
34
  `messagesSend` now says that with a test key a send to `rejected@` (any