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; }