From 407b71716f67b21f819166998fc07d557a018c6a Mon Sep 17 00:00:00 2001 From: Kakious Date: Mon, 15 Jul 2024 12:56:12 -0400 Subject: [PATCH] fix: bug in interface --- package.json | 2 +- src/postal.interface.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9b59ad1..7e41ade 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nestjs-postal-client", - "version": "0.0.1", + "version": "0.0.2", "description": "NestJS client for Postal", "author": "kakious", "license": "UNLICENSED", diff --git a/src/postal.interface.ts b/src/postal.interface.ts index cb1e4b4..17ee666 100644 --- a/src/postal.interface.ts +++ b/src/postal.interface.ts @@ -6,7 +6,7 @@ import type { Type, } from '@nestjs/common'; import type { AxiosRequestConfig } from 'axios'; -import { IAxiosRetryReturn } from 'axios-retry'; +import { IAxiosRetryConfig } from 'axios-retry'; import { createAssert } from 'typia'; export interface PostalServiceOptions { @@ -17,7 +17,7 @@ export interface PostalServiceOptions { export const assertPostalServiceOptions = createAssert(); export interface PostalModuleOptions { - http: Omit & IAxiosRetryReturn; + http: Omit & IAxiosRetryConfig; postal: PostalServiceOptions; }