@pidgeon-ai/sdk 1.64.0 → 1.66.1
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 +17 -0
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +109 -1
- package/dist/index.d.ts +109 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ 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.66.1 — a retried approval is the same approval
|
|
11
|
+
|
|
12
|
+
- `signInsApprove` takes an `Idempotency-Key`: a retry with the same key
|
|
13
|
+
answers with the first callback instead of a second code.
|
|
14
|
+
|
|
15
|
+
## 1.66.0 — approving a sign-in
|
|
16
|
+
|
|
17
|
+
- `signInsApprove`: an agent approves an app's Sign in with Pidgeon with its
|
|
18
|
+
own key, and gets back the app's callback to open. The key must be able to
|
|
19
|
+
send as the address.
|
|
20
|
+
|
|
21
|
+
## 1.65.0 — reply_to
|
|
22
|
+
|
|
23
|
+
- `messagesSend` and `messagesCheck` take `reply_to`: where replies go when
|
|
24
|
+
not to `from`. It must be one of your own addresses, or an address on a
|
|
25
|
+
domain you have verified; anything else is refused with a 400.
|
|
26
|
+
|
|
10
27
|
## 1.64.0 — private pods
|
|
11
28
|
|
|
12
29
|
- `private` on a pod. `podsCreate` and `podsUpdate` take it: `true` means
|
package/dist/index.cjs
CHANGED
|
@@ -151,6 +151,7 @@ __export(index_exports, {
|
|
|
151
151
|
routingDelete: () => routingDelete,
|
|
152
152
|
routingList: () => routingList,
|
|
153
153
|
routingUpdate: () => routingUpdate,
|
|
154
|
+
signInsApprove: () => signInsApprove,
|
|
154
155
|
streamEvents: () => streamEvents,
|
|
155
156
|
testInbound: () => testInbound,
|
|
156
157
|
threadsGet: () => threadsGet,
|
|
@@ -1375,6 +1376,15 @@ var messagesCheck = (options) => (options.client ?? client).post({
|
|
|
1375
1376
|
...options.headers
|
|
1376
1377
|
}
|
|
1377
1378
|
});
|
|
1379
|
+
var signInsApprove = (options) => (options.client ?? client).post({
|
|
1380
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1381
|
+
url: "/sign-ins",
|
|
1382
|
+
...options,
|
|
1383
|
+
headers: {
|
|
1384
|
+
"Content-Type": "application/json",
|
|
1385
|
+
...options.headers
|
|
1386
|
+
}
|
|
1387
|
+
});
|
|
1378
1388
|
var messagesSearch = (options) => (options?.client ?? client).get({
|
|
1379
1389
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1380
1390
|
url: "/messages/search",
|
|
@@ -2197,6 +2207,7 @@ function sleep(ms, signal) {
|
|
|
2197
2207
|
routingDelete,
|
|
2198
2208
|
routingList,
|
|
2199
2209
|
routingUpdate,
|
|
2210
|
+
signInsApprove,
|
|
2200
2211
|
streamEvents,
|
|
2201
2212
|
testInbound,
|
|
2202
2213
|
threadsGet,
|