@aws-amplify/api 4.0.37-geo.7 → 4.0.37-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.
package/dist/aws-amplify-api.js
CHANGED
|
@@ -14702,7 +14702,7 @@ function () {
|
|
|
14702
14702
|
* @param {PubSubOptions} options - Configuration object for PubSub
|
|
14703
14703
|
*/
|
|
14704
14704
|
function PubSubClass(options) {
|
|
14705
|
-
this._options = options;
|
|
14705
|
+
this._options = options !== null && options !== void 0 ? options : {};
|
|
14706
14706
|
logger.debug('PubSub Options', this._options);
|
|
14707
14707
|
this._pluggables = [];
|
|
14708
14708
|
this.subscribe = this.subscribe.bind(this);
|
|
@@ -14891,7 +14891,7 @@ function () {
|
|
|
14891
14891
|
}();
|
|
14892
14892
|
|
|
14893
14893
|
|
|
14894
|
-
var PubSub = new PubSubClass(
|
|
14894
|
+
var PubSub = new PubSubClass();
|
|
14895
14895
|
_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(PubSub);
|
|
14896
14896
|
|
|
14897
14897
|
/***/ }),
|