@smithy/smithy-client
Advanced tools
Comparing version 2.4.5 to 2.5.0
@@ -292,5 +292,4 @@ var __defProp = Object.defineProperty; | ||
*/ | ||
constructor(input) { | ||
constructor(...[input]) { | ||
super(); | ||
this.input = input; | ||
/** | ||
@@ -306,2 +305,3 @@ * @internal | ||
this.deserialize = closure._deserializer; | ||
this.input = input ?? {}; | ||
closure._init(this); | ||
@@ -308,0 +308,0 @@ } |
@@ -93,7 +93,7 @@ import { constructStack } from "@smithy/middleware-stack"; | ||
} | ||
constructor(input) { | ||
constructor(...[input]) { | ||
super(); | ||
this.input = input; | ||
this.serialize = closure._serializer; | ||
this.deserialize = closure._deserializer; | ||
this.input = input ?? {}; | ||
closure._init(this); | ||
@@ -100,0 +100,0 @@ } |
import type { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, Pluggable, RequestHandler, SerdeContext } from "@smithy/types"; | ||
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types"; | ||
/** | ||
@@ -98,2 +98,3 @@ * @public | ||
new (input: I): CommandImpl<I, O, C, SI, SO>; | ||
new (...[input]: OptionalParameter<I>): CommandImpl<I, O, C, SI, SO>; | ||
getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
@@ -100,0 +101,0 @@ }; |
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, Pluggable, RequestHandler, SerdeContext } from "@smithy/types"; | ||
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types"; | ||
/** | ||
@@ -98,2 +98,3 @@ * @public | ||
new (input: I): CommandImpl<I, O, C, SI, SO>; | ||
new (...[input]: OptionalParameter<I>): CommandImpl<I, O, C, SI, SO>; | ||
getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
@@ -100,0 +101,0 @@ }; |
{ | ||
"name": "@smithy/smithy-client", | ||
"version": "2.4.5", | ||
"version": "2.5.0", | ||
"scripts": { | ||
@@ -26,8 +26,8 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"dependencies": { | ||
"@smithy/middleware-endpoint": "^2.4.6", | ||
"@smithy/middleware-stack": "^2.1.4", | ||
"@smithy/protocol-http": "^3.2.2", | ||
"@smithy/types": "^2.11.0", | ||
"@smithy/util-stream": "^2.1.5", | ||
"tslib": "^2.5.0" | ||
"@smithy/middleware-endpoint": "^2.5.0", | ||
"@smithy/middleware-stack": "^2.2.0", | ||
"@smithy/protocol-http": "^3.3.0", | ||
"@smithy/types": "^2.12.0", | ||
"@smithy/util-stream": "^2.2.0", | ||
"tslib": "^2.6.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "engines": { |
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
167547
4126
Updated@smithy/protocol-http@^3.3.0
Updated@smithy/types@^2.12.0
Updated@smithy/util-stream@^2.2.0
Updatedtslib@^2.6.2