@aws-sdk/middleware-sdk-sqs 3.972.36 → 3.972.37
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.
|
@@ -4,11 +4,7 @@ export {
|
|
|
4
4
|
queueUrlMiddlewareOptions,
|
|
5
5
|
getQueueUrlPlugin,
|
|
6
6
|
} from "./queue-url";
|
|
7
|
-
export {
|
|
8
|
-
QueueUrlInputConfig,
|
|
9
|
-
QueueUrlResolvedConfig,
|
|
10
|
-
PreviouslyResolved,
|
|
11
|
-
} from "./queue-url";
|
|
7
|
+
export { QueueUrlInputConfig, QueueUrlResolvedConfig, PreviouslyResolved } from "./queue-url";
|
|
12
8
|
export {
|
|
13
9
|
receiveMessageMiddleware,
|
|
14
10
|
receiveMessageMiddlewareOptions,
|
|
@@ -15,28 +15,17 @@ export interface QueueUrlResolvedConfig {
|
|
|
15
15
|
useQueueUrlAsEndpoint: boolean;
|
|
16
16
|
}
|
|
17
17
|
export interface PreviouslyResolved {
|
|
18
|
-
endpoint?:
|
|
19
|
-
| string
|
|
20
|
-
| Endpoint
|
|
21
|
-
| Provider<Endpoint>
|
|
22
|
-
| EndpointV2
|
|
23
|
-
| Provider<EndpointV2>;
|
|
18
|
+
endpoint?: string | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
24
19
|
}
|
|
25
20
|
export declare const resolveQueueUrlConfig: <T>(
|
|
26
|
-
config: T & PreviouslyResolved & QueueUrlInputConfig
|
|
21
|
+
config: T & PreviouslyResolved & QueueUrlInputConfig,
|
|
27
22
|
) => T & QueueUrlResolvedConfig;
|
|
28
23
|
export declare function queueUrlMiddleware({
|
|
29
24
|
useQueueUrlAsEndpoint,
|
|
30
25
|
endpoint,
|
|
31
26
|
}: QueueUrlResolvedConfig & PreviouslyResolved): <Output extends object>(
|
|
32
|
-
next: (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
context: HandlerExecutionContext
|
|
36
|
-
) => (
|
|
37
|
-
args: FinalizeHandlerArguments<any>
|
|
38
|
-
) => Promise<FinalizeHandlerOutput<Output>>;
|
|
27
|
+
next: (args: FinalizeHandlerArguments<any>) => Promise<FinalizeHandlerOutput<Output>>,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
) => (args: FinalizeHandlerArguments<any>) => Promise<FinalizeHandlerOutput<Output>>;
|
|
39
30
|
export declare const queueUrlMiddlewareOptions: RelativeMiddlewareOptions;
|
|
40
|
-
export declare const getQueueUrlPlugin: (
|
|
41
|
-
config: QueueUrlResolvedConfig
|
|
42
|
-
) => Pluggable<any, any>;
|
|
31
|
+
export declare const getQueueUrlPlugin: (config: QueueUrlResolvedConfig) => Pluggable<any, any>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
InitializeHandlerOptions,
|
|
3
|
-
InitializeMiddleware,
|
|
4
|
-
Pluggable,
|
|
5
|
-
} from "@smithy/types";
|
|
1
|
+
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types";
|
|
6
2
|
import { PreviouslyResolved } from "./configurations";
|
|
7
3
|
export declare function receiveMessageMiddleware(
|
|
8
|
-
options: PreviouslyResolved
|
|
4
|
+
options: PreviouslyResolved,
|
|
9
5
|
): InitializeMiddleware<any, any>;
|
|
10
6
|
export declare const receiveMessageMiddlewareOptions: InitializeHandlerOptions;
|
|
11
|
-
export declare const getReceiveMessagePlugin: (
|
|
12
|
-
config: PreviouslyResolved
|
|
13
|
-
) => Pluggable<any, any>;
|
|
7
|
+
export declare const getReceiveMessagePlugin: (config: PreviouslyResolved) => Pluggable<any, any>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
InitializeHandlerOptions,
|
|
3
|
-
InitializeMiddleware,
|
|
4
|
-
Pluggable,
|
|
5
|
-
} from "@smithy/types";
|
|
1
|
+
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types";
|
|
6
2
|
import { PreviouslyResolved } from "./configurations";
|
|
7
3
|
export declare const sendMessageBatchMiddleware: (
|
|
8
|
-
options: PreviouslyResolved
|
|
4
|
+
options: PreviouslyResolved,
|
|
9
5
|
) => InitializeMiddleware<any, any>;
|
|
10
6
|
export declare const sendMessageBatchMiddlewareOptions: InitializeHandlerOptions;
|
|
11
|
-
export declare const getSendMessageBatchPlugin: (
|
|
12
|
-
config: PreviouslyResolved
|
|
13
|
-
) => Pluggable<any, any>;
|
|
7
|
+
export declare const getSendMessageBatchPlugin: (config: PreviouslyResolved) => Pluggable<any, any>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
InitializeHandlerOptions,
|
|
3
|
-
InitializeMiddleware,
|
|
4
|
-
Pluggable,
|
|
5
|
-
} from "@smithy/types";
|
|
1
|
+
import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@smithy/types";
|
|
6
2
|
import { PreviouslyResolved } from "./configurations";
|
|
7
3
|
export declare const sendMessageMiddleware: (
|
|
8
|
-
options: PreviouslyResolved
|
|
4
|
+
options: PreviouslyResolved,
|
|
9
5
|
) => InitializeMiddleware<any, any>;
|
|
10
6
|
export declare const sendMessageMiddlewareOptions: InitializeHandlerOptions;
|
|
11
|
-
export declare const getSendMessagePlugin: (
|
|
12
|
-
config: PreviouslyResolved
|
|
13
|
-
) => Pluggable<any, any>;
|
|
7
|
+
export declare const getSendMessagePlugin: (config: PreviouslyResolved) => Pluggable<any, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sqs",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.37",
|
|
4
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-sqs",
|
|
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-internal/middleware-sdk-sqs"
|
|
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:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,45 +39,20 @@
|
|
|
14
39
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
15
40
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
16
41
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"module": "./dist-es/index.js",
|
|
19
|
-
"types": "./dist-types/index.d.ts",
|
|
20
|
-
"sideEffects": false,
|
|
21
|
-
"author": {
|
|
22
|
-
"name": "AWS SDK for JavaScript Team",
|
|
23
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
24
|
-
},
|
|
25
|
-
"license": "Apache-2.0",
|
|
26
42
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "^3.974.
|
|
28
|
-
"@smithy/core": "^3.29.
|
|
43
|
+
"@aws-sdk/types": "^3.974.2",
|
|
44
|
+
"@smithy/core": "^3.29.4",
|
|
29
45
|
"@smithy/types": "^4.16.1",
|
|
30
46
|
"tslib": "^2.6.2"
|
|
31
47
|
},
|
|
32
|
-
"engines": {
|
|
33
|
-
"node": ">=20.0.0"
|
|
34
|
-
},
|
|
35
|
-
"typesVersions": {
|
|
36
|
-
"<4.5": {
|
|
37
|
-
"dist-types/*": [
|
|
38
|
-
"dist-types/ts3.4/*"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"files": [
|
|
43
|
-
"dist-*/**"
|
|
44
|
-
],
|
|
45
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-sqs",
|
|
46
|
-
"repository": {
|
|
47
|
-
"type": "git",
|
|
48
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
49
|
-
"directory": "packages-internal/middleware-sdk-sqs"
|
|
50
|
-
},
|
|
51
48
|
"devDependencies": {
|
|
52
49
|
"@tsconfig/recommended": "1.0.1",
|
|
53
50
|
"concurrently": "7.0.0",
|
|
54
51
|
"downlevel-dts": "0.10.1",
|
|
55
52
|
"premove": "4.0.0",
|
|
56
53
|
"typescript": "~5.8.3"
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=20.0.0"
|
|
57
57
|
}
|
|
58
58
|
}
|