@aws-sdk/credential-provider-cognito-identity 3.972.57 → 3.972.58

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,7 +1,4 @@
1
- import {
2
- CognitoIdentityClient,
3
- CognitoIdentityClientConfig,
4
- } from "./loadCognitoIdentity";
1
+ import { CognitoIdentityClient, CognitoIdentityClientConfig } from "./loadCognitoIdentity";
5
2
  import { Logins } from "./Logins";
6
3
  export interface CognitoProviderParameters {
7
4
  client?: CognitoIdentityClient;
@@ -1,7 +1,4 @@
1
- import {
2
- CredentialProviderOptions,
3
- RuntimeConfigIdentityProvider,
4
- } from "@aws-sdk/types";
1
+ import { CredentialProviderOptions, RuntimeConfigIdentityProvider } from "@aws-sdk/types";
5
2
  import { AwsCredentialIdentity } from "@smithy/types";
6
3
  import { CognitoProviderParameters } from "./CognitoProviderParameters";
7
4
  export interface CognitoIdentityCredentials extends AwsCredentialIdentity {
@@ -10,10 +7,9 @@ export interface CognitoIdentityCredentials extends AwsCredentialIdentity {
10
7
  export type CognitoIdentityCredentialProvider =
11
8
  RuntimeConfigIdentityProvider<CognitoIdentityCredentials>;
12
9
  export declare function fromCognitoIdentity(
13
- parameters: FromCognitoIdentityParameters
10
+ parameters: FromCognitoIdentityParameters,
14
11
  ): CognitoIdentityCredentialProvider;
15
12
  export interface FromCognitoIdentityParameters
16
- extends CognitoProviderParameters,
17
- CredentialProviderOptions {
13
+ extends CognitoProviderParameters, CredentialProviderOptions {
18
14
  identityId: string;
19
15
  }
@@ -15,8 +15,7 @@ export declare function fromCognitoIdentityPool({
15
15
  parentClientConfig,
16
16
  }: FromCognitoIdentityPoolParameters): CognitoIdentityCredentialProvider;
17
17
  export interface FromCognitoIdentityPoolParameters
18
- extends CognitoProviderParameters,
19
- CredentialProviderOptions {
18
+ extends CognitoProviderParameters, CredentialProviderOptions {
20
19
  accountId?: string;
21
20
  cache?: Storage;
22
21
  identityPoolId: string;
@@ -3,9 +3,5 @@ import {
3
3
  GetCredentialsForIdentityCommand,
4
4
  GetIdCommand,
5
5
  } from "@aws-sdk/nested-clients/cognito-identity";
6
- export {
7
- CognitoIdentityClient,
8
- GetCredentialsForIdentityCommand,
9
- GetIdCommand,
10
- };
6
+ export { CognitoIdentityClient, GetCredentialsForIdentityCommand, GetIdCommand };
11
7
  export { CognitoIdentityClientConfig } from "@aws-sdk/nested-clients/cognito-identity";
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-cognito-identity",
3
- "version": "3.972.57",
3
+ "version": "3.972.58",
4
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-cognito-identity",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "AWS SDK for JavaScript Team",
8
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
13
+ "directory": "packages-internal/credential-provider-cognito-identity"
14
+ },
15
+ "files": [
16
+ "dist-*/**"
17
+ ],
18
+ "sideEffects": false,
19
+ "main": "./dist-cjs/index.js",
20
+ "module": "./dist-es/index.js",
21
+ "types": "./dist-types/index.d.ts",
22
+ "typesVersions": {
23
+ "<4.5": {
24
+ "dist-types/*": [
25
+ "dist-types/ts3.4/*"
26
+ ]
27
+ }
28
+ },
4
29
  "scripts": {
5
30
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
31
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,46 +39,21 @@
14
39
  "test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
15
40
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
16
41
  },
17
- "main": "./dist-cjs/index.js",
18
- "module": "./dist-es/index.js",
19
- "types": "./dist-types/index.d.ts",
20
- "sideEffects": false,
21
- "author": {
22
- "name": "AWS SDK for JavaScript Team",
23
- "url": "https://aws.amazon.com/sdk-for-javascript/"
24
- },
25
- "license": "Apache-2.0",
26
42
  "dependencies": {
27
- "@aws-sdk/nested-clients": "^3.997.32",
28
- "@aws-sdk/types": "^3.974.1",
29
- "@smithy/core": "^3.29.3",
43
+ "@aws-sdk/nested-clients": "^3.997.33",
44
+ "@aws-sdk/types": "^3.974.2",
45
+ "@smithy/core": "^3.29.4",
30
46
  "@smithy/types": "^4.16.1",
31
47
  "tslib": "^2.6.2"
32
48
  },
33
- "engines": {
34
- "node": ">=20.0.0"
35
- },
36
- "typesVersions": {
37
- "<4.5": {
38
- "dist-types/*": [
39
- "dist-types/ts3.4/*"
40
- ]
41
- }
42
- },
43
- "files": [
44
- "dist-*/**"
45
- ],
46
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-cognito-identity",
47
- "repository": {
48
- "type": "git",
49
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
50
- "directory": "packages-internal/credential-provider-cognito-identity"
51
- },
52
49
  "devDependencies": {
53
50
  "@tsconfig/recommended": "1.0.1",
54
51
  "concurrently": "7.0.0",
55
52
  "downlevel-dts": "0.10.1",
56
53
  "premove": "4.0.0",
57
54
  "typescript": "~5.8.3"
55
+ },
56
+ "engines": {
57
+ "node": ">=20.0.0"
58
58
  }
59
59
  }