@pidgeon-ai/sdk 1.34.0 → 1.36.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,30 @@ 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.36.0 — the mail a domain already receives
11
+
12
+ `domainsCreate` answers `existing_mail`: who already receives mail for the
13
+ domain, read from its MX — `{ provider, name, hosts }`, with `provider` one of
14
+ `google`, `microsoft`, `zoho`, `fastmail`, `proton`, `icloud`, `godaddy` or
15
+ `other` — or null when nothing does. When it is set and `inbound_enabled` is
16
+ true, publishing the MX record stops that mail arriving at the provider. Send
17
+ `inbound_enabled: false`, or add a subdomain such as `agents.` instead.
18
+ Additive.
19
+
20
+ ## 1.35.0 — a key says what it is, and minting is idempotent
21
+
22
+ - `meGet` returns `key.test`, `key.rotated_at` and
23
+ `key.previous_token_expires_at`. Read `key.test` rather than the token's
24
+ prefix to tell a test key.
25
+ - `keysCreate` takes an `Idempotency-Key` header. A replay returns the same
26
+ key with `Idempotent-Replay: true` and `token: null`, so
27
+ `ApiKeyCreated.token` is now `string | null`: check it before storing.
28
+ - An idempotency `409` now has its own `error.code`:
29
+ `idempotency_in_progress` (wait `Retry-After` seconds, then send the same
30
+ request) or `idempotency_mismatch` (the key went with a different
31
+ request). Both were `conflict`; code that matched `conflict` for these
32
+ must match the new codes.
33
+
10
34
  ## 1.34.0 — a test key creates test addresses
11
35
 
12
36
  Every address carries `test`. `identitiesCreate` with a test key (at admin