Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/types

Package Overview
Dependencies
Maintainers
5
Versions
150
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.338.0 to 3.341.0

18

dist-types/retry.d.ts

@@ -86,19 +86,5 @@ /**

/**
* @returns wheather token has remaining tokens.
* @returns the cost of the last retry attempt.
*/
hasRetryTokens(errorType: RetryErrorType): boolean;
/**
* @returns the number of available tokens.
*/
getRetryTokenCount(errorInfo: RetryErrorInfo): number;
/**
* @returns the cost of the last retry attemp.
*/
getLastRetryCost(): number | undefined;
/**
* Releases a number of tokens.
*
* @param amount - of tokens to release.
*/
releaseRetryTokens(amount?: number): void;
getRetryCost(): number | undefined;
}

@@ -105,0 +91,0 @@ /**

5

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

@@ -25,6 +25,3 @@ export type RetryErrorType =

export interface StandardRetryToken extends RetryToken {
hasRetryTokens(errorType: RetryErrorType): boolean;
getRetryTokenCount(errorInfo: RetryErrorInfo): number;
getLastRetryCost(): number | undefined;
releaseRetryTokens(amount?: number): void;
getRetryCost(): number | undefined;
}

@@ -31,0 +28,0 @@ export interface RetryStrategyV2 {

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

@@ -5,0 +5,0 @@ "module": "./dist-es/index.js",

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