@aws-amplify/auth 4.4.4 → 4.5.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.5.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.4.4...@aws-amplify/auth@4.5.0) (2022-03-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * PubSub Add Options objects for all Providers and fix: Spelling error and deprecation of old exports ([#9683](https://github.com/aws-amplify/amplify-js/issues/9683)) ([b535af2](https://github.com/aws-amplify/amplify-js/commit/b535af2133b5460c6e8e2fcfd89e1fe235872c27))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.4.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@4.4.3...@aws-amplify/auth@4.4.4) (2022-03-22)
7
18
 
8
19
  **Note:** Version bump only for package @aws-amplify/auth
@@ -14764,7 +14764,7 @@ var AuthErrorStrings;
14764
14764
  /*!**************************!*\
14765
14765
  !*** ./lib-esm/index.js ***!
14766
14766
  \**************************/
14767
- /*! exports provided: default, Auth, CognitoUser, CookieStorage, CognitoHostedUIIdentityProvider, appendToCognitoUserAgent, AuthErrorStrings */
14767
+ /*! exports provided: default, Auth, CognitoUser, CookieStorage, CognitoHostedUIIdentityProvider, appendToCognitoUserAgent, AuthErrorStrings, GRAPHQL_AUTH_MODE */
14768
14768
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14769
14769
 
14770
14770
  "use strict";
@@ -14775,6 +14775,8 @@ __webpack_require__.r(__webpack_exports__);
14775
14775
  /* harmony import */ var _types_Auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types/Auth */ "./lib-esm/types/Auth.js");
14776
14776
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CognitoHostedUIIdentityProvider", function() { return _types_Auth__WEBPACK_IMPORTED_MODULE_1__["CognitoHostedUIIdentityProvider"]; });
14777
14777
 
14778
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _types_Auth__WEBPACK_IMPORTED_MODULE_1__["GRAPHQL_AUTH_MODE"]; });
14779
+
14778
14780
  /* harmony import */ var amazon_cognito_identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! amazon-cognito-identity-js */ "../amazon-cognito-identity-js/es/index.js");
14779
14781
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CognitoUser", function() { return amazon_cognito_identity_js__WEBPACK_IMPORTED_MODULE_2__["CognitoUser"]; });
14780
14782
 
@@ -14814,7 +14816,7 @@ __webpack_require__.r(__webpack_exports__);
14814
14816
  /*!*******************************!*\
14815
14817
  !*** ./lib-esm/types/Auth.js ***!
14816
14818
  \*******************************/
14817
- /*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts */
14819
+ /*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts, GRAPHQL_AUTH_MODE */
14818
14820
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14819
14821
 
14820
14822
  "use strict";
@@ -14826,6 +14828,7 @@ __webpack_require__.r(__webpack_exports__);
14826
14828
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isCognitoHostedOpts", function() { return isCognitoHostedOpts; });
14827
14829
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthErrorTypes", function() { return AuthErrorTypes; });
14828
14830
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isUsernamePasswordOpts", function() { return isUsernamePasswordOpts; });
14831
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return GRAPHQL_AUTH_MODE; });
14829
14832
  /*
14830
14833
  * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14831
14834
  *
@@ -14891,6 +14894,15 @@ var AuthErrorTypes;
14891
14894
  function isUsernamePasswordOpts(obj) {
14892
14895
  return !!obj.username;
14893
14896
  }
14897
+ var GRAPHQL_AUTH_MODE;
14898
+
14899
+ (function (GRAPHQL_AUTH_MODE) {
14900
+ GRAPHQL_AUTH_MODE["API_KEY"] = "API_KEY";
14901
+ GRAPHQL_AUTH_MODE["AWS_IAM"] = "AWS_IAM";
14902
+ GRAPHQL_AUTH_MODE["OPENID_CONNECT"] = "OPENID_CONNECT";
14903
+ GRAPHQL_AUTH_MODE["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
14904
+ GRAPHQL_AUTH_MODE["AWS_LAMBDA"] = "AWS_LAMBDA";
14905
+ })(GRAPHQL_AUTH_MODE || (GRAPHQL_AUTH_MODE = {}));
14894
14906
 
14895
14907
  /***/ }),
14896
14908
 
@@ -14898,7 +14910,7 @@ function isUsernamePasswordOpts(obj) {
14898
14910
  /*!********************************!*\
14899
14911
  !*** ./lib-esm/types/index.js ***!
14900
14912
  \********************************/
14901
- /*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts */
14913
+ /*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts, GRAPHQL_AUTH_MODE */
14902
14914
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14903
14915
 
14904
14916
  "use strict";
@@ -14918,6 +14930,8 @@ __webpack_require__.r(__webpack_exports__);
14918
14930
 
14919
14931
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isUsernamePasswordOpts", function() { return _Auth__WEBPACK_IMPORTED_MODULE_0__["isUsernamePasswordOpts"]; });
14920
14932
 
14933
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _Auth__WEBPACK_IMPORTED_MODULE_0__["GRAPHQL_AUTH_MODE"]; });
14934
+
14921
14935
  /*
14922
14936
  * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
14923
14937
  *