@aws-sdk/credential-provider-cognito-identity 3.921.0 → 3.922.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.
package/dist-cjs/index.js CHANGED
@@ -29,6 +29,7 @@ function fromCognitoIdentity(parameters) {
29
29
  new CognitoIdentityClient(Object.assign({}, parameters.clientConfig ?? {}, {
30
30
  region: fromConfigs("region"),
31
31
  profile: fromConfigs("profile"),
32
+ userAgentAppId: fromConfigs("userAgentAppId"),
32
33
  }))).send(new GetCredentialsForIdentityCommand({
33
34
  CustomRoleArn: parameters.customRoleArn,
34
35
  IdentityId: parameters.identityId,
@@ -166,6 +167,7 @@ function fromCognitoIdentityPool({ accountId, cache = localStorage(), client, cl
166
167
  new CognitoIdentityClient(Object.assign({}, clientConfig ?? {}, {
167
168
  region: fromConfigs("region"),
168
169
  profile: fromConfigs("profile"),
170
+ userAgentAppId: fromConfigs("userAgentAppId"),
169
171
  }));
170
172
  let identityId = (cacheKey && (await cache.getItem(cacheKey)));
171
173
  if (!identityId) {
@@ -11,6 +11,7 @@ export function fromCognitoIdentity(parameters) {
11
11
  new CognitoIdentityClient(Object.assign({}, parameters.clientConfig ?? {}, {
12
12
  region: fromConfigs("region"),
13
13
  profile: fromConfigs("profile"),
14
+ userAgentAppId: fromConfigs("userAgentAppId"),
14
15
  }))).send(new GetCredentialsForIdentityCommand({
15
16
  CustomRoleArn: parameters.customRoleArn,
16
17
  IdentityId: parameters.identityId,
@@ -16,6 +16,7 @@ export function fromCognitoIdentityPool({ accountId, cache = localStorage(), cli
16
16
  new CognitoIdentityClient(Object.assign({}, clientConfig ?? {}, {
17
17
  region: fromConfigs("region"),
18
18
  profile: fromConfigs("profile"),
19
+ userAgentAppId: fromConfigs("userAgentAppId"),
19
20
  }));
20
21
  let identityId = (cacheKey && (await cache.getItem(cacheKey)));
21
22
  if (!identityId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-cognito-identity",
3
- "version": "3.921.0",
3
+ "version": "3.922.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline credential-provider-cognito-identity",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-cognito-identity": "3.921.0",
28
- "@aws-sdk/types": "3.921.0",
27
+ "@aws-sdk/client-cognito-identity": "3.922.0",
28
+ "@aws-sdk/types": "3.922.0",
29
29
  "@smithy/property-provider": "^4.2.4",
30
30
  "@smithy/types": "^4.8.1",
31
31
  "tslib": "^2.6.2"