@aoxborrow/registrar-client 0.8.0 → 0.9.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.
@@ -5,6 +5,7 @@ import type {
5
5
  RegistrarOptions,
6
6
  } from '../types';
7
7
  import { CloudflareRegistrar } from './cloudflare';
8
+ import { Domain101Registrar } from './domain101';
8
9
  import { DynadotRegistrar } from './dynadot';
9
10
  import { GandiRegistrar } from './gandi';
10
11
  import { GoDaddyRegistrar } from './godaddy';
@@ -17,16 +18,17 @@ import { SpaceshipRegistrar } from './spaceship';
17
18
 
18
19
  // the built-in registrar providers, keyed by id
19
20
  export const registrars = {
20
- cloudflare: CloudflareRegistrar,
21
- dynadot: DynadotRegistrar,
22
- gandi: GandiRegistrar,
23
- godaddy: GoDaddyRegistrar,
24
- namebright: NameBrightRegistrar,
25
- namecheap: NamecheapRegistrar,
26
- namecom: NamecomRegistrar,
27
- namesilo: NameSiloRegistrar,
28
- porkbun: PorkbunRegistrar,
29
- spaceship: SpaceshipRegistrar,
21
+ '101domain': Domain101Registrar,
22
+ 'cloudflare': CloudflareRegistrar,
23
+ 'dynadot': DynadotRegistrar,
24
+ 'gandi': GandiRegistrar,
25
+ 'godaddy': GoDaddyRegistrar,
26
+ 'namebright': NameBrightRegistrar,
27
+ 'namecheap': NamecheapRegistrar,
28
+ 'namecom': NamecomRegistrar,
29
+ 'namesilo': NameSiloRegistrar,
30
+ 'porkbun': PorkbunRegistrar,
31
+ 'spaceship': SpaceshipRegistrar,
30
32
  } satisfies Record<string, RegistrarConstructor>;
31
33
 
32
34
  // id of a built-in registrar
package/src/types.ts CHANGED
@@ -80,6 +80,9 @@ export interface ConnectionResult {
80
80
  export interface OperationResult {
81
81
  success: boolean;
82
82
  message: string;
83
+ // Accepted by the registrar but still pending registry processing. Callers
84
+ // must not optimistically display the requested state as already active.
85
+ pending?: boolean;
83
86
  // Present only on a failed write whose request may have reached the
84
87
  // registrar (timed out, connection dropped mid-response, or a 5xx). The
85
88
  // change may or may not have been applied: re-read the domain before trying