Socket
Socket
Sign inDemoInstall

amazon-cognito-identity-js

Package Overview
Dependencies
Maintainers
13
Versions
1619
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-cognito-identity-js - npm Package Compare versions

Comparing version 6.3.7-api-v6-models.3f48fe3.0 to 6.3.7-api-v6-models.5d6fe9b.0

5

lib/AuthenticationDetails.js

@@ -10,3 +10,3 @@ "use strict";

/** @class */
var AuthenticationDetails = /*#__PURE__*/function () {
var AuthenticationDetails = exports["default"] = /*#__PURE__*/function () {
/**

@@ -70,3 +70,2 @@ * Constructs a new AuthenticationDetails object

return AuthenticationDetails;
}();
exports["default"] = AuthenticationDetails;
}();

@@ -33,3 +33,3 @@ "use strict";

/** @class */
var AuthenticationHelper = /*#__PURE__*/function () {
var AuthenticationHelper = exports["default"] = /*#__PURE__*/function () {
/**

@@ -349,3 +349,2 @@ * Constructs a new AuthenticationHelper object

return AuthenticationHelper;
}();
exports["default"] = AuthenticationHelper;
}();

3

lib/BigInteger.js

@@ -21,3 +21,3 @@ "use strict";

// modPow
var _default = BigInteger;
var _default = exports["default"] = BigInteger;
/*

@@ -54,3 +54,2 @@ * Copyright (c) 2003-2005 Tom Wu

// (public) Constructor
exports["default"] = _default;
function BigInteger(a, b) {

@@ -57,0 +56,0 @@ if (a != null) this.fromString(a, b);

@@ -27,3 +27,3 @@ "use strict";

/** @class */
var Client = /*#__PURE__*/function () {
var Client = exports["default"] = /*#__PURE__*/function () {
/**

@@ -155,3 +155,2 @@ * Constructs a new AWS Cognito Identity Provider client object

}();
exports["default"] = Client;
var logger = {

@@ -158,0 +157,0 @@ debug: function debug() {

@@ -13,3 +13,3 @@ "use strict";

/** @class */
var CognitoAccessToken = /*#__PURE__*/function (_CognitoJwtToken) {
var CognitoAccessToken = exports["default"] = /*#__PURE__*/function (_CognitoJwtToken) {
_inheritsLoose(CognitoAccessToken, _CognitoJwtToken);

@@ -26,3 +26,2 @@ /**

return CognitoAccessToken;
}(_CognitoJwtToken2["default"]);
exports["default"] = CognitoAccessToken;
}(_CognitoJwtToken2["default"]);

@@ -13,3 +13,3 @@ "use strict";

/** @class */
var CognitoIdToken = /*#__PURE__*/function (_CognitoJwtToken) {
var CognitoIdToken = exports["default"] = /*#__PURE__*/function (_CognitoJwtToken) {
_inheritsLoose(CognitoIdToken, _CognitoJwtToken);

@@ -26,3 +26,2 @@ /**

return CognitoIdToken;
}(_CognitoJwtToken2["default"]);
exports["default"] = CognitoIdToken;
}(_CognitoJwtToken2["default"]);

@@ -11,3 +11,3 @@ "use strict";

/** @class */
var CognitoJwtToken = /*#__PURE__*/function () {
var CognitoJwtToken = exports["default"] = /*#__PURE__*/function () {
/**

@@ -57,3 +57,2 @@ * Constructs a new CognitoJwtToken object

return CognitoJwtToken;
}();
exports["default"] = CognitoJwtToken;
}();

@@ -10,3 +10,3 @@ "use strict";

/** @class */
var CognitoRefreshToken = /*#__PURE__*/function () {
var CognitoRefreshToken = exports["default"] = /*#__PURE__*/function () {
/**

@@ -31,3 +31,2 @@ * Constructs a new CognitoRefreshToken object

return CognitoRefreshToken;
}();
exports["default"] = CognitoRefreshToken;
}();

@@ -10,3 +10,3 @@ "use strict";

/** @class */
var CognitoUserAttribute = /*#__PURE__*/function () {
var CognitoUserAttribute = exports["default"] = /*#__PURE__*/function () {
/**

@@ -77,3 +77,2 @@ * Constructs a new CognitoUserAttribute object

return CognitoUserAttribute;
}();
exports["default"] = CognitoUserAttribute;
}();

@@ -17,3 +17,3 @@ "use strict";

/** @class */
var CognitoUserPool = /*#__PURE__*/function () {
var CognitoUserPool = exports["default"] = /*#__PURE__*/function () {
/**

@@ -179,3 +179,2 @@ * Constructs a new CognitoUserPool object

return CognitoUserPool;
}();
exports["default"] = CognitoUserPool;
}();

@@ -10,3 +10,3 @@ "use strict";

/** @class */
var CognitoUserSession = /*#__PURE__*/function () {
var CognitoUserSession = exports["default"] = /*#__PURE__*/function () {
/**

@@ -83,3 +83,2 @@ * Constructs a new CognitoUserSession object

return CognitoUserSession;
}();
exports["default"] = CognitoUserSession;
}();

@@ -9,3 +9,3 @@ "use strict";

/** @class */
var CookieStorage = /*#__PURE__*/function () {
var CookieStorage = exports["default"] = /*#__PURE__*/function () {
/**

@@ -119,3 +119,2 @@ * Constructs a new CookieStorage object

return CookieStorage;
}();
exports["default"] = CookieStorage;
}();

@@ -14,3 +14,3 @@ "use strict";

/** @class */
var DateHelper = /*#__PURE__*/function () {
var DateHelper = exports["default"] = /*#__PURE__*/function () {
function DateHelper() {}

@@ -45,3 +45,2 @@ var _proto = DateHelper.prototype;

return DateHelper;
}();
exports["default"] = DateHelper;
}();

@@ -5,8 +5,6 @@ "use strict";

exports.FRAMEWORK = exports.AUTH_CATEGORY = void 0;
var FRAMEWORK = {
var FRAMEWORK = exports.FRAMEWORK = {
None: '0',
ReactNative: '1'
};
exports.FRAMEWORK = FRAMEWORK;
var AUTH_CATEGORY = 'auth';
exports.AUTH_CATEGORY = AUTH_CATEGORY;
var AUTH_CATEGORY = exports.AUTH_CATEGORY = 'auth';

@@ -9,3 +9,3 @@ "use strict";

var detectFramework = function detectFramework() {
var detectFramework = exports.detectFramework = function detectFramework() {
if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {

@@ -15,3 +15,2 @@ return _constants.FRAMEWORK.ReactNative;

return _constants.FRAMEWORK.None;
};
exports.detectFramework = detectFramework;
};

@@ -12,8 +12,7 @@ "use strict";

var BASE_USER_AGENT = "aws-amplify/" + _version.version;
var Platform = {
var Platform = exports.Platform = {
userAgent: BASE_USER_AGENT,
isReactNative: typeof navigator !== 'undefined' && navigator.product === 'ReactNative'
};
exports.Platform = Platform;
var getUserAgent = function getUserAgent() {
var getUserAgent = exports.getUserAgent = function getUserAgent() {
return Platform.userAgent;

@@ -25,4 +24,2 @@ };

*/
exports.getUserAgent = getUserAgent;
var _default = Platform;
exports["default"] = _default;
var _default = exports["default"] = Platform;

@@ -6,3 +6,2 @@ "use strict";

// generated by genversion
var version = '5.0.4';
exports.version = version;
var version = exports.version = '5.0.4';

@@ -88,3 +88,3 @@ "use strict";

/** @class */
var StorageHelper = /*#__PURE__*/function () {
var StorageHelper = exports["default"] = /*#__PURE__*/function () {
/**

@@ -107,3 +107,2 @@ * This is used to get a storage object

return StorageHelper;
}();
exports["default"] = StorageHelper;
}();

@@ -13,3 +13,3 @@ "use strict";

/** @class */
var MemoryStorage = /*#__PURE__*/function () {
var MemoryStorage = exports.MemoryStorage = /*#__PURE__*/function () {
function MemoryStorage() {}

@@ -57,4 +57,3 @@ /**

/** @class */
exports.MemoryStorage = MemoryStorage;
var StorageHelper = /*#__PURE__*/function () {
var StorageHelper = exports["default"] = /*#__PURE__*/function () {
/**

@@ -83,3 +82,2 @@ * This is used to get a storage object

return StorageHelper;
}();
exports["default"] = StorageHelper;
}();

@@ -11,3 +11,3 @@ "use strict";

UserAgent.prototype.userAgent = (0, _Platform.getUserAgent)();
var appendToCognitoUserAgent = function appendToCognitoUserAgent(content) {
var appendToCognitoUserAgent = exports.appendToCognitoUserAgent = function appendToCognitoUserAgent(content) {
if (!content) {

@@ -23,12 +23,9 @@ return;

};
exports.appendToCognitoUserAgent = appendToCognitoUserAgent;
var addAuthCategoryToCognitoUserAgent = function addAuthCategoryToCognitoUserAgent() {
var addAuthCategoryToCognitoUserAgent = exports.addAuthCategoryToCognitoUserAgent = function addAuthCategoryToCognitoUserAgent() {
UserAgent.category = _constants.AUTH_CATEGORY;
};
exports.addAuthCategoryToCognitoUserAgent = addAuthCategoryToCognitoUserAgent;
var addFrameworkToCognitoUserAgent = function addFrameworkToCognitoUserAgent(framework) {
var addFrameworkToCognitoUserAgent = exports.addFrameworkToCognitoUserAgent = function addFrameworkToCognitoUserAgent(framework) {
UserAgent.framework = framework;
};
exports.addFrameworkToCognitoUserAgent = addFrameworkToCognitoUserAgent;
var getAmplifyUserAgent = function getAmplifyUserAgent(action) {
var getAmplifyUserAgent = exports.getAmplifyUserAgent = function getAmplifyUserAgent(action) {
var uaCategoryAction = UserAgent.category ? " " + UserAgent.category : '';

@@ -41,4 +38,2 @@ var uaFramework = UserAgent.framework ? " framework/" + UserAgent.framework : '';

// class for defining the amzn user-agent
exports.getAmplifyUserAgent = getAmplifyUserAgent;
var _default = UserAgent;
exports["default"] = _default;
var _default = exports["default"] = UserAgent;

@@ -9,3 +9,2 @@ "use strict";

};
var _default = getRandomBase64;
exports["default"] = _default;
var _default = exports["default"] = getRandomBase64;

@@ -28,3 +28,3 @@ "use strict";

}
var WordArray = /*#__PURE__*/function () {
var WordArray = exports["default"] = /*#__PURE__*/function () {
function WordArray(words, sigBytes) {

@@ -50,3 +50,2 @@ words = this.words = words || [];

return WordArray;
}();
exports["default"] = WordArray;
}();
{
"name": "amazon-cognito-identity-js",
"description": "Amazon Cognito Identity Provider JavaScript SDK",
"version": "6.3.7-api-v6-models.3f48fe3.0+3f48fe3",
"version": "6.3.7-api-v6-models.5d6fe9b.0+5d6fe9b",
"author": {

@@ -77,3 +77,3 @@ "name": "Amazon Web Services",

},
"gitHead": "3f48fe305e44b96113ec44c0ed46f41dee97ce05"
"gitHead": "5d6fe9b567fabafd4d73a7eefce4cda06502eaa4"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc