Skip to content

Commit

Permalink
Merge pull request #16 from lemoncloud-io/feature/louis-update-build3
Browse files Browse the repository at this point in the history
chore: consolidate AWS import statement
  • Loading branch information
louis-lemon authored Jun 5, 2024
2 parents 34ff11c + 15bafc8 commit 1b60a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/aws-web.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 * as AWS from 'aws-sdk/global.js';
import AWS from 'aws-sdk/global';

/**
* AWSWebCore class implements AWS-based operations for Lemoncloud authentication logic
Expand Down
2 changes: 1 addition & 1 deletion src/http/aws-http-request.builder.ts
Original file line number Diff line number Diff line change
@@ -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 * as AWS from 'aws-sdk/global.js';
import AWS from 'aws-sdk/global';
import { sigV4Client } from '../vendor';
import { isEmptyObject, LoggerService } from '../utils';

Expand Down

0 comments on commit 1b60a28

Please sign in to comment.