Socket
Socket
Sign inDemoInstall

@aws-sdk/types

Package Overview
Dependencies
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/types - npm Package Compare versions

Comparing version 3.54.1 to 3.55.0

9

dist-types/profile.d.ts

@@ -1,16 +0,7 @@

/**
* @internal
*/
export interface Profile {
[key: string]: string | undefined;
}
/**
* @internal
*/
export interface ParsedIniData {
[key: string]: Profile;
}
/**
* @internal
*/
export interface SharedConfigFiles {

@@ -17,0 +8,0 @@ credentialsFile: ParsedIniData;

3

dist-types/ts3.4/profile.d.ts

@@ -1,10 +0,7 @@

export interface Profile {
[key: string]: string | undefined;
}
export interface ParsedIniData {
[key: string]: Profile;
}
export interface SharedConfigFiles {

@@ -11,0 +8,0 @@ credentialsFile: ParsedIniData;

6

dist-types/ts3.4/util.d.ts

@@ -17,2 +17,8 @@ import { Endpoint } from "./http";

export interface MemoizedProvider<T> {
(options?: {
forceRefresh?: boolean;
}): Promise<T>;
}
export interface BodyLengthCalculator {

@@ -19,0 +25,0 @@ (body: any): number | undefined;

@@ -37,2 +37,21 @@ import { Endpoint } from "./http";

/**
* A function that, when invoked, returns a promise that will be fulfilled with
* a value of type T. It memoizes the result from the previous invocation
* instead of calling the underlying resources every time.
*
* You can force the provider to refresh the memoized value by invoke the
* function with optional parameter hash with `forceRefresh` boolean key and
* value `true`.
*
* @example A function that reads credentials from IMDS service that could
* return expired credentials. The SDK will keep using the expired credentials
* until an unretryable service error requiring a force refresh of the
* credentials.
*/
export interface MemoizedProvider<T> {
(options?: {
forceRefresh?: boolean;
}): Promise<T>;
}
/**
* A function that, given a request body, determines the

@@ -39,0 +58,0 @@ * length of the body. This is used to determine the Content-Length

{
"name": "@aws-sdk/types",
"version": "3.54.1",
"version": "3.55.0",
"main": "./dist-cjs/index.js",

@@ -47,4 +47,4 @@ "module": "./dist-es/index.js",

"typedoc": "0.19.2",
"typescript": "~4.3.5"
"typescript": "~4.6.2"
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc