@blockquote-web-components/blockquote-controller-rxjs 1.0.13 → 1.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-controller-rxjs",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Webcomponent blockquote-controller-rxjs following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -131,11 +131,11 @@
131
131
  "rxjs": "^7.5.5"
132
132
  },
133
133
  "devDependencies": {
134
- "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.3.12"
134
+ "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.3.13"
135
135
  },
136
136
  "publishConfig": {
137
137
  "access": "public"
138
138
  },
139
139
  "customElements": "custom-elements.json",
140
- "gitHead": "4de558ba98067263aa62e32844dd3b93dba72e4c"
140
+ "gitHead": "7fcf1cda902f2eecae81a65f7122f2c5f17b6f3c"
141
141
  }
@@ -91,8 +91,9 @@ export class BlockquoteControllerRxjs {
91
91
  }
92
92
 
93
93
  // eslint-disable-next-line arrow-parens
94
- const subscription = stream$.pipe(takeUntil(this[unsubscribe])).subscribe(res => {
95
- this.host[propKey] = res;
94
+ const subscription = stream$.pipe(takeUntil(this[unsubscribe])).subscribe(state => {
95
+ // eslint-disable-next-line no-unused-expressions
96
+ propKey in this.host && (this.host[propKey] = state);
96
97
  this.host.requestUpdate();
97
98
  });
98
99