@blockquote-web-components/blockquote-controller-context-meta 1.3.0 → 1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote-web-components/blockquote-controller-context-meta",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Webcomponent blockquote-controller-context-meta following open-wc recommendations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"access": "public"
|
|
129
129
|
},
|
|
130
130
|
"customElements": "custom-elements.json",
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "8e2cd99ebf0caea964e58f06f6cf307b8460a863"
|
|
132
132
|
}
|
|
@@ -135,10 +135,12 @@ class ContextMeta {
|
|
|
135
135
|
|
|
136
136
|
async hostConnected() {
|
|
137
137
|
await this.host.updateComplete;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
window.queueMicrotask(() => {
|
|
139
|
+
this._contextMetaConsumer = new ContextConsumer(this.host, {
|
|
140
|
+
context: this.context,
|
|
141
|
+
subscribe: true,
|
|
142
|
+
callback: this.callback,
|
|
143
|
+
});
|
|
142
144
|
});
|
|
143
145
|
}
|
|
144
146
|
}
|