@aws-sdk/util-endpoints 3.996.19 → 3.996.20

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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +12 -17
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,17 +1,12 @@
1
- 'use strict';
2
-
3
- var client = require('@aws-sdk/core/client');
4
- var endpoints = require('@smithy/core/endpoints');
5
-
6
-
7
-
8
- exports.awsEndpointFunctions = client.awsEndpointFunctions;
9
- exports.getUserAgentPrefix = client.getUserAgentPrefix;
10
- exports.isIpAddress = client.isIpAddress;
11
- exports.partition = client.partition;
12
- exports.resolveDefaultAwsRegionalEndpointsConfig = client.resolveDefaultAwsRegionalEndpointsConfig;
13
- exports.resolveEndpoint = client.resolveEndpoint;
14
- exports.setPartitionInfo = client.setPartitionInfo;
15
- exports.toEndpointV1 = client.toEndpointV1;
16
- exports.useDefaultPartitionInfo = client.useDefaultPartitionInfo;
17
- exports.EndpointError = endpoints.EndpointError;
1
+ const { awsEndpointFunctions, getUserAgentPrefix, isIpAddress, partition, resolveDefaultAwsRegionalEndpointsConfig, resolveEndpoint, setPartitionInfo, toEndpointV1, useDefaultPartitionInfo } = require("@aws-sdk/core/client");
2
+ exports.awsEndpointFunctions = awsEndpointFunctions;
3
+ exports.getUserAgentPrefix = getUserAgentPrefix;
4
+ exports.isIpAddress = isIpAddress;
5
+ exports.partition = partition;
6
+ exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;
7
+ exports.resolveEndpoint = resolveEndpoint;
8
+ exports.setPartitionInfo = setPartitionInfo;
9
+ exports.toEndpointV1 = toEndpointV1;
10
+ exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
11
+ const { EndpointError } = require("@smithy/core/endpoints");
12
+ exports.EndpointError = EndpointError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.996.19",
3
+ "version": "3.996.20",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -8,10 +8,10 @@
8
8
  "scripts": {
9
9
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
10
10
  "build:cjs": "node ../../scripts/compilation/inline",
11
- "build:es": "tsc -p tsconfig.es.json",
11
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
12
12
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
13
- "build:types": "tsc -p tsconfig.types.json",
14
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo"
13
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
14
+ "clean": "premove dist-cjs dist-es dist-types"
15
15
  },
16
16
  "sideEffects": true,
17
17
  "author": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/core": "^3.974.20",
23
+ "@aws-sdk/core": "^3.974.21",
24
24
  "@smithy/core": "^3.24.6",
25
25
  "tslib": "^2.6.2"
26
26
  },