You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@aws-sdk/credential-provider-cognito-identity

Package Overview
Dependencies
4
Maintainers
5
Versions
395
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.245.0 to 3.348.0

3

dist-types/CognitoProviderParameters.d.ts
import { CognitoIdentityClient } from "@aws-sdk/client-cognito-identity";
import { Logins } from "./Logins";
/**
* @internal
*/
export interface CognitoProviderParameters {

@@ -4,0 +7,0 @@ /**

import { AwsCredentialIdentity, Provider } from "@aws-sdk/types";
import { CognitoProviderParameters } from "./CognitoProviderParameters";
/**
* @internal
*/
export interface CognitoIdentityCredentials extends AwsCredentialIdentity {

@@ -9,4 +12,9 @@ /**

}
export declare type CognitoIdentityCredentialProvider = Provider<CognitoIdentityCredentials>;
/**
* @internal
*/
export type CognitoIdentityCredentialProvider = Provider<CognitoIdentityCredentials>;
/**
* @internal
*
* Retrieves temporary AWS credentials using Amazon Cognito's

@@ -18,2 +26,5 @@ * `GetCredentialsForIdentity` operation.

export declare function fromCognitoIdentity(parameters: FromCognitoIdentityParameters): CognitoIdentityCredentialProvider;
/**
* @internal
*/
export interface FromCognitoIdentityParameters extends CognitoProviderParameters {

@@ -20,0 +31,0 @@ /**

@@ -5,2 +5,4 @@ import { CognitoProviderParameters } from "./CognitoProviderParameters";

/**
* @internal
*
* Retrieves or generates a unique identifier using Amazon Cognito's `GetId`

@@ -14,2 +16,5 @@ * operation, then generates temporary AWS credentials using Amazon Cognito's

export declare function fromCognitoIdentityPool({ accountId, cache, client, customRoleArn, identityPoolId, logins, userIdentifier, }: FromCognitoIdentityPoolParameters): CognitoIdentityCredentialProvider;
/**
* @internal
*/
export interface FromCognitoIdentityPoolParameters extends CognitoProviderParameters {

@@ -16,0 +21,0 @@ /**

@@ -0,5 +1,20 @@

/**
* @internal
*/
export * from "./CognitoProviderParameters";
/**
* @internal
*/
export * from "./Logins";
/**
* @internal
*/
export * from "./Storage";
/**
* @internal
*/
export * from "./fromCognitoIdentity";
/**
* @internal
*/
export * from "./fromCognitoIdentityPool";
import { Storage } from "./Storage";
/**
* @internal
*/
export declare class IndexedDbStorage implements Storage {

@@ -3,0 +6,0 @@ private readonly dbName;

import { Storage } from "./Storage";
/**
* @internal
*/
export declare class InMemoryStorage implements Storage {

@@ -3,0 +6,0 @@ private store;

import { Storage } from "./Storage";
/**
* @internal
*/
export declare function localStorage(): Storage;

10

dist-types/Logins.d.ts
import { Provider } from "@aws-sdk/types";
export declare type Logins = Record<string, string | Provider<string>>;
export declare type ResolvedLogins = Record<string, string>;
/**
* @internal
*/
export type Logins = Record<string, string | Provider<string>>;
/**
* @internal
*/
export type ResolvedLogins = Record<string, string>;
/**
* @internal
*
* A subset of the Storage interface defined in the WHATWG HTML specification.

@@ -3,0 +5,0 @@ * Access by index is not supported, as it cannot be replicated without Proxy

@@ -6,3 +6,3 @@ import { AwsCredentialIdentity, Provider } from "@aws-sdk/types";

}
export declare type CognitoIdentityCredentialProvider =
export type CognitoIdentityCredentialProvider =
Provider<CognitoIdentityCredentials>;

@@ -9,0 +9,0 @@ export declare function fromCognitoIdentity(

import { Provider } from "@aws-sdk/types";
export declare type Logins = Record<string, string | Provider<string>>;
export declare type ResolvedLogins = Record<string, string>;
export type Logins = Record<string, string | Provider<string>>;
export type ResolvedLogins = Record<string, string>;
{
"name": "@aws-sdk/credential-provider-cognito-identity",
"version": "3.245.0",
"version": "3.348.0",
"scripts": {

@@ -24,6 +24,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"dependencies": {
"@aws-sdk/client-cognito-identity": "3.245.0",
"@aws-sdk/property-provider": "3.226.0",
"@aws-sdk/types": "3.226.0",
"tslib": "^2.3.1"
"@aws-sdk/client-cognito-identity": "3.348.0",
"@aws-sdk/property-provider": "3.347.0",
"@aws-sdk/types": "3.347.0",
"tslib": "^2.5.0"
},

@@ -41,3 +41,3 @@ "engines": {

"files": [
"dist-*"
"dist-*/**"
],

@@ -55,5 +55,8 @@ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-cognito-identity",

"rimraf": "3.0.2",
"typedoc": "0.19.2",
"typescript": "~4.6.2"
"typedoc": "0.23.23",
"typescript": "~4.9.5"
},
"typedoc": {
"entryPoint": "src/index.ts"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc