From 60d896f3c56b9b34158b2628f4ca0d69b99d10c9 Mon Sep 17 00:00:00 2001 From: Louis <46361622+louis-lemon@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:59:02 +0900 Subject: [PATCH] chore: update version (#26) --- package-lock.json | 4 ++-- src/core/identity.service.ts | 3 ++- src/helper/types/lemon-options.type.ts | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec7696c..ddc6c63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lemoncloud/lemon-front-lib", - "version": "1.2.7", + "version": "1.3.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lemoncloud/lemon-front-lib", - "version": "1.2.7", + "version": "1.3.8", "license": "MIT", "dependencies": { "aws-sdk": "2.585.0", diff --git a/src/core/identity.service.ts b/src/core/identity.service.ts index 5e97c28..4c3b97f 100644 --- a/src/core/identity.service.ts +++ b/src/core/identity.service.ts @@ -13,11 +13,12 @@ import { LemonRefreshTokenResult, LoggerService, } from '../helper'; +import { AxiosRequestConfig } from 'axios'; export class IdentityService { private oauthURL: string; private extraHeader: any = {}; - private extraOptions: any = {}; + private extraOptions: Omit = {}; private shouldUseXLemonIdentity: boolean = false; private readonly lemonStorage: LemonStorageService; diff --git a/src/helper/types/lemon-options.type.ts b/src/helper/types/lemon-options.type.ts index 837ae84..577db31 100644 --- a/src/helper/types/lemon-options.type.ts +++ b/src/helper/types/lemon-options.type.ts @@ -1,3 +1,5 @@ +import { AxiosRequestConfig } from 'axios'; + /** * default options for initializing service */ @@ -17,7 +19,7 @@ export interface LemonOptions { /** * extra options for axios request */ - extraOptions?: any; + extraOptions?: Omit; /** * whether to add the x-lemon-identity to request header */