@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 +2 -2
- package/dist-cjs/loadCognitoIdentity-C-kPrLZ4.js +9 -0
- package/dist-es/loadCognitoIdentity.js +1 -1
- package/dist-types/loadCognitoIdentity.d.ts +2 -2
- package/dist-types/ts3.4/loadCognitoIdentity.d.ts +2 -2
- package/package.json +5 -5
- package/dist-cjs/loadCognitoIdentity-BPNvueUJ.js +0 -18
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-
|
|
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-
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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.
|
|
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/
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/property-provider": "^4.2.
|
|
30
|
-
"@smithy/types": "^4.12.
|
|
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
|
-
});
|