diff --git a/src/NWCClient.ts b/src/NWCClient.ts index 715ef4f..db5ef37 100644 --- a/src/NWCClient.ts +++ b/src/NWCClient.ts @@ -146,8 +146,10 @@ export class Nip47Error extends Error { * A NIP-47 response was received, but with an error code (see https://github.com/nostr-protocol/nips/blob/master/47.md#error-codes) */ export class Nip47WalletError extends Nip47Error {} -export class Nip47PublishTimeoutError extends Nip47Error {} -export class Nip47ReplyTimeoutError extends Nip47Error {} + +export class Nip47TimeoutError extends Nip47Error {} +export class Nip47PublishTimeoutError extends Nip47TimeoutError {} +export class Nip47ReplyTimeoutError extends Nip47TimeoutError {} export class Nip47PublishError extends Nip47Error {} export class Nip47ResponseDecodingError extends Nip47Error {} export class Nip47ResponseValidationError extends Nip47Error {}