We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dca1b5 commit 7acd3e8Copy full SHA for 7acd3e8
packages/signature-v4/src/SignatureV4.ts
@@ -201,10 +201,7 @@ export class SignatureV4
201
requestToSign: HttpRequest,
202
options?: RequestSigningArguments
203
): Promise<HttpRequest>;
204
- public async sign(
205
- toSign: any,
206
- { signingDate = new Date(), ...options }: any
207
- ): Promise<any> {
+ public async sign(toSign: any, options: any): Promise<any> {
208
if (typeof toSign === "string") {
209
return this.signString(toSign, options);
210
} else if (toSign.headers && toSign.payload) {
0 commit comments