@aws-sdk/util-endpoints 3.329.0 → 3.332.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.
@@ -8,7 +8,7 @@ const resolveEndpoint = (ruleSetObject, options) => {
8
8
  var _a, _b, _c, _d, _e, _f;
9
9
  const { endpointParams, logger } = options;
10
10
  const { parameters, rules } = ruleSetObject;
11
- (_b = (_a = options.logger) === null || _a === void 0 ? void 0 : _a.debug) === null || _b === void 0 ? void 0 : _b.call(_a, debug_1.debugId, `Initial EndpointParams: ${(0, debug_1.toDebugString)(endpointParams)}`);
11
+ (_b = (_a = options.logger) === null || _a === void 0 ? void 0 : _a.debug) === null || _b === void 0 ? void 0 : _b.call(_a, `${debug_1.debugId} Initial EndpointParams: ${(0, debug_1.toDebugString)(endpointParams)}`);
12
12
  const paramsWithDefault = Object.entries(parameters)
13
13
  .filter(([, v]) => v.default != null)
14
14
  .map(([k, v]) => [k, v.default]);
@@ -36,7 +36,7 @@ const resolveEndpoint = (ruleSetObject, options) => {
36
36
  catch (e) {
37
37
  }
38
38
  }
39
- (_f = (_e = options.logger) === null || _e === void 0 ? void 0 : _e.debug) === null || _f === void 0 ? void 0 : _f.call(_e, debug_1.debugId, `Resolved endpoint: ${(0, debug_1.toDebugString)(endpoint)}`);
39
+ (_f = (_e = options.logger) === null || _e === void 0 ? void 0 : _e.debug) === null || _f === void 0 ? void 0 : _f.call(_e, `${debug_1.debugId} Resolved endpoint: ${(0, debug_1.toDebugString)(endpoint)}`);
40
40
  return endpoint;
41
41
  };
42
42
  exports.resolveEndpoint = resolveEndpoint;
@@ -4,7 +4,7 @@ import { evaluateRules } from "./utils";
4
4
  export const resolveEndpoint = (ruleSetObject, options) => {
5
5
  const { endpointParams, logger } = options;
6
6
  const { parameters, rules } = ruleSetObject;
7
- options.logger?.debug?.(debugId, `Initial EndpointParams: ${toDebugString(endpointParams)}`);
7
+ options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
8
8
  const paramsWithDefault = Object.entries(parameters)
9
9
  .filter(([, v]) => v.default != null)
10
10
  .map(([k, v]) => [k, v.default]);
@@ -32,6 +32,6 @@ export const resolveEndpoint = (ruleSetObject, options) => {
32
32
  catch (e) {
33
33
  }
34
34
  }
35
- options.logger?.debug?.(debugId, `Resolved endpoint: ${toDebugString(endpoint)}`);
35
+ options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`);
36
36
  return endpoint;
37
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.329.0",
3
+ "version": "3.332.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",