@smithy/types
Advanced tools
Comparing version 2.2.1 to 2.2.2
"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"; |
{ | ||
"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'", |
199263
203
5504