@aws-sdk/middleware-location-constraint
Advanced tools
Comparing version
@@ -22,4 +22,4 @@ "use strict"; | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
getLocationConstraintPlugin: () => getLocationConstraintPlugin, | ||
@@ -29,3 +29,3 @@ locationConstraintMiddleware: () => locationConstraintMiddleware, | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
function locationConstraintMiddleware(options) { | ||
@@ -55,5 +55,5 @@ return (next) => async (args) => { | ||
var getLocationConstraintPlugin = /* @__PURE__ */ __name((config) => ({ | ||
applyToStack: (clientStack) => { | ||
applyToStack: /* @__PURE__ */ __name((clientStack) => { | ||
clientStack.add(locationConstraintMiddleware(config), locationConstraintMiddlewareOptions); | ||
} | ||
}, "applyToStack") | ||
}), "getLocationConstraintPlugin"); | ||
@@ -60,0 +60,0 @@ // Annotate the CommonJS export names for ESM import in node: |
export function resolveLocationConstraintConfig(input) { | ||
return { ...input }; | ||
return input; | ||
} |
{ | ||
"name": "@aws-sdk/middleware-location-constraint", | ||
"version": "3.734.0", | ||
"version": "3.775.0", | ||
"scripts": { | ||
@@ -26,4 +26,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.734.0", | ||
"@smithy/types": "^4.1.0", | ||
"@aws-sdk/types": "3.775.0", | ||
"@smithy/types": "^4.2.0", | ||
"tslib": "^2.6.2" | ||
@@ -30,0 +30,0 @@ }, |
19334
0.2%+ Added
- Removed
Updated
Updated