@aws-sdk/middleware-sdk-sqs 3.635.0 → 3.654.0
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 +4 -1
- package/dist-es/queue-url.js +4 -1
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -61,7 +61,10 @@ function queueUrlMiddleware({ useQueueUrlAsEndpoint, endpoint }) {
|
|
|
61
61
|
`QueueUrl=${input.QueueUrl} differs from SQSClient resolved endpoint=${resolvedEndpoint.url.toString()}, using QueueUrl host as endpoint.
|
|
62
62
|
Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`
|
|
63
63
|
);
|
|
64
|
-
|
|
64
|
+
context.endpointV2 = {
|
|
65
|
+
...resolvedEndpoint,
|
|
66
|
+
url: queueUrlOrigin
|
|
67
|
+
};
|
|
65
68
|
}
|
|
66
69
|
} catch (e) {
|
|
67
70
|
logger.warn(e);
|
package/dist-es/queue-url.js
CHANGED
|
@@ -18,7 +18,10 @@ export function queueUrlMiddleware({ useQueueUrlAsEndpoint, endpoint }) {
|
|
|
18
18
|
if (resolvedEndpoint.url.origin !== queueUrlOrigin.origin) {
|
|
19
19
|
logger.warn(`QueueUrl=${input.QueueUrl} differs from SQSClient resolved endpoint=${resolvedEndpoint.url.toString()}, using QueueUrl host as endpoint.
|
|
20
20
|
Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`);
|
|
21
|
-
|
|
21
|
+
context.endpointV2 = {
|
|
22
|
+
...resolvedEndpoint,
|
|
23
|
+
url: queueUrlOrigin,
|
|
24
|
+
};
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sqs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.654.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-sqs",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
25
|
-
"@smithy/smithy-client": "^3.2
|
|
26
|
-
"@smithy/types": "^3.
|
|
24
|
+
"@aws-sdk/types": "3.654.0",
|
|
25
|
+
"@smithy/smithy-client": "^3.3.2",
|
|
26
|
+
"@smithy/types": "^3.4.2",
|
|
27
27
|
"@smithy/util-hex-encoding": "^3.0.0",
|
|
28
28
|
"@smithy/util-utf8": "^3.0.0",
|
|
29
29
|
"tslib": "^2.6.2"
|