amazon-cognito-identity-js
Advanced tools
Comparing version 6.3.9 to 6.3.10
@@ -5,3 +5,3 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } | ||
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -8,0 +8,0 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } |
@@ -5,3 +5,3 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } | ||
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -8,0 +8,0 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } |
@@ -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; | ||
}(); |
@@ -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); |
@@ -11,3 +11,3 @@ "use strict"; | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } | ||
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -28,3 +28,3 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } | ||
/** @class */ | ||
var Client = /*#__PURE__*/function () { | ||
var Client = exports["default"] = /*#__PURE__*/function () { | ||
/** | ||
@@ -156,3 +156,2 @@ * Constructs a new AWS Cognito Identity Provider client object | ||
}(); | ||
exports["default"] = Client; | ||
var logger = { | ||
@@ -159,0 +158,0 @@ debug: function debug() { |
@@ -9,7 +9,7 @@ "use strict"; | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /*! | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/** @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"]); |
@@ -9,7 +9,7 @@ "use strict"; | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } /*! | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
/** @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; | ||
}(); |
@@ -6,6 +6,6 @@ "use strict"; | ||
var Cookies = _interopRequireWildcard(require("js-cookie")); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; } | ||
/** @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; |
@@ -12,3 +12,3 @@ "use strict"; | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } | ||
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
@@ -15,0 +15,0 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } |
@@ -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.9", | ||
"version": "6.3.10", | ||
"author": { | ||
@@ -77,3 +77,3 @@ "name": "Amazon Web Services", | ||
}, | ||
"gitHead": "1d1483bab0a98bd93360fcbc7212d6b8e12691b0" | ||
"gitHead": "11613b2e88a1a73f48de2e7e24ecf046e86e6d9c" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1385326
24599