@atproto/oauth-client 0.8.2 → 0.8.3

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
@@ -1,5 +1,12 @@
1
1
  # @atproto/oauth-client
2
2
 
3
+ ## 0.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atproto/xrpc@0.8.10
9
+
3
10
  ## 0.8.2
4
11
 
5
12
  ### Patch Changes
@@ -93,7 +93,7 @@ export declare class OAuthClient {
93
93
  t?: string | undefined;
94
94
  }[] | undefined;
95
95
  } & {
96
- kid: {};
96
+ kid: NonNullable<unknown>;
97
97
  }) | ({
98
98
  kid?: string | undefined;
99
99
  use?: "enc" | "sig" | undefined;
@@ -117,7 +117,7 @@ export declare class OAuthClient {
117
117
  y: string;
118
118
  d?: string | undefined;
119
119
  } & {
120
- kid: {};
120
+ kid: NonNullable<unknown>;
121
121
  }) | ({
122
122
  kid?: string | undefined;
123
123
  use?: "enc" | "sig" | undefined;
@@ -141,7 +141,7 @@ export declare class OAuthClient {
141
141
  y: string;
142
142
  d?: string | undefined;
143
143
  } & {
144
- kid: {};
144
+ kid: NonNullable<unknown>;
145
145
  }) | ({
146
146
  kid?: string | undefined;
147
147
  use?: "enc" | "sig" | undefined;
@@ -164,7 +164,7 @@ export declare class OAuthClient {
164
164
  x: string;
165
165
  d?: string | undefined;
166
166
  } & {
167
- kid: {};
167
+ kid: NonNullable<unknown>;
168
168
  })) & {
169
169
  d?: never;
170
170
  })[];
package/dist/types.d.ts CHANGED
@@ -48,7 +48,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
48
48
  t?: string | undefined;
49
49
  }[] | undefined;
50
50
  } & {
51
- kid: {};
51
+ kid: NonNullable<unknown>;
52
52
  }) | ({
53
53
  kid?: string | undefined;
54
54
  use?: "enc" | "sig" | undefined;
@@ -72,7 +72,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
72
72
  y: string;
73
73
  d?: string | undefined;
74
74
  } & {
75
- kid: {};
75
+ kid: NonNullable<unknown>;
76
76
  }) | ({
77
77
  kid?: string | undefined;
78
78
  use?: "enc" | "sig" | undefined;
@@ -96,7 +96,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
96
96
  y: string;
97
97
  d?: string | undefined;
98
98
  } & {
99
- kid: {};
99
+ kid: NonNullable<unknown>;
100
100
  }) | ({
101
101
  kid?: string | undefined;
102
102
  use?: "enc" | "sig" | undefined;
@@ -119,7 +119,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
119
119
  x: string;
120
120
  d?: string | undefined;
121
121
  } & {
122
- kid: {};
122
+ kid: NonNullable<unknown>;
123
123
  })) & {
124
124
  d?: never;
125
125
  })[], unknown[]>;
@@ -156,7 +156,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
156
156
  t?: string | undefined;
157
157
  }[] | undefined;
158
158
  } & {
159
- kid: {};
159
+ kid: NonNullable<unknown>;
160
160
  }) | ({
161
161
  kid?: string | undefined;
162
162
  use?: "enc" | "sig" | undefined;
@@ -180,7 +180,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
180
180
  y: string;
181
181
  d?: string | undefined;
182
182
  } & {
183
- kid: {};
183
+ kid: NonNullable<unknown>;
184
184
  }) | ({
185
185
  kid?: string | undefined;
186
186
  use?: "enc" | "sig" | undefined;
@@ -204,7 +204,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
204
204
  y: string;
205
205
  d?: string | undefined;
206
206
  } & {
207
- kid: {};
207
+ kid: NonNullable<unknown>;
208
208
  }) | ({
209
209
  kid?: string | undefined;
210
210
  use?: "enc" | "sig" | undefined;
@@ -227,7 +227,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
227
227
  x: string;
228
228
  d?: string | undefined;
229
229
  } & {
230
- kid: {};
230
+ kid: NonNullable<unknown>;
231
231
  })) & {
232
232
  d?: never;
233
233
  })[];
@@ -298,7 +298,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
298
298
  t?: string | undefined;
299
299
  }[] | undefined;
300
300
  } & {
301
- kid: {};
301
+ kid: NonNullable<unknown>;
302
302
  }) | ({
303
303
  kid?: string | undefined;
304
304
  use?: "enc" | "sig" | undefined;
@@ -322,7 +322,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
322
322
  y: string;
323
323
  d?: string | undefined;
324
324
  } & {
325
- kid: {};
325
+ kid: NonNullable<unknown>;
326
326
  }) | ({
327
327
  kid?: string | undefined;
328
328
  use?: "enc" | "sig" | undefined;
@@ -346,7 +346,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
346
346
  y: string;
347
347
  d?: string | undefined;
348
348
  } & {
349
- kid: {};
349
+ kid: NonNullable<unknown>;
350
350
  }) | ({
351
351
  kid?: string | undefined;
352
352
  use?: "enc" | "sig" | undefined;
@@ -369,7 +369,7 @@ export declare const clientMetadataSchema: z.ZodObject<z.objectUtil.extendShape<
369
369
  x: string;
370
370
  d?: string | undefined;
371
371
  } & {
372
- kid: {};
372
+ kid: NonNullable<unknown>;
373
373
  })) & {
374
374
  d?: never;
375
375
  })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-client",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "license": "MIT",
5
5
  "description": "OAuth client for ATPROTO PDS. This package serves as common base for environment-specific implementations (NodeJS, Browser, React-Native).",
6
6
  "keywords": [
@@ -35,21 +35,21 @@
35
35
  "multiformats": "^13.0.0",
36
36
  "zod": "^3.23.8",
37
37
  "@atproto-labs/did-resolver": "^0.3.7",
38
- "@atproto-labs/handle-resolver": "^0.4.8",
39
38
  "@atproto-labs/fetch": "^0.3.5",
39
+ "@atproto-labs/handle-resolver": "^0.4.8",
40
+ "@atproto-labs/identity-resolver": "^0.4.7",
40
41
  "@atproto-labs/simple-store": "^0.5.1",
41
- "@atproto/did": "^0.5.4",
42
42
  "@atproto-labs/simple-store-memory": "^0.2.6",
43
+ "@atproto/did": "^0.5.4",
43
44
  "@atproto/jwk": "^0.7.4",
44
- "@atproto/xrpc": "^0.8.9",
45
- "@atproto-labs/identity-resolver": "^0.4.7",
46
- "@atproto/oauth-types": "^0.7.5"
45
+ "@atproto/oauth-types": "^0.7.5",
46
+ "@atproto/xrpc": "^0.8.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "vitest": "^4.1.10"
50
50
  },
51
51
  "scripts": {
52
- "build": "tsgo --build tsconfig.build.json",
52
+ "build": "tsc --build tsconfig.build.json",
53
53
  "test": "vitest run"
54
54
  }
55
55
  }