@aws-amplify/api-graphql 2.3.1-geo.18 → 2.3.1-unstable.10

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.
@@ -13795,7 +13795,7 @@ function () {
13795
13795
  * @param {PubSubOptions} options - Configuration object for PubSub
13796
13796
  */
13797
13797
  function PubSubClass(options) {
13798
- this._options = options;
13798
+ this._options = options !== null && options !== void 0 ? options : {};
13799
13799
  logger.debug('PubSub Options', this._options);
13800
13800
  this._pluggables = [];
13801
13801
  this.subscribe = this.subscribe.bind(this);
@@ -13984,7 +13984,7 @@ function () {
13984
13984
  }();
13985
13985
 
13986
13986
 
13987
- var PubSub = new PubSubClass(null);
13987
+ var PubSub = new PubSubClass();
13988
13988
  _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(PubSub);
13989
13989
 
13990
13990
  /***/ }),