@smithy/types
Advanced tools
Comparing version
@@ -81,8 +81,7 @@ var __defProp = Object.defineProperty; | ||
return { | ||
_checksumAlgorithms: checksumAlgorithms, | ||
addChecksumAlgorithm(algo) { | ||
this._checksumAlgorithms.push(algo); | ||
checksumAlgorithms.push(algo); | ||
}, | ||
checksumAlgorithms() { | ||
return this._checksumAlgorithms; | ||
return checksumAlgorithms; | ||
} | ||
@@ -101,10 +100,6 @@ }; | ||
var getDefaultClientConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { | ||
return { | ||
...getChecksumConfiguration(runtimeConfig) | ||
}; | ||
return getChecksumConfiguration(runtimeConfig); | ||
}, "getDefaultClientConfiguration"); | ||
var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => { | ||
return { | ||
...resolveChecksumRuntimeConfig(config) | ||
}; | ||
return resolveChecksumRuntimeConfig(config); | ||
}, "resolveDefaultRuntimeConfig"); | ||
@@ -111,0 +106,0 @@ |
@@ -24,8 +24,7 @@ export var AlgorithmId; | ||
return { | ||
_checksumAlgorithms: checksumAlgorithms, | ||
addChecksumAlgorithm(algo) { | ||
this._checksumAlgorithms.push(algo); | ||
checksumAlgorithms.push(algo); | ||
}, | ||
checksumAlgorithms() { | ||
return this._checksumAlgorithms; | ||
return checksumAlgorithms; | ||
}, | ||
@@ -32,0 +31,0 @@ }; |
import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum"; | ||
export const getDefaultClientConfiguration = (runtimeConfig) => { | ||
return { | ||
...getChecksumConfiguration(runtimeConfig), | ||
}; | ||
return getChecksumConfiguration(runtimeConfig); | ||
}; | ||
export const resolveDefaultRuntimeConfig = (config) => { | ||
return { | ||
...resolveChecksumRuntimeConfig(config), | ||
}; | ||
return resolveChecksumRuntimeConfig(config); | ||
}; |
{ | ||
"name": "@smithy/types", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"scripts": { | ||
@@ -13,3 +13,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", | ||
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
"test": "yarn g:tsc -p tsconfig.test.json", | ||
@@ -43,6 +43,6 @@ "extract:docs": "api-extractor run --local" | ||
], | ||
"homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/types", | ||
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/awslabs/smithy-typescript.git", | ||
"url": "https://github.com/smithy-lang/smithy-typescript.git", | ||
"directory": "packages/types" | ||
@@ -49,0 +49,0 @@ }, |
246921
-0.07%6976
-0.14%