Socket
Socket
Sign inDemoInstall

@smithy/types

Package Overview
Dependencies
Maintainers
2
Versions
37
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 3.5.0 to 3.6.0

dist-cjs/feature-ids.js

1

dist-es/index.js

@@ -14,2 +14,3 @@ export * from "./abort";

export * from "./extensions";
export * from "./feature-ids";
export * from "./http";

@@ -16,0 +17,0 @@ export * from "./http/httpHandlerInitialization";

@@ -14,2 +14,3 @@ export * from "./abort";

export * from "./extensions";
export * from "./feature-ids";
export * from "./http";

@@ -16,0 +17,0 @@ export * from "./http/httpHandlerInitialization";

@@ -1,5 +0,8 @@

import { AuthScheme, HttpAuthDefinition } from "./auth/auth";
import { EndpointV2 } from "./endpoint";
import { Logger } from "./logger";
import { UserAgent } from "./util";
import type { AuthScheme, HttpAuthDefinition } from "./auth/auth";
import type { SelectedHttpAuthScheme } from "./auth/HttpAuthScheme";
import type { Command } from "./command";
import type { EndpointV2 } from "./endpoint";
import type { SmithyFeatures } from "./feature-ids";
import type { Logger } from "./logger";
import type { UserAgent } from "./util";
/**

@@ -487,2 +490,3 @@ * @public

/**
* @deprecated do not extend this field, it is a carryover from AWS SDKs.
* Used by DynamoDbDocumentClient.

@@ -496,5 +500,25 @@ */

* @internal
* Context for Smithy properties
* Context for Smithy properties.
*/
[SMITHY_CONTEXT_KEY]?: Record<string, unknown>;
[SMITHY_CONTEXT_KEY]?: {
service?: string;
operation?: string;
commandInstance?: Command<any, any, any, any, any>;
selectedHttpAuthScheme?: SelectedHttpAuthScheme;
features?: SmithyFeatures;
/**
* @deprecated
* Do not assign arbitrary members to the Smithy Context,
* fields should be explicitly declared here to avoid collisions.
*/
[key: string]: unknown;
};
/**
* @deprecated
* Do not assign arbitrary members to the context, since
* they can interfere with existing functionality.
*
* Additional members should instead be declared on the SMITHY_CONTEXT_KEY
* or other reserved keys.
*/
[key: string]: any;

@@ -501,0 +525,0 @@ }

@@ -14,2 +14,3 @@ export * from "./abort";

export * from "./extensions";
export * from "./feature-ids";
export * from "./http";

@@ -16,0 +17,0 @@ export * from "./http/httpHandlerInitialization";

import { AuthScheme, HttpAuthDefinition } from "./auth/auth";
import { SelectedHttpAuthScheme } from "./auth/HttpAuthScheme";
import { Command } from "./command";
import { EndpointV2 } from "./endpoint";
import { SmithyFeatures } from "./feature-ids";
import { Logger } from "./logger";

@@ -487,2 +490,3 @@ import { UserAgent } from "./util";

/**
* @deprecated do not extend this field, it is a carryover from AWS SDKs.
* Used by DynamoDbDocumentClient.

@@ -496,5 +500,25 @@ */

* @internal
* Context for Smithy properties
* Context for Smithy properties.
*/
[SMITHY_CONTEXT_KEY]?: Record<string, unknown>;
[SMITHY_CONTEXT_KEY]?: {
service?: string;
operation?: string;
commandInstance?: Command<any, any, any, any, any>;
selectedHttpAuthScheme?: SelectedHttpAuthScheme;
features?: SmithyFeatures;
/**
* @deprecated
* Do not assign arbitrary members to the Smithy Context,
* fields should be explicitly declared here to avoid collisions.
*/
[key: string]: unknown;
};
/**
* @deprecated
* Do not assign arbitrary members to the context, since
* they can interfere with existing functionality.
*
* Additional members should instead be declared on the SMITHY_CONTEXT_KEY
* or other reserved keys.
*/
[key: string]: any;

@@ -501,0 +525,0 @@ }

2

package.json
{
"name": "@smithy/types",
"version": "3.5.0",
"version": "3.6.0",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc