@aws-sdk/client-cognito-identity 3.535.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
@@ -1509,9 +1509,6 @@ var CognitoIdentity = _CognitoIdentity;
1509
1509
  // src/pagination/ListIdentityPoolsPaginator.ts
1510
1510
 
1511
1511
  var paginateListIdentityPools = (0, import_core.createPaginator)(CognitoIdentityClient, ListIdentityPoolsCommand, "NextToken", "NextToken", "MaxResults");
1512
-
1513
- // src/index.ts
1514
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1515
1512
  // Annotate the CommonJS export names for ESM import in node:
1516
1513
 
1517
1514
  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
@@ -3,5 +3,4 @@ export * from "./CognitoIdentity";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
@@ -24,5 +24,4 @@ export { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"
24
24
  export * from "./commands";
25
25
  export * from "./pagination";
26
26
  export * from "./models";
27
- import "@aws-sdk/util-endpoints";
28
27
  export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
@@ -6,5 +6,4 @@ export { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.535.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-cognito-identity",
@@ -21,16 +21,16 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/client-sts": "3.540.0",
25
25
  "@aws-sdk/core": "3.535.0",
26
- "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/credential-provider-node": "3.540.0",
27
27
  "@aws-sdk/middleware-host-header": "3.535.0",
28
28
  "@aws-sdk/middleware-logger": "3.535.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
30
- "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/middleware-user-agent": "3.540.0",
31
31
  "@aws-sdk/region-config-resolver": "3.535.0",
32
32
  "@aws-sdk/types": "3.535.0",
33
- "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-endpoints": "3.540.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.535.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.535.0",
36
36
  "@smithy/config-resolver": "^2.2.0",
@@ -61,7 +61,7 @@
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@aws-sdk/client-iam": "3.535.0",
64
+ "@aws-sdk/client-iam": "3.540.0",
65
65
  "@smithy/service-client-documentation-generator": "^2.2.0",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/chai": "^4.2.11",