@smithy/middleware-retry
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -360,2 +360,3 @@ var __defProp = Object.defineProperty; | ||
const errorInfo = { | ||
error, | ||
errorType: getRetryErrorType(error) | ||
@@ -362,0 +363,0 @@ }; |
@@ -70,2 +70,3 @@ import { HttpRequest, HttpResponse } from "@smithy/protocol-http"; | ||
const errorInfo = { | ||
error, | ||
errorType: getRetryErrorType(error), | ||
@@ -72,0 +73,0 @@ }; |
@@ -19,3 +19,6 @@ import { LoadedConfigSelectors } from "@smithy/node-config-provider"; | ||
} | ||
interface PreviouslyResolved { | ||
/** | ||
* @internal | ||
*/ | ||
export interface PreviouslyResolved { | ||
/** | ||
@@ -27,2 +30,5 @@ * Specifies provider for retry algorithm to use. | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface RetryResolvedConfig { | ||
@@ -42,2 +48,1 @@ /** | ||
export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors<string>; | ||
export {}; |
import { SdkError } from "@smithy/types"; | ||
/** | ||
* @deprecated this is only used in the deprecated StandardRetryStrategy. Do not use in new code. | ||
*/ | ||
export declare const defaultRetryDecider: (error: SdkError) => boolean; |
@@ -19,3 +19,6 @@ import { LoadedConfigSelectors } from "@smithy/node-config-provider"; | ||
} | ||
interface PreviouslyResolved { | ||
/** | ||
* @internal | ||
*/ | ||
export interface PreviouslyResolved { | ||
/** | ||
@@ -27,2 +30,5 @@ * Specifies provider for retry algorithm to use. | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface RetryResolvedConfig { | ||
@@ -42,2 +48,1 @@ /** | ||
export declare const NODE_RETRY_MODE_CONFIG_OPTIONS: LoadedConfigSelectors<string>; | ||
export {}; |
import { SdkError } from "@smithy/types"; | ||
/** | ||
* @deprecated this is only used in the deprecated StandardRetryStrategy. Do not use in new code. | ||
*/ | ||
export declare const defaultRetryDecider: (error: SdkError) => boolean; |
{ | ||
"name": "@smithy/middleware-retry", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"scripts": { | ||
@@ -34,9 +34,9 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"dependencies": { | ||
"@smithy/node-config-provider": "^2.2.2", | ||
"@smithy/protocol-http": "^3.2.0", | ||
"@smithy/service-error-classification": "^2.1.2", | ||
"@smithy/smithy-client": "^2.4.0", | ||
"@smithy/types": "^2.10.0", | ||
"@smithy/util-middleware": "^2.1.2", | ||
"@smithy/util-retry": "^2.1.2", | ||
"@smithy/node-config-provider": "^2.2.3", | ||
"@smithy/protocol-http": "^3.2.1", | ||
"@smithy/service-error-classification": "^2.1.3", | ||
"@smithy/smithy-client": "^2.4.1", | ||
"@smithy/types": "^2.10.1", | ||
"@smithy/util-middleware": "^2.1.3", | ||
"@smithy/util-retry": "^2.1.3", | ||
"tslib": "^2.5.0", | ||
@@ -46,3 +46,3 @@ "uuid": "^8.3.2" | ||
"devDependencies": { | ||
"@smithy/util-test": "^0.1.15", | ||
"@smithy/util-test": "^0.1.16", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -49,0 +49,0 @@ "@types/uuid": "^8.3.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65322
1174