@atcute/client 2.0.8 → 3.0.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/credential-manager.d.ts +4 -4
- package/dist/lexicons.d.ts +463 -193
- package/dist/rpc.d.ts +1 -1
- package/lib/credential-manager.ts +4 -4
- package/lib/lexicons.ts +380 -192
- package/lib/rpc.ts +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ export interface AtpAccessJwt {
|
|
|
5
5
|
/** Access token scope, app password returns a different scope. */
|
|
6
6
|
scope: 'com.atproto.access' | 'com.atproto.appPass' | 'com.atproto.appPassPrivileged' | 'com.atproto.signupQueued' | 'com.atproto.takendown';
|
|
7
7
|
/** Account DID */
|
|
8
|
-
sub: At.
|
|
8
|
+
sub: At.Did;
|
|
9
9
|
/** Expiration time */
|
|
10
10
|
exp: number;
|
|
11
11
|
/** Creation/issued time */
|
|
@@ -18,9 +18,9 @@ export interface AtpRefreshJwt {
|
|
|
18
18
|
/** ID of this refresh token */
|
|
19
19
|
jti: string;
|
|
20
20
|
/** Account DID */
|
|
21
|
-
sub: At.
|
|
21
|
+
sub: At.Did;
|
|
22
22
|
/** Intended audience of this refresh token, in DID */
|
|
23
|
-
aud: At.
|
|
23
|
+
aud: At.Did;
|
|
24
24
|
/** Expiration time */
|
|
25
25
|
exp: number;
|
|
26
26
|
/** Creation/issued time */
|
|
@@ -35,7 +35,7 @@ export interface AtpSessionData {
|
|
|
35
35
|
/** Account handle */
|
|
36
36
|
handle: string;
|
|
37
37
|
/** Account DID */
|
|
38
|
-
did: At.
|
|
38
|
+
did: At.Did;
|
|
39
39
|
/** PDS endpoint found in the DID document, this will be used as the service URI if provided */
|
|
40
40
|
pdsUri?: string;
|
|
41
41
|
/** Email address of the account, might not be available if on app password */
|