@atcute/identity-resolver 1.1.0 → 1.1.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/dist/types.d.ts CHANGED
@@ -4,7 +4,7 @@ export interface ResolveDidDocumentOptions {
4
4
  signal?: AbortSignal;
5
5
  noCache?: boolean;
6
6
  }
7
- export interface DidDocumentResolver<TMethod extends string> {
7
+ export interface DidDocumentResolver<TMethod extends string = string> {
8
8
  resolve(did: Did<TMethod>, options?: ResolveDidDocumentOptions): Promise<DidDocument>;
9
9
  }
10
10
  export interface ResolveHandleOptions {
package/lib/types.ts CHANGED
@@ -6,7 +6,7 @@ export interface ResolveDidDocumentOptions {
6
6
  noCache?: boolean;
7
7
  }
8
8
 
9
- export interface DidDocumentResolver<TMethod extends string> {
9
+ export interface DidDocumentResolver<TMethod extends string = string> {
10
10
  resolve(did: Did<TMethod>, options?: ResolveDidDocumentOptions): Promise<DidDocument>;
11
11
  }
12
12
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/identity-resolver",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "atproto handle and DID document resolution",
6
6
  "keywords": [
7
7
  "atproto",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@badrap/valita": "^0.4.4",
30
- "@atcute/util-fetch": "^1.0.1",
31
- "@atcute/lexicons": "^1.0.3"
30
+ "@atcute/lexicons": "^1.0.4",
31
+ "@atcute/util-fetch": "^1.0.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/bun": "^1.2.13",