@terminal3/t3n-sdk 5.27.0 → 5.28.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/dist/cli/index.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1124,8 +1124,8 @@ declare function parseContractResponse<T = unknown>(raw: string, schema?: Contra
|
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Delegated agents and the T3N OAuth connections that act as them. Wire types
|
|
1127
|
-
* and strict decoders for the
|
|
1128
|
-
*
|
|
1127
|
+
* and strict decoders for the functions the `T3nClient` wrappers dispatch:
|
|
1128
|
+
* agents on `tee:organisation`, OAuth connections on `tee:session`.
|
|
1129
1129
|
*/
|
|
1130
1130
|
|
|
1131
1131
|
/**
|
|
@@ -3518,7 +3518,7 @@ declare class T3nClient {
|
|
|
3518
3518
|
* What the consent page shows about an OAuth client, before any
|
|
3519
3519
|
* authorisation. Read only.
|
|
3520
3520
|
*
|
|
3521
|
-
* Dispatches `oauth-describe-client` on `tee:
|
|
3521
|
+
* Dispatches `oauth-describe-client` on `tee:session/contracts`. The
|
|
3522
3522
|
* enclave fetches a CIMD client's metadata document itself and checks
|
|
3523
3523
|
* `redirectUri` against the client's registration and the operator's
|
|
3524
3524
|
* policy. On a refusal the page shows the error and does not redirect.
|
|
@@ -3532,7 +3532,7 @@ declare class T3nClient {
|
|
|
3532
3532
|
* Let an OAuth client act as one of the caller's own T3N agents, and get the
|
|
3533
3533
|
* one-time code to send back to it.
|
|
3534
3534
|
*
|
|
3535
|
-
* Dispatches `oauth-authorise` on `tee:
|
|
3535
|
+
* Dispatches `oauth-authorise` on `tee:session/contracts`. The session
|
|
3536
3536
|
* must be a person acting for themselves. The code is bound to the client,
|
|
3537
3537
|
* the redirect URI, the resource and the PKCE challenge; the client redeems
|
|
3538
3538
|
* it at the node's token endpoint.
|
|
@@ -3547,7 +3547,7 @@ declare class T3nClient {
|
|
|
3547
3547
|
* The caller's own OAuth connections, including revoked and expired ones
|
|
3548
3548
|
* not yet swept. Self only.
|
|
3549
3549
|
*
|
|
3550
|
-
* Dispatches `list-oauth-connections` on `tee:
|
|
3550
|
+
* Dispatches `list-oauth-connections` on `tee:session/contracts`.
|
|
3551
3551
|
*
|
|
3552
3552
|
* @throws {RpcError} when the contract refuses
|
|
3553
3553
|
* @throws {ContractResponseError} when the response does not match its shape
|
|
@@ -3558,7 +3558,7 @@ declare class T3nClient {
|
|
|
3558
3558
|
* working at once; an access token already issued runs to its expiry. The
|
|
3559
3559
|
* agent is untouched. Idempotent.
|
|
3560
3560
|
*
|
|
3561
|
-
* Dispatches `revoke-oauth-connection` on `tee:
|
|
3561
|
+
* Dispatches `revoke-oauth-connection` on `tee:session/contracts`.
|
|
3562
3562
|
*
|
|
3563
3563
|
* @throws {RpcError} when the caller owns no connection with that id
|
|
3564
3564
|
* @throws {ContractResponseError} when the response does not name the connection
|