@aws-sdk/signature-v4-multi-region 3.996.39 → 3.996.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,31 +11,23 @@ export type SignatureV4MultiRegionInit = SignatureV4Init &
11
11
  SignatureV4CryptoInit & {
12
12
  runtime?: string;
13
13
  };
14
- export declare class SignatureV4MultiRegion
15
- implements RequestPresigner, RequestSigner
16
- {
14
+ export declare class SignatureV4MultiRegion implements RequestPresigner, RequestSigner {
17
15
  private sigv4aSigner?;
18
16
  private readonly sigv4Signer;
19
17
  private readonly signerOptions;
20
18
  static sigv4aDependency(): "none" | "js" | "crt";
21
19
  constructor(options: SignatureV4MultiRegionInit);
22
- sign(
23
- requestToSign: HttpRequest,
24
- options?: RequestSigningArguments
25
- ): Promise<HttpRequest>;
20
+ sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise<HttpRequest>;
26
21
  signWithCredentials(
27
22
  requestToSign: HttpRequest,
28
23
  credentials: AwsCredentialIdentity,
29
- options?: RequestSigningArguments
30
- ): Promise<HttpRequest>;
31
- presign(
32
- originalRequest: HttpRequest,
33
- options?: RequestPresigningArguments
24
+ options?: RequestSigningArguments,
34
25
  ): Promise<HttpRequest>;
26
+ presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
35
27
  presignWithCredentials(
36
28
  originalRequest: HttpRequest,
37
29
  credentials: AwsCredentialIdentity,
38
- options?: RequestPresigningArguments
30
+ options?: RequestPresigningArguments,
39
31
  ): Promise<HttpRequest>;
40
32
  private getSigv4aSigner;
41
33
  }
@@ -11,11 +11,11 @@ export declare class SignatureV4SignWithCredentials extends SignatureV4 {
11
11
  signWithCredentials(
12
12
  requestToSign: IHttpRequest,
13
13
  credentials: AwsCredentialIdentity,
14
- options?: RequestSigningArguments
14
+ options?: RequestSigningArguments,
15
15
  ): Promise<IHttpRequest>;
16
16
  presignWithCredentials(
17
17
  requestToSign: IHttpRequest,
18
18
  credentials: AwsCredentialIdentity,
19
- options?: RequestPresigningArguments
19
+ options?: RequestPresigningArguments,
20
20
  ): Promise<IHttpRequest>;
21
21
  }
@@ -1,9 +1,3 @@
1
- export {
2
- SignatureV4MultiRegionInit,
3
- SignatureV4MultiRegion,
4
- } from "./SignatureV4MultiRegion";
5
- export {
6
- OptionalCrtSignerV4,
7
- signatureV4CrtContainer,
8
- } from "./signature-v4-crt-container";
1
+ export { SignatureV4MultiRegionInit, SignatureV4MultiRegion } from "./SignatureV4MultiRegion";
2
+ export { OptionalCrtSignerV4, signatureV4CrtContainer } from "./signature-v4-crt-container";
9
3
  export { SignatureV4SignWithCredentials } from "./SignatureV4SignWithCredentials";
@@ -11,7 +11,7 @@ export type OptionalCrtSignerV4 = {
11
11
  signWithCredentials(
12
12
  requestToSign: HttpRequest,
13
13
  credentials: AwsCredentialIdentity,
14
- options: RequestSigningArguments
14
+ options: RequestSigningArguments,
15
15
  ): Promise<HttpRequest>;
16
16
  };
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.39",
3
+ "version": "3.996.41",
4
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "AWS SDK for JavaScript Team",
8
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
13
+ "directory": "packages/signature-v4-multi-region"
14
+ },
15
+ "files": [
16
+ "dist-*/**"
17
+ ],
18
+ "sideEffects": false,
19
+ "main": "./dist-cjs/index.js",
20
+ "module": "./dist-es/index.js",
21
+ "types": "./dist-types/index.d.ts",
22
+ "typesVersions": {
23
+ "<4.5": {
24
+ "dist-types/*": [
25
+ "dist-types/ts3.4/*"
26
+ ]
27
+ }
28
+ },
4
29
  "scripts": {
5
30
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
31
  "build:browser": "node ./test-browser/browser-build/esbuild",
@@ -16,19 +41,10 @@
16
41
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
17
42
  "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
18
43
  },
19
- "main": "./dist-cjs/index.js",
20
- "module": "./dist-es/index.js",
21
- "types": "./dist-types/index.d.ts",
22
- "sideEffects": false,
23
- "author": {
24
- "name": "AWS SDK for JavaScript Team",
25
- "url": "https://aws.amazon.com/sdk-for-javascript/"
26
- },
27
- "license": "Apache-2.0",
28
44
  "dependencies": {
29
- "@aws-sdk/types": "^3.974.0",
30
- "@smithy/signature-v4": "^5.6.3",
31
- "@smithy/types": "^4.16.0",
45
+ "@aws-sdk/types": "^3.974.2",
46
+ "@smithy/signature-v4": "^5.6.5",
47
+ "@smithy/types": "^4.16.1",
32
48
  "tslib": "^2.6.2"
33
49
  },
34
50
  "devDependencies": {
@@ -40,21 +56,5 @@
40
56
  },
41
57
  "engines": {
42
58
  "node": ">=20.0.0"
43
- },
44
- "typesVersions": {
45
- "<4.5": {
46
- "dist-types/*": [
47
- "dist-types/ts3.4/*"
48
- ]
49
- }
50
- },
51
- "files": [
52
- "dist-*/**"
53
- ],
54
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
55
- "repository": {
56
- "type": "git",
57
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
58
- "directory": "packages/signature-v4-multi-region"
59
59
  }
60
60
  }