Socket
Socket
Sign inDemoInstall

@aws-sdk/types

Package Overview
Dependencies
1
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.226.0 to 3.254.0

9

dist-types/checksum.d.ts

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

import { SourceData } from "./crypto";
/**

@@ -51,1 +52,9 @@ * An object that provides a checksum of data provided in chunks to `update`.

}
/**
* A constructor for a Checksum that may be used to calculate an HMAC. Implementing
* classes should not directly hold the provided key in memory beyond the
* lexical scope of the constructor.
*/
export interface ChecksumConstructor {
new (secret?: SourceData): Checksum;
}

2

dist-types/crypto.d.ts

@@ -29,2 +29,4 @@ export declare type SourceData = string | ArrayBuffer | ArrayBufferView;

* lexical scope of the constructor.
*
* @deprecated use {@link ChecksumConstructor}
*/

@@ -31,0 +33,0 @@ export interface HashConstructor {

3

dist-types/stream.d.ts

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

import { ChecksumConstructor } from "./checksum";
import { HashConstructor, StreamHasher } from "./crypto";

@@ -6,3 +7,3 @@ import { BodyLengthCalculator, Encoder } from "./util";

bodyLengthChecker: BodyLengthCalculator;
checksumAlgorithmFn?: HashConstructor;
checksumAlgorithmFn?: ChecksumConstructor | HashConstructor;
checksumLocationName?: string;

@@ -9,0 +10,0 @@ streamHasher?: StreamHasher;

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

import { SourceData } from "./crypto";
export interface Checksum {

@@ -9,1 +10,4 @@ digestLength?: number;

}
export interface ChecksumConstructor {
new (secret?: SourceData): Checksum;
}

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

import { ChecksumConstructor } from "./checksum";
import { HashConstructor, StreamHasher } from "./crypto";

@@ -6,3 +7,3 @@ import { BodyLengthCalculator, Encoder } from "./util";

bodyLengthChecker: BodyLengthCalculator;
checksumAlgorithmFn?: HashConstructor;
checksumAlgorithmFn?: ChecksumConstructor | HashConstructor;
checksumLocationName?: string;

@@ -9,0 +10,0 @@ streamHasher?: StreamHasher;

{
"name": "@aws-sdk/types",
"version": "3.226.0",
"version": "3.254.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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc