@deliverd/sdk 0.31.0 → 0.32.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/README.md +2 -2
- package/dist/messages.js +1 -1
- package/dist/released.d.ts +1 -1
- package/dist/released.d.ts.map +1 -1
- package/dist/released.js +1472 -0
- package/dist/types.d.ts +8 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/messages.ts +1 -1
- package/src/released.ts +1473 -0
- package/src/types.ts +8 -2
package/README.md
CHANGED
|
@@ -688,7 +688,7 @@ five minutes of tolerance — so anything you have written before will work too.
|
|
|
688
688
|
## Webhook endpoints
|
|
689
689
|
|
|
690
690
|
Add, change and remove the endpoints themselves from code, rather than under
|
|
691
|
-
|
|
691
|
+
Organisation → Integrations & webhooks → Webhooks. The secret comes back from `create()` **once** — no other
|
|
692
692
|
call returns it — so store it where your receiver reads it.
|
|
693
693
|
|
|
694
694
|
```ts
|
|
@@ -768,7 +768,7 @@ const session = await deliverd.approvals.createSession(approval.id, {
|
|
|
768
768
|
redirect(session.url!); // returned once
|
|
769
769
|
|
|
770
770
|
// Or a frame in your own page. The origin must be on the organisation's
|
|
771
|
-
// embedding allow-list (
|
|
771
|
+
// embedding allow-list (Organisation → Security → Embedding), or http://localhost.
|
|
772
772
|
const embedded = await deliverd.approvals.createSession(approval.id, {
|
|
773
773
|
approver: "sarah@acme.com",
|
|
774
774
|
mode: "embedded",
|
package/dist/messages.js
CHANGED
|
@@ -106,7 +106,7 @@ export const EXPLANATIONS = {
|
|
|
106
106
|
*/
|
|
107
107
|
agent_not_found: {
|
|
108
108
|
message: "The agent identity this key acts as is not there any more.",
|
|
109
|
-
hint: "Nothing is wrong with the credential — it still authenticates, and what is gone is the identity it speaks as. Recreate the agent under
|
|
109
|
+
hint: "Nothing is wrong with the credential — it still authenticates, and what is gone is the identity it speaks as. Recreate the agent under Agents → Agents, or issue a key bound to one that exists. Every call this key makes fails the same way until then.",
|
|
110
110
|
},
|
|
111
111
|
upload_not_found: {
|
|
112
112
|
hint: "A publish consumes the bundle it reads, so this is what a *second* publish with the same `uploadId` gets — which means the first one may well have worked. Look at the report before uploading again, or you will publish it twice.",
|
package/dist/released.d.ts
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* **Add the version here when you publish it, not before.** An entry is a
|
|
44
44
|
* claim that `npm install @deliverd/sdk@x` works today.
|
|
45
45
|
*/
|
|
46
|
-
export declare const PUBLISHED_TO_NPM: readonly ["0.1.0", "0.2.0", "0.3.0", "0.4.0", "0.5.0", "0.6.0", "0.6.1", "0.6.2", "0.7.0", "0.7.1", "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.11.0", "0.11.1", "0.12.0", "0.13.0", "0.14.0", "0.15.0", "0.16.0", "0.17.0", "0.18.0", "0.19.0", "0.20.0", "0.21.0", "0.22.0", "0.23.0", "0.24.0", "0.24.1", "0.25.0", "0.25.1", "0.26.0", "0.27.0", "0.28.0", "0.29.0", "0.30.0"];
|
|
46
|
+
export declare const PUBLISHED_TO_NPM: readonly ["0.1.0", "0.2.0", "0.3.0", "0.4.0", "0.5.0", "0.6.0", "0.6.1", "0.6.2", "0.7.0", "0.7.1", "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.11.0", "0.11.1", "0.12.0", "0.13.0", "0.14.0", "0.15.0", "0.16.0", "0.17.0", "0.18.0", "0.19.0", "0.20.0", "0.21.0", "0.22.0", "0.23.0", "0.24.0", "0.24.1", "0.25.0", "0.25.1", "0.26.0", "0.27.0", "0.28.0", "0.29.0", "0.30.0", "0.31.0"];
|
|
47
47
|
/**
|
|
48
48
|
* A fingerprint of what each *published* version recorded.
|
|
49
49
|
*
|
package/dist/released.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"released.d.ts","sourceRoot":"","sources":["../src/released.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"released.d.ts","sourceRoot":"","sources":["../src/released.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,mYAwCnB,CAAC;AAEX;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA6GzC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAyp4BtD,CAAC"}
|