@aws-amplify/datastore 3.7.9 → 3.8.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
|
+
# [3.8.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.7.9...@aws-amplify/datastore@3.8.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
|
## [3.7.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.7.8...@aws-amplify/datastore@3.7.9) (2022-03-22)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -58672,17 +58672,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
58672
58672
|
|
|
58673
58673
|
"use strict";
|
|
58674
58674
|
__webpack_require__.r(__webpack_exports__);
|
|
58675
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return GRAPHQL_AUTH_MODE; });
|
|
58676
58675
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GraphQLAuthError", function() { return GraphQLAuthError; });
|
|
58677
|
-
var
|
|
58676
|
+
/* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/auth */ "../auth/lib-esm/index.js");
|
|
58677
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__["GRAPHQL_AUTH_MODE"]; });
|
|
58678
|
+
|
|
58678
58679
|
|
|
58679
|
-
(function (GRAPHQL_AUTH_MODE) {
|
|
58680
|
-
GRAPHQL_AUTH_MODE["API_KEY"] = "API_KEY";
|
|
58681
|
-
GRAPHQL_AUTH_MODE["AWS_IAM"] = "AWS_IAM";
|
|
58682
|
-
GRAPHQL_AUTH_MODE["OPENID_CONNECT"] = "OPENID_CONNECT";
|
|
58683
|
-
GRAPHQL_AUTH_MODE["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
|
|
58684
|
-
GRAPHQL_AUTH_MODE["AWS_LAMBDA"] = "AWS_LAMBDA";
|
|
58685
|
-
})(GRAPHQL_AUTH_MODE || (GRAPHQL_AUTH_MODE = {}));
|
|
58686
58680
|
|
|
58687
58681
|
var GraphQLAuthError;
|
|
58688
58682
|
|
|
@@ -64624,7 +64618,7 @@ var AuthErrorStrings;
|
|
|
64624
64618
|
/*!********************************!*\
|
|
64625
64619
|
!*** ../auth/lib-esm/index.js ***!
|
|
64626
64620
|
\********************************/
|
|
64627
|
-
/*! exports provided: default, Auth, CognitoUser, CookieStorage, CognitoHostedUIIdentityProvider, appendToCognitoUserAgent, AuthErrorStrings */
|
|
64621
|
+
/*! exports provided: default, Auth, CognitoUser, CookieStorage, CognitoHostedUIIdentityProvider, appendToCognitoUserAgent, AuthErrorStrings, GRAPHQL_AUTH_MODE */
|
|
64628
64622
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
64629
64623
|
|
|
64630
64624
|
"use strict";
|
|
@@ -64635,6 +64629,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64635
64629
|
/* harmony import */ var _types_Auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types/Auth */ "../auth/lib-esm/types/Auth.js");
|
|
64636
64630
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CognitoHostedUIIdentityProvider", function() { return _types_Auth__WEBPACK_IMPORTED_MODULE_1__["CognitoHostedUIIdentityProvider"]; });
|
|
64637
64631
|
|
|
64632
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _types_Auth__WEBPACK_IMPORTED_MODULE_1__["GRAPHQL_AUTH_MODE"]; });
|
|
64633
|
+
|
|
64638
64634
|
/* harmony import */ var amazon_cognito_identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! amazon-cognito-identity-js */ "../amazon-cognito-identity-js/es/index.js");
|
|
64639
64635
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CognitoUser", function() { return amazon_cognito_identity_js__WEBPACK_IMPORTED_MODULE_2__["CognitoUser"]; });
|
|
64640
64636
|
|
|
@@ -64674,7 +64670,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64674
64670
|
/*!*************************************!*\
|
|
64675
64671
|
!*** ../auth/lib-esm/types/Auth.js ***!
|
|
64676
64672
|
\*************************************/
|
|
64677
|
-
/*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts */
|
|
64673
|
+
/*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts, GRAPHQL_AUTH_MODE */
|
|
64678
64674
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
64679
64675
|
|
|
64680
64676
|
"use strict";
|
|
@@ -64686,6 +64682,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64686
64682
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isCognitoHostedOpts", function() { return isCognitoHostedOpts; });
|
|
64687
64683
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthErrorTypes", function() { return AuthErrorTypes; });
|
|
64688
64684
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isUsernamePasswordOpts", function() { return isUsernamePasswordOpts; });
|
|
64685
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return GRAPHQL_AUTH_MODE; });
|
|
64689
64686
|
/*
|
|
64690
64687
|
* Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
64691
64688
|
*
|
|
@@ -64751,6 +64748,15 @@ var AuthErrorTypes;
|
|
|
64751
64748
|
function isUsernamePasswordOpts(obj) {
|
|
64752
64749
|
return !!obj.username;
|
|
64753
64750
|
}
|
|
64751
|
+
var GRAPHQL_AUTH_MODE;
|
|
64752
|
+
|
|
64753
|
+
(function (GRAPHQL_AUTH_MODE) {
|
|
64754
|
+
GRAPHQL_AUTH_MODE["API_KEY"] = "API_KEY";
|
|
64755
|
+
GRAPHQL_AUTH_MODE["AWS_IAM"] = "AWS_IAM";
|
|
64756
|
+
GRAPHQL_AUTH_MODE["OPENID_CONNECT"] = "OPENID_CONNECT";
|
|
64757
|
+
GRAPHQL_AUTH_MODE["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
|
|
64758
|
+
GRAPHQL_AUTH_MODE["AWS_LAMBDA"] = "AWS_LAMBDA";
|
|
64759
|
+
})(GRAPHQL_AUTH_MODE || (GRAPHQL_AUTH_MODE = {}));
|
|
64754
64760
|
|
|
64755
64761
|
/***/ }),
|
|
64756
64762
|
|
|
@@ -64758,7 +64764,7 @@ function isUsernamePasswordOpts(obj) {
|
|
|
64758
64764
|
/*!**************************************!*\
|
|
64759
64765
|
!*** ../auth/lib-esm/types/index.js ***!
|
|
64760
64766
|
\**************************************/
|
|
64761
|
-
/*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts */
|
|
64767
|
+
/*! exports provided: CognitoHostedUIIdentityProvider, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, isCognitoHostedOpts, AuthErrorTypes, isUsernamePasswordOpts, GRAPHQL_AUTH_MODE */
|
|
64762
64768
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
64763
64769
|
|
|
64764
64770
|
"use strict";
|
|
@@ -64778,6 +64784,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64778
64784
|
|
|
64779
64785
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isUsernamePasswordOpts", function() { return _Auth__WEBPACK_IMPORTED_MODULE_0__["isUsernamePasswordOpts"]; });
|
|
64780
64786
|
|
|
64787
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _Auth__WEBPACK_IMPORTED_MODULE_0__["GRAPHQL_AUTH_MODE"]; });
|
|
64788
|
+
|
|
64781
64789
|
/*
|
|
64782
64790
|
* Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
64783
64791
|
*
|
|
@@ -71098,7 +71106,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
|
|
|
71098
71106
|
__webpack_require__.r(__webpack_exports__);
|
|
71099
71107
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
71100
71108
|
// generated by genversion
|
|
71101
|
-
var version = '4.4.
|
|
71109
|
+
var version = '4.4.2';
|
|
71102
71110
|
|
|
71103
71111
|
/***/ }),
|
|
71104
71112
|
|