@smithy/types
Advanced tools
Comparing version 3.5.0 to 3.6.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"; |
@@ -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 @@ } |
{ | ||
"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'", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243472
263
6686