@aws-sdk/middleware-location-constraint 3.734.0 → 3.804.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
@@ -19,13 +19,13 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  getLocationConstraintPlugin: () => getLocationConstraintPlugin,
25
25
  locationConstraintMiddleware: () => locationConstraintMiddleware,
26
26
  locationConstraintMiddlewareOptions: () => locationConstraintMiddlewareOptions
27
27
  });
28
- module.exports = __toCommonJS(src_exports);
28
+ module.exports = __toCommonJS(index_exports);
29
29
  function locationConstraintMiddleware(options) {
30
30
  return (next) => async (args) => {
31
31
  const { CreateBucketConfiguration } = args.input;
@@ -50,15 +50,15 @@ var locationConstraintMiddlewareOptions = {
50
50
  override: true
51
51
  };
52
52
  var getLocationConstraintPlugin = /* @__PURE__ */ __name((config) => ({
53
- applyToStack: (clientStack) => {
53
+ applyToStack: /* @__PURE__ */ __name((clientStack) => {
54
54
  clientStack.add(locationConstraintMiddleware(config), locationConstraintMiddlewareOptions);
55
- }
55
+ }, "applyToStack")
56
56
  }), "getLocationConstraintPlugin");
57
57
  // Annotate the CommonJS export names for ESM import in node:
58
58
 
59
59
  0 && (module.exports = {
60
- locationConstraintMiddleware,
61
60
  locationConstraintMiddlewareOptions,
62
- getLocationConstraintPlugin
61
+ getLocationConstraintPlugin,
62
+ locationConstraintMiddleware
63
63
  });
64
64
 
@@ -1,3 +1,3 @@
1
1
  export function resolveLocationConstraintConfig(input) {
2
- return { ...input };
2
+ return input;
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-location-constraint",
3
- "version": "3.734.0",
3
+ "version": "3.804.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-location-constraint",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.734.0",
27
- "@smithy/types": "^4.1.0",
26
+ "@aws-sdk/types": "3.804.0",
27
+ "@smithy/types": "^4.2.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -51,6 +51,6 @@
51
51
  "concurrently": "7.0.0",
52
52
  "downlevel-dts": "0.10.1",
53
53
  "rimraf": "3.0.2",
54
- "typescript": "~5.2.2"
54
+ "typescript": "~5.8.3"
55
55
  }
56
56
  }