@blockquote-web-components/blockquote-controller-rxjs 1.3.5 → 1.3.7
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 +7 -7
- package/src/BlockquoteControllerRxjs.js +3 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote-web-components/blockquote-controller-rxjs",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Webcomponent blockquote-controller-rxjs following open-wc recommendations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"prettier": {
|
|
68
|
-
"arrowParens": "avoid",
|
|
69
68
|
"bracketSameLine": true,
|
|
69
|
+
"bracketSpacing": false,
|
|
70
70
|
"htmlWhitespaceSensitivity": "ignore",
|
|
71
71
|
"printWidth": 100,
|
|
72
72
|
"singleQuote": true,
|
|
73
|
-
"trailingComma": "
|
|
73
|
+
"trailingComma": "es5",
|
|
74
74
|
"overrides": [
|
|
75
75
|
{
|
|
76
76
|
"files": "*.{scss,css}",
|
|
@@ -91,16 +91,16 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"lit": "^3.
|
|
94
|
+
"lit": "^3.2.0",
|
|
95
95
|
"rxjs": "^8.0.0-alpha.14"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.9.
|
|
99
|
-
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.11.
|
|
98
|
+
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.9.2",
|
|
99
|
+
"@blockquote-web-components/blockquote-base-embedded-webview": "^1.11.3"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
104
|
"customElements": "custom-elements.json",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "dd2f576611bceb2c8e2b9456b8a22a704b8c6148"
|
|
106
106
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {Subject, isObservable, takeUntil} from 'rxjs';
|
|
2
2
|
|
|
3
3
|
const unsubscribe = Symbol('unsubscribe');
|
|
4
4
|
const subscriptions = Symbol('subscriptions');
|
|
@@ -93,12 +93,12 @@ export class BlockquoteControllerRxjs {
|
|
|
93
93
|
existingSubscription?.subscription?.unsubscribe();
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
const subscription = stream$.pipe(takeUntil(this[unsubscribe])).subscribe(state => {
|
|
96
|
+
const subscription = stream$.pipe(takeUntil(this[unsubscribe])).subscribe((state) => {
|
|
97
97
|
propKey in this.host && (this.host[propKey] = state);
|
|
98
98
|
this.host.requestUpdate();
|
|
99
99
|
});
|
|
100
100
|
|
|
101
|
-
this[subscriptions].set(propKey, {
|
|
101
|
+
this[subscriptions].set(propKey, {stream$, subscription});
|
|
102
102
|
|
|
103
103
|
return stream$;
|
|
104
104
|
}
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {BlockquoteControllerRxjs} from './BlockquoteControllerRxjs.js';
|