@aws-sdk/middleware-sdk-s3 3.972.13 → 3.972.15
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.
- package/dist-cjs/index.js +0 -1
- package/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -1
- package/dist-types/bucket-endpoint-middleware.d.ts +1 -1
- package/dist-types/check-content-length-header.d.ts +1 -1
- package/dist-types/region-redirect-endpoint-middleware.d.ts +2 -2
- package/dist-types/region-redirect-middleware.d.ts +1 -1
- package/dist-types/s3-expires-middleware.d.ts +1 -1
- package/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +1 -1
- package/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +1 -1
- package/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -3
- package/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +2 -2
- package/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +2 -2
- package/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +4 -4
- package/dist-types/s3-express/functions/signS3Express.d.ts +1 -1
- package/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +1 -1
- package/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +2 -2
- package/dist-types/s3Configuration.d.ts +1 -1
- package/dist-types/throw-200-exceptions.d.ts +1 -1
- package/dist-types/validate-bucket-name.d.ts +2 -2
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var signatureV4 = require('@smithy/signature-v4');
|
|
|
8
8
|
var utilConfigProvider = require('@smithy/util-config-provider');
|
|
9
9
|
var core = require('@aws-sdk/core');
|
|
10
10
|
var core$1 = require('@smithy/core');
|
|
11
|
-
require('@smithy/types');
|
|
12
11
|
var utilMiddleware = require('@smithy/util-middleware');
|
|
13
12
|
|
|
14
13
|
const CONTENT_LENGTH_HEADER = "content-length";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { httpSigningMiddlewareOptions } from "@smithy/core";
|
|
2
2
|
import { HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
3
|
import { getSmithyContext } from "@smithy/util-middleware";
|
|
5
4
|
import { signS3Express } from "./signS3Express";
|
|
6
5
|
const defaultErrorHandler = (signingProperties) => (error) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types";
|
|
2
|
-
import { PreviouslyResolved } from "./region-redirect-middleware";
|
|
1
|
+
import type { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types";
|
|
2
|
+
import type { PreviouslyResolved } from "./region-redirect-middleware";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
2
|
-
import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
3
|
-
import { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider";
|
|
1
|
+
import type { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
2
|
+
import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
3
|
+
import type { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider";
|
|
4
4
|
import { S3ExpressIdentityCache } from "./S3ExpressIdentityCache";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
1
|
+
import type { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
2
2
|
import { SignatureV4 } from "@smithy/signature-v4";
|
|
3
|
-
import { HttpRequest as IHttpRequest, RequestPresigningArguments, RequestSigningArguments } from "@smithy/types";
|
|
3
|
+
import type { HttpRequest as IHttpRequest, RequestPresigningArguments, RequestSigningArguments } from "@smithy/types";
|
|
4
4
|
export declare class SignatureV4S3Express extends SignatureV4 {
|
|
5
5
|
/**
|
|
6
6
|
* Signs with alternate provided credentials instead of those provided in the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IHttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { AuthScheme, AwsCredentialIdentity, FinalizeRequestMiddleware, Pluggable, RequestSigner } from "@smithy/types";
|
|
1
|
+
import type { IHttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import type { AuthScheme, AwsCredentialIdentity, FinalizeRequestMiddleware, Pluggable, RequestSigner } from "@smithy/types";
|
|
3
3
|
interface SigningProperties {
|
|
4
4
|
signingRegion: string;
|
|
5
5
|
signingDate: Date;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
2
|
-
import { BuildHandlerOptions, BuildMiddleware, Logger, MemoizedProvider, Pluggable } from "@smithy/types";
|
|
3
|
-
import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
4
|
-
import { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider";
|
|
1
|
+
import type { AwsCredentialIdentity } from "@aws-sdk/types";
|
|
2
|
+
import type { BuildHandlerOptions, BuildMiddleware, Logger, MemoizedProvider, Pluggable } from "@smithy/types";
|
|
3
|
+
import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
4
|
+
import type { S3ExpressIdentityProvider } from "../interfaces/S3ExpressIdentityProvider";
|
|
5
5
|
declare module "@smithy/types" {
|
|
6
6
|
interface HandlerExecutionContext {
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsCredentialIdentity, HttpRequest as IHttpRequest } from "@smithy/types";
|
|
2
|
-
import { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
2
|
+
import type { S3ExpressIdentity } from "../interfaces/S3ExpressIdentity";
|
|
3
3
|
export declare const signS3Express: (s3ExpressIdentity: S3ExpressIdentity, signingOptions: {
|
|
4
4
|
signingDate: Date;
|
|
5
5
|
signingRegion: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types";
|
|
2
|
-
import { S3ResolvedConfig } from "./s3Configuration";
|
|
1
|
+
import type { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types";
|
|
2
|
+
import type { S3ResolvedConfig } from "./s3Configuration";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.15",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.973.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
31
|
+
"@aws-sdk/core": "^3.973.15",
|
|
32
|
+
"@aws-sdk/types": "^3.973.4",
|
|
33
33
|
"@aws-sdk/util-arn-parser": "^3.972.2",
|
|
34
|
-
"@smithy/core": "^3.23.
|
|
35
|
-
"@smithy/node-config-provider": "^4.3.
|
|
36
|
-
"@smithy/protocol-http": "^5.3.
|
|
37
|
-
"@smithy/signature-v4": "^5.3.
|
|
38
|
-
"@smithy/smithy-client": "^4.
|
|
39
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@smithy/core": "^3.23.6",
|
|
35
|
+
"@smithy/node-config-provider": "^4.3.10",
|
|
36
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
37
|
+
"@smithy/signature-v4": "^5.3.10",
|
|
38
|
+
"@smithy/smithy-client": "^4.12.0",
|
|
39
|
+
"@smithy/types": "^4.13.0",
|
|
40
40
|
"@smithy/util-config-provider": "^4.2.1",
|
|
41
|
-
"@smithy/util-middleware": "^4.2.
|
|
42
|
-
"@smithy/util-stream": "^4.5.
|
|
41
|
+
"@smithy/util-middleware": "^4.2.10",
|
|
42
|
+
"@smithy/util-stream": "^4.5.15",
|
|
43
43
|
"@smithy/util-utf8": "^4.2.1",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|