@pidgeon-ai/sdk 1.60.0 → 1.62.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,25 @@ 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.62.0 — the shared domain, said plainly
11
+
12
+ - `operator.shared` on `verifySender`'s answer: true for `pidgeon.email` and
13
+ a company's name on it (`acme.pidgeon.email`), which anyone can get an
14
+ address on. `operator.verified` is false there, and true only for a domain
15
+ its owner proved.
16
+ - `card.url` is now the card's page, for a person; `card.api_url` is the
17
+ card as JSON with its signed JWS, which `card.url` was before.
18
+
19
+ ## 1.61.0 — the card log
20
+
21
+ - `logHead`, `logCheckpoint`, `logEntries`, `logProof` and
22
+ `logConsistency`: the public card log, every agent card issued, changed or
23
+ revoked, with signed checkpoints and RFC 9162 proofs. No key needed.
24
+ - `logMonitorsList`, `logMonitorsCreate` and `logMonitorsDelete`: watch the
25
+ log for a name or a domain, look-alikes included.
26
+ - `card_log.matched`, a new event type a webhook can subscribe to.
27
+ - `card.log` on `verifySender`'s answer: the card's inclusion proof.
28
+
10
29
  ## 1.60.0 — checking a signed request
11
30
 
12
31
  - `verifySender` takes `request` instead of `message`: an HTTP request an
package/dist/index.cjs CHANGED
@@ -106,6 +106,14 @@ __export(index_exports, {
106
106
  labelsDelete: () => labelsDelete,
107
107
  labelsList: () => labelsList,
108
108
  labelsUpdate: () => labelsUpdate,
109
+ logCheckpoint: () => logCheckpoint,
110
+ logConsistency: () => logConsistency,
111
+ logEntries: () => logEntries,
112
+ logHead: () => logHead,
113
+ logMonitorsCreate: () => logMonitorsCreate,
114
+ logMonitorsDelete: () => logMonitorsDelete,
115
+ logMonitorsList: () => logMonitorsList,
116
+ logProof: () => logProof,
109
117
  mailboxesChanges: () => mailboxesChanges,
110
118
  mailboxesEmptyTrash: () => mailboxesEmptyTrash,
111
119
  mailboxesList: () => mailboxesList,
@@ -1012,6 +1020,45 @@ var verifySender = (options) => (options.client ?? client).post({
1012
1020
  ...options.headers
1013
1021
  }
1014
1022
  });
1023
+ var logHead = (options) => (options?.client ?? client).get({
1024
+ url: "/log/head",
1025
+ ...options
1026
+ });
1027
+ var logCheckpoint = (options) => (options?.client ?? client).get({
1028
+ url: "/log/checkpoint",
1029
+ ...options
1030
+ });
1031
+ var logEntries = (options) => (options?.client ?? client).get({
1032
+ url: "/log/entries",
1033
+ ...options
1034
+ });
1035
+ var logProof = (options) => (options?.client ?? client).get({
1036
+ url: "/log/proof",
1037
+ ...options
1038
+ });
1039
+ var logConsistency = (options) => (options.client ?? client).get({
1040
+ url: "/log/consistency",
1041
+ ...options
1042
+ });
1043
+ var logMonitorsList = (options) => (options?.client ?? client).get({
1044
+ security: [{ scheme: "bearer", type: "http" }],
1045
+ url: "/log/monitors",
1046
+ ...options
1047
+ });
1048
+ var logMonitorsCreate = (options) => (options.client ?? client).post({
1049
+ security: [{ scheme: "bearer", type: "http" }],
1050
+ url: "/log/monitors",
1051
+ ...options,
1052
+ headers: {
1053
+ "Content-Type": "application/json",
1054
+ ...options.headers
1055
+ }
1056
+ });
1057
+ var logMonitorsDelete = (options) => (options.client ?? client).delete({
1058
+ security: [{ scheme: "bearer", type: "http" }],
1059
+ url: "/log/monitors/{id}",
1060
+ ...options
1061
+ });
1015
1062
  var agentConnect = (options) => (options.client ?? client).post({
1016
1063
  url: "/agent/connect",
1017
1064
  ...options,
@@ -2050,6 +2097,14 @@ function sleep(ms, signal) {
2050
2097
  labelsDelete,
2051
2098
  labelsList,
2052
2099
  labelsUpdate,
2100
+ logCheckpoint,
2101
+ logConsistency,
2102
+ logEntries,
2103
+ logHead,
2104
+ logMonitorsCreate,
2105
+ logMonitorsDelete,
2106
+ logMonitorsList,
2107
+ logProof,
2053
2108
  mailboxesChanges,
2054
2109
  mailboxesEmptyTrash,
2055
2110
  mailboxesList,