@aws-sdk/client-s3 3.536.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -10644,9 +10644,6 @@ var waitUntilObjectNotExists = /* @__PURE__ */ __name(async (params, input) => {
10644
10644
  const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);
10645
10645
  return (0, import_util_waiter.checkExceptions)(result);
10646
10646
  }, "waitUntilObjectNotExists");
10647
-
10648
- // src/index.ts
10649
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
10650
10647
  // Annotate the CommonJS export names for ESM import in node:
10651
10648
 
10652
10649
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -4,5 +4,4 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
- import "@aws-sdk/util-endpoints";
8
7
  export { S3ServiceException } from "./models/S3ServiceException";
@@ -12,5 +12,4 @@ export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./waiters";
14
14
  export * from "./models";
15
- import "@aws-sdk/util-endpoints";
16
15
  export { S3ServiceException } from "./models/S3ServiceException";
@@ -7,5 +7,4 @@ export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
9
  export * from "./models";
10
- import "@aws-sdk/util-endpoints";
11
10
  export { S3ServiceException } from "./models/S3ServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.536.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -26,9 +26,9 @@
26
26
  "@aws-crypto/sha1-browser": "3.0.0",
27
27
  "@aws-crypto/sha256-browser": "3.0.0",
28
28
  "@aws-crypto/sha256-js": "3.0.0",
29
- "@aws-sdk/client-sts": "3.535.0",
29
+ "@aws-sdk/client-sts": "3.540.0",
30
30
  "@aws-sdk/core": "3.535.0",
31
- "@aws-sdk/credential-provider-node": "3.535.0",
31
+ "@aws-sdk/credential-provider-node": "3.540.0",
32
32
  "@aws-sdk/middleware-bucket-endpoint": "3.535.0",
33
33
  "@aws-sdk/middleware-expect-continue": "3.535.0",
34
34
  "@aws-sdk/middleware-flexible-checksums": "3.535.0",
@@ -38,12 +38,12 @@
38
38
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
39
39
  "@aws-sdk/middleware-sdk-s3": "3.535.0",
40
40
  "@aws-sdk/middleware-signing": "3.535.0",
41
- "@aws-sdk/middleware-ssec": "3.535.0",
42
- "@aws-sdk/middleware-user-agent": "3.535.0",
41
+ "@aws-sdk/middleware-ssec": "3.537.0",
42
+ "@aws-sdk/middleware-user-agent": "3.540.0",
43
43
  "@aws-sdk/region-config-resolver": "3.535.0",
44
44
  "@aws-sdk/signature-v4-multi-region": "3.535.0",
45
45
  "@aws-sdk/types": "3.535.0",
46
- "@aws-sdk/util-endpoints": "3.535.0",
46
+ "@aws-sdk/util-endpoints": "3.540.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.535.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.535.0",
49
49
  "@aws-sdk/xml-builder": "3.535.0",