Socket
Socket
Sign inDemoInstall

@smithy/types

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/types - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

7

dist-types/retry.d.ts

@@ -0,1 +1,2 @@

import { SdkError } from "./shapes";
/**

@@ -32,2 +33,6 @@ * @public

export interface RetryErrorInfo {
/**
* The error thrown during the initial request, if available.
*/
error?: SdkError;
errorType: RetryErrorType;

@@ -39,3 +44,3 @@ /**

*
* @returns the Date after which a retry should be attempted.
* The Date after which a retry should be attempted.
*/

@@ -42,0 +47,0 @@ retryAfterHint?: Date;

@@ -72,2 +72,11 @@ import { HttpResponse } from "./http";

*/
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & {
$metadata?: Partial<MetadataBearer>["$metadata"] & {
/**
* If present, will have value of true and indicates that the error resulted in a
* correction of the clock skew, a.k.a. config.systemClockOffset.
* This is specific to AWS SDK and sigv4.
*/
readonly clockSkewCorrected?: true;
};
};

@@ -0,1 +1,2 @@

import { SdkError } from "./shapes";
/**

@@ -32,2 +33,6 @@ * @public

export interface RetryErrorInfo {
/**
* The error thrown during the initial request, if available.
*/
error?: SdkError;
errorType: RetryErrorType;

@@ -39,3 +44,3 @@ /**

*
* @returns the Date after which a retry should be attempted.
* The Date after which a retry should be attempted.
*/

@@ -42,0 +47,0 @@ retryAfterHint?: Date;

@@ -72,2 +72,11 @@ import { HttpResponse } from "./http";

*/
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & {
$metadata?: Partial<MetadataBearer>["$metadata"] & {
/**
* If present, will have value of true and indicates that the error resulted in a
* correction of the clock skew, a.k.a. config.systemClockOffset.
* This is specific to AWS SDK and sigv4.
*/
readonly clockSkewCorrected?: true;
};
};

2

package.json
{
"name": "@smithy/types",
"version": "2.10.0",
"version": "2.10.1",
"scripts": {

@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",

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