diff --git a/src/core/aws-web.core.ts b/src/core/aws-web.core.ts index c2d8fda..98b066d 100644 --- a/src/core/aws-web.core.ts +++ b/src/core/aws-web.core.ts @@ -3,7 +3,7 @@ import { AWSStorageService, USE_X_LEMON_IDENTITY_KEY } from '../token-storage'; import { calcSignature, LoggerService } from '../utils'; import { AxiosRequestConfig, AxiosResponse } from 'axios'; import { AWSHttpRequestBuilder } from '../http'; -import AWS from 'aws-sdk/global'; +import AWS from 'aws-sdk/global.js'; /** * AWSWebCore class implements AWS-based operations for Lemoncloud authentication logic diff --git a/src/http/aws-http-request.builder.ts b/src/http/aws-http-request.builder.ts index 40f6ca1..6892753 100644 --- a/src/http/aws-http-request.builder.ts +++ b/src/http/aws-http-request.builder.ts @@ -1,7 +1,7 @@ import axios, { AxiosHeaders, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'; import { Body, Headers, HttpRequestData, Params } from '../types'; import { AWSStorageService, REGION_KEY, USE_X_LEMON_IDENTITY_KEY } from '../token-storage'; -import AWS from 'aws-sdk/global'; +import AWS from 'aws-sdk/global.js'; import { sigV4Client } from '../vendor'; import { isEmptyObject, LoggerService } from '../utils';