From 3ba2345565416fbace959186d72933614284cceb Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Tue, 24 Sep 2024 00:14:37 +0400 Subject: [PATCH] fixes --- package-lock.json | 2 +- package.json | 2 +- src/custom/auth.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e033cc8..5b84cb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "ISC", "dependencies": { - "aws-sdk": "^2.1311.0", + "aws-sdk": "2.1311.0", "aws4": "^1.13.2", "axios": "^1.7.5", "typescript": "^5.5.4", diff --git a/package.json b/package.json index 6c487e7..e0c0687 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "tsup": "^8.2.4" }, "dependencies": { - "aws-sdk": "^2.1311.0", + "aws-sdk": "2.1311.0", "aws4": "^1.13.2", "axios": "^1.7.5", "typescript": "^5.5.4", diff --git a/src/custom/auth.ts b/src/custom/auth.ts index db3ec3b..ae9b699 100644 --- a/src/custom/auth.ts +++ b/src/custom/auth.ts @@ -3,7 +3,6 @@ import { ApiV1AuthUniversalAuthLoginPostRequest } from "../infisicalapi_client"; import { DefaultApi as InfisicalApi } from "../infisicalapi_client"; import { MACHINE_IDENTITY_ID_ENV_NAME } from "./constants"; import { getAwsRegion, performAwsIamLogin } from "./util"; -import AWS from "aws-sdk"; type AuthenticatorFunction = (accessToken: string) => InfisicalSDK;