@miso.ai/client-sdk-ui 1.10.4-beta.0 → 1.11.0-beta.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.
|
@@ -77,6 +77,9 @@ class TypewriterLayout extends _progressive.default {
|
|
|
77
77
|
}
|
|
78
78
|
async _setupForMarkdown() {
|
|
79
79
|
const context = await this._view._views._extensions.require('markdown');
|
|
80
|
+
if (!this._view) {
|
|
81
|
+
return; // destroyed
|
|
82
|
+
}
|
|
80
83
|
const cursorClass = (0, _utils.cursorClassName)(this.className);
|
|
81
84
|
const {
|
|
82
85
|
onDebug,
|
package/dist/cjs/version.js
CHANGED
package/package.json
CHANGED
|
@@ -72,6 +72,9 @@ export default class TypewriterLayout extends ProgressiveLayout {
|
|
|
72
72
|
|
|
73
73
|
async _setupForMarkdown() {
|
|
74
74
|
const context = await this._view._views._extensions.require('markdown');
|
|
75
|
+
if (!this._view) {
|
|
76
|
+
return; // destroyed
|
|
77
|
+
}
|
|
75
78
|
const cursorClass = cursorClassName(this.className);
|
|
76
79
|
const { onDebug, onCitationLink } = this.options;
|
|
77
80
|
// TODO: options
|
package/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.
|
|
1
|
+
export default '1.11.0-beta.1';
|