@aws-amplify/pubsub 4.3.1-unstable.9 → 4.3.1

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.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@4.3.0...@aws-amplify/pubsub@4.3.1) (2022-04-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * PubSub - Resolve ts strict errors in the root import object ([#9733](https://github.com/aws-amplify/amplify-js/issues/9733)) ([c1d360c](https://github.com/aws-amplify/amplify-js/commit/c1d360c4acb388afb7b40cf73ba0484b6cdb64b1))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/pubsub@4.2.11...@aws-amplify/pubsub@4.3.0) (2022-03-28)
7
18
 
8
19
 
@@ -10299,7 +10299,7 @@ function () {
10299
10299
  * @param {PubSubOptions} options - Configuration object for PubSub
10300
10300
  */
10301
10301
  function PubSubClass(options) {
10302
- this._options = options;
10302
+ this._options = options !== null && options !== void 0 ? options : {};
10303
10303
  logger.debug('PubSub Options', this._options);
10304
10304
  this._pluggables = [];
10305
10305
  this.subscribe = this.subscribe.bind(this);
@@ -10488,7 +10488,7 @@ function () {
10488
10488
  }();
10489
10489
 
10490
10490
 
10491
- var PubSub = new PubSubClass(null);
10491
+ var PubSub = new PubSubClass();
10492
10492
  _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(PubSub);
10493
10493
 
10494
10494
  /***/ }),