@aws-amplify/api 4.0.35 → 4.0.36

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,14 @@
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.0.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.35...@aws-amplify/api@4.0.36) (2022-03-28)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/api
9
+
10
+
11
+
12
+
13
+
6
14
  ## [4.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.34...@aws-amplify/api@4.0.35) (2022-03-22)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/api
@@ -10245,17 +10245,12 @@ __webpack_require__.r(__webpack_exports__);
10245
10245
 
10246
10246
  "use strict";
10247
10247
  __webpack_require__.r(__webpack_exports__);
10248
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return GRAPHQL_AUTH_MODE; });
10249
10248
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GraphQLAuthError", function() { return GraphQLAuthError; });
10250
- var GRAPHQL_AUTH_MODE;
10249
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/auth */ "@aws-amplify/auth");
10250
+ /* harmony import */ var _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__);
10251
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "GRAPHQL_AUTH_MODE", function() { return _aws_amplify_auth__WEBPACK_IMPORTED_MODULE_0__["GRAPHQL_AUTH_MODE"]; });
10252
+
10251
10253
 
10252
- (function (GRAPHQL_AUTH_MODE) {
10253
- GRAPHQL_AUTH_MODE["API_KEY"] = "API_KEY";
10254
- GRAPHQL_AUTH_MODE["AWS_IAM"] = "AWS_IAM";
10255
- GRAPHQL_AUTH_MODE["OPENID_CONNECT"] = "OPENID_CONNECT";
10256
- GRAPHQL_AUTH_MODE["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
10257
- GRAPHQL_AUTH_MODE["AWS_LAMBDA"] = "AWS_LAMBDA";
10258
- })(GRAPHQL_AUTH_MODE || (GRAPHQL_AUTH_MODE = {}));
10259
10254
 
10260
10255
  var GraphQLAuthError;
10261
10256
 
@@ -11713,6 +11708,9 @@ var __spread = undefined && undefined.__spread || function () {
11713
11708
 
11714
11709
 
11715
11710
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]('AWSAppSyncProvider');
11711
+ /**
11712
+ * @deprecated Unused, all usecases have migrated to AWSAppSyncRealtimeProvider
11713
+ */
11716
11714
 
11717
11715
  var AWSAppSyncProvider =
11718
11716
  /** @class */
@@ -13623,8 +13621,12 @@ var AWSIoTProvider =
13623
13621
  function (_super) {
13624
13622
  __extends(AWSIoTProvider, _super);
13625
13623
 
13626
- function AWSIoTProvider() {
13627
- return _super !== null && _super.apply(this, arguments) || this;
13624
+ function AWSIoTProvider(options) {
13625
+ if (options === void 0) {
13626
+ options = {};
13627
+ }
13628
+
13629
+ return _super.call(this, options) || this;
13628
13630
  }
13629
13631
 
13630
13632
  Object.defineProperty(AWSIoTProvider.prototype, "region", {