You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@smithy/types

Package Overview
Dependencies
Maintainers
3
Versions
45
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

to
4.2.0

13

dist-cjs/index.js

@@ -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 @@ },