@aws-sdk/credential-provider-cognito-identity 3.972.2 → 3.972.4

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.
package/dist-cjs/index.js CHANGED
@@ -21,7 +21,7 @@ function resolveLogins(logins) {
21
21
  function fromCognitoIdentity(parameters) {
22
22
  return async (awsIdentityProperties) => {
23
23
  parameters.logger?.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");
24
- const { GetCredentialsForIdentityCommand, CognitoIdentityClient } = await Promise.resolve().then(function () { return require('./loadCognitoIdentity-BPNvueUJ.js'); });
24
+ const { GetCredentialsForIdentityCommand, CognitoIdentityClient } = await Promise.resolve().then(function () { return require('./loadCognitoIdentity-C-kPrLZ4.js'); });
25
25
  const fromConfigs = (property) => parameters.clientConfig?.[property] ??
26
26
  parameters.parentClientConfig?.[property] ??
27
27
  awsIdentityProperties?.callerClientConfig?.[property];
@@ -159,7 +159,7 @@ function fromCognitoIdentityPool({ accountId, cache = localStorage(), client, cl
159
159
  ? `aws:cognito-identity-credentials:${identityPoolId}:${userIdentifier}`
160
160
  : undefined;
161
161
  let provider = async (awsIdentityProperties) => {
162
- const { GetIdCommand, CognitoIdentityClient } = await Promise.resolve().then(function () { return require('./loadCognitoIdentity-BPNvueUJ.js'); });
162
+ const { GetIdCommand, CognitoIdentityClient } = await Promise.resolve().then(function () { return require('./loadCognitoIdentity-C-kPrLZ4.js'); });
163
163
  const fromConfigs = (property) => clientConfig?.[property] ??
164
164
  parentClientConfig?.[property] ??
165
165
  awsIdentityProperties?.callerClientConfig?.[property];
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var cognitoIdentity = require('@aws-sdk/nested-clients/cognito-identity');
4
+
5
+
6
+
7
+ exports.CognitoIdentityClient = cognitoIdentity.CognitoIdentityClient;
8
+ exports.GetCredentialsForIdentityCommand = cognitoIdentity.GetCredentialsForIdentityCommand;
9
+ exports.GetIdCommand = cognitoIdentity.GetIdCommand;
@@ -1,2 +1,2 @@
1
- import { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand, } from "@aws-sdk/client-cognito-identity";
1
+ import { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand, } from "@aws-sdk/nested-clients/cognito-identity";
2
2
  export { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand };
@@ -1,3 +1,3 @@
1
- import { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand } from "@aws-sdk/client-cognito-identity";
1
+ import { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand } from "@aws-sdk/nested-clients/cognito-identity";
2
2
  export { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand };
3
- export type { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
3
+ export type { CognitoIdentityClientConfig } from "@aws-sdk/nested-clients/cognito-identity";
@@ -2,10 +2,10 @@ import {
2
2
  CognitoIdentityClient,
3
3
  GetCredentialsForIdentityCommand,
4
4
  GetIdCommand,
5
- } from "@aws-sdk/client-cognito-identity";
5
+ } from "@aws-sdk/nested-clients/cognito-identity";
6
6
  export {
7
7
  CognitoIdentityClient,
8
8
  GetCredentialsForIdentityCommand,
9
9
  GetIdCommand,
10
10
  };
11
- export { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity";
11
+ export { CognitoIdentityClientConfig } from "@aws-sdk/nested-clients/cognito-identity";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-cognito-identity",
3
- "version": "3.972.2",
3
+ "version": "3.972.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline credential-provider-cognito-identity",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-cognito-identity": "3.975.0",
28
- "@aws-sdk/types": "^3.973.1",
29
- "@smithy/property-provider": "^4.2.8",
30
- "@smithy/types": "^4.12.0",
27
+ "@aws-sdk/nested-clients": "^3.996.1",
28
+ "@aws-sdk/types": "^3.973.2",
29
+ "@smithy/property-provider": "^4.2.9",
30
+ "@smithy/types": "^4.12.1",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- var clientCognitoIdentity = require('@aws-sdk/client-cognito-identity');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "CognitoIdentityClient", {
8
- enumerable: true,
9
- get: function () { return clientCognitoIdentity.CognitoIdentityClient; }
10
- });
11
- Object.defineProperty(exports, "GetCredentialsForIdentityCommand", {
12
- enumerable: true,
13
- get: function () { return clientCognitoIdentity.GetCredentialsForIdentityCommand; }
14
- });
15
- Object.defineProperty(exports, "GetIdCommand", {
16
- enumerable: true,
17
- get: function () { return clientCognitoIdentity.GetIdCommand; }
18
- });