@aws-sdk/middleware-sdk-sqs 3.716.0 → 3.723.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 +1 -2
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -48,11 +48,10 @@ var resolveQueueUrlConfig = /* @__PURE__ */ __name((config) => {
|
|
|
48
48
|
function queueUrlMiddleware({ useQueueUrlAsEndpoint, endpoint }) {
|
|
49
49
|
return (next, context) => {
|
|
50
50
|
return async (args) => {
|
|
51
|
-
var _a;
|
|
52
51
|
const { input } = args;
|
|
53
52
|
const resolvedEndpoint = context.endpointV2;
|
|
54
53
|
if (!endpoint && input.QueueUrl && resolvedEndpoint && useQueueUrlAsEndpoint) {
|
|
55
|
-
const logger = context.logger instanceof import_smithy_client.NoOpLogger || !
|
|
54
|
+
const logger = context.logger instanceof import_smithy_client.NoOpLogger || !context.logger?.warn ? console : context.logger;
|
|
56
55
|
try {
|
|
57
56
|
const queueUrl = new URL(input.QueueUrl);
|
|
58
57
|
const queueUrlOrigin = new URL(queueUrl.origin);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sqs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.723.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",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/smithy-client": "^
|
|
28
|
-
"@smithy/types": "^
|
|
29
|
-
"@smithy/util-hex-encoding": "^
|
|
30
|
-
"@smithy/util-utf8": "^
|
|
26
|
+
"@aws-sdk/types": "3.723.0",
|
|
27
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
28
|
+
"@smithy/types": "^4.0.0",
|
|
29
|
+
"@smithy/util-hex-encoding": "^4.0.0",
|
|
30
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=18.0.0"
|
|
35
35
|
},
|
|
36
36
|
"typesVersions": {
|
|
37
37
|
"<4.0": {
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"concurrently": "7.0.0",
|
|
55
55
|
"downlevel-dts": "0.10.1",
|
|
56
56
|
"rimraf": "3.0.2",
|
|
57
|
-
"typescript": "~
|
|
57
|
+
"typescript": "~5.2.2"
|
|
58
58
|
}
|
|
59
59
|
}
|