@atproto/identity 0.0.1 → 0.2.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.
@@ -4,5 +4,6 @@ export declare const getKey: (doc: DidDocument) => string | undefined;
4
4
  export declare const getHandle: (doc: DidDocument) => string | undefined;
5
5
  export declare const getPds: (doc: DidDocument) => string | undefined;
6
6
  export declare const getFeedGen: (doc: DidDocument) => string | undefined;
7
+ export declare const getNotif: (doc: DidDocument) => string | undefined;
7
8
  export declare const parseToAtprotoDocument: (doc: DidDocument) => Partial<AtprotoData>;
8
9
  export declare const ensureAtpDocument: (doc: DidDocument) => AtprotoData;
@@ -1,8 +1,13 @@
1
1
  import { HandleResolverOpts } from '../types';
2
2
  export declare class HandleResolver {
3
3
  timeout: number;
4
+ private backupNameservers;
5
+ private backupNameserverIps;
4
6
  constructor(opts?: HandleResolverOpts);
5
7
  resolve(handle: string): Promise<string | undefined>;
6
8
  resolveDns(handle: string): Promise<string | undefined>;
7
9
  resolveHttp(handle: string, signal?: AbortSignal): Promise<string | undefined>;
10
+ resolveDnsBackup(handle: string): Promise<string | undefined>;
11
+ parseDnsResult(chunkedResults: string[][]): string | undefined;
12
+ private getBackupNameserverIps;
8
13
  }