Socket
Socket
Sign inDemoInstall

@smithy/types

Package Overview
Dependencies
1
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.2.2

dist-cjs/extensions/defaultExtensionConfiguration.js

4

dist-cjs/extensions/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AlgorithmId = void 0;
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./defaultClientConfiguration"), exports);
tslib_1.__exportStar(require("./defaultExtensionConfiguration"), exports);
var checksum_1 = require("./checksum");
Object.defineProperty(exports, "AlgorithmId", { enumerable: true, get: function () { return checksum_1.AlgorithmId; } });
export * from "./defaultClientConfiguration";
export * from "./defaultExtensionConfiguration";
export { AlgorithmId } from "./checksum";

@@ -20,7 +20,16 @@ import { ChecksumConstructor } from "../checksum";

}
/**
* @internal
*/
export interface ChecksumConfiguration {
addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
checksumAlgorithms(): ChecksumAlgorithm[];
/**
* @deprecated unused.
*/
[other: string | number]: any;
}
/**
* @deprecated will be removed for implicit type.
*/
type GetChecksumConfigurationType = (runtimeConfig: Partial<{

@@ -32,9 +41,15 @@ sha256: ChecksumConstructor | HashConstructor;

* @internal
* @deprecated will be moved to smithy-client.
*/
export declare const getChecksumConfiguration: GetChecksumConfigurationType;
/**
* @deprecated will be removed for implicit type.
*/
type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any;
/**
* @internal
*
* @deprecated will be moved to smithy-client.
*/
export declare const resolveChecksumRuntimeConfig: ResolveChecksumRuntimeConfigType;
export {};
import { ChecksumConfiguration } from "./checksum";
/**
* @deprecated will be replaced by DefaultExtensionConfiguration.
* @internal

@@ -9,11 +10,20 @@ *

}
/**
* @deprecated will be removed for implicit type.
*/
type GetDefaultConfigurationType = (runtimeConfig: any) => DefaultClientConfiguration;
/**
* @deprecated moving to @smithy/smithy-client.
* @internal
*
* Helper function to resolve default client configuration from runtime config
*
*/
export declare const getDefaultClientConfiguration: GetDefaultConfigurationType;
/**
* @deprecated will be removed for implicit type.
*/
type ResolveDefaultRuntimeConfigType = (clientConfig: DefaultClientConfiguration) => any;
/**
* @deprecated moving to @smithy/smithy-client.
* @internal

@@ -20,0 +30,0 @@ *

export * from "./defaultClientConfiguration";
export * from "./defaultExtensionConfiguration";
export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration } from "./checksum";

@@ -20,7 +20,16 @@ import { ChecksumConstructor } from "../checksum";

}
/**
* @internal
*/
export interface ChecksumConfiguration {
addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
checksumAlgorithms(): ChecksumAlgorithm[];
/**
* @deprecated unused.
*/
[other: string | number]: any;
}
/**
* @deprecated will be removed for implicit type.
*/
type GetChecksumConfigurationType = (runtimeConfig: Partial<{

@@ -32,9 +41,15 @@ sha256: ChecksumConstructor | HashConstructor;

* @internal
* @deprecated will be moved to smithy-client.
*/
export declare const getChecksumConfiguration: GetChecksumConfigurationType;
/**
* @deprecated will be removed for implicit type.
*/
type ResolveChecksumRuntimeConfigType = (clientConfig: ChecksumConfiguration) => any;
/**
* @internal
*
* @deprecated will be moved to smithy-client.
*/
export declare const resolveChecksumRuntimeConfig: ResolveChecksumRuntimeConfigType;
export {};
import { ChecksumConfiguration } from "./checksum";
/**
* @deprecated will be replaced by DefaultExtensionConfiguration.
* @internal

@@ -9,11 +10,20 @@ *

}
/**
* @deprecated will be removed for implicit type.
*/
type GetDefaultConfigurationType = (runtimeConfig: any) => DefaultClientConfiguration;
/**
* @deprecated moving to @smithy/smithy-client.
* @internal
*
* Helper function to resolve default client configuration from runtime config
*
*/
export declare const getDefaultClientConfiguration: GetDefaultConfigurationType;
/**
* @deprecated will be removed for implicit type.
*/
type ResolveDefaultRuntimeConfigType = (clientConfig: DefaultClientConfiguration) => any;
/**
* @deprecated moving to @smithy/smithy-client.
* @internal

@@ -20,0 +30,0 @@ *

export * from "./defaultClientConfiguration";
export * from "./defaultExtensionConfiguration";
export { AlgorithmId, ChecksumAlgorithm, ChecksumConfiguration } from "./checksum";

2

package.json
{
"name": "@smithy/types",
"version": "2.2.1",
"version": "2.2.2",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc