@aws-sdk/middleware-sdk-sqs 3.622.0 → 3.649.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 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
- resolvedEndpoint.url = queueUrlOrigin;
64
+ context.endpointV2 = {
65
+ ...resolvedEndpoint,
66
+ url: queueUrlOrigin
67
+ };
65
68
  }
66
69
  } catch (e) {
67
70
  logger.warn(e);
@@ -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
- resolvedEndpoint.url = queueUrlOrigin;
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.622.0",
3
+ "version": "3.649.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.609.0",
25
- "@smithy/smithy-client": "^3.1.12",
26
- "@smithy/types": "^3.3.0",
24
+ "@aws-sdk/types": "3.649.0",
25
+ "@smithy/smithy-client": "^3.3.0",
26
+ "@smithy/types": "^3.4.0",
27
27
  "@smithy/util-hex-encoding": "^3.0.0",
28
28
  "@smithy/util-utf8": "^3.0.0",
29
29
  "tslib": "^2.6.2"