lucid-extension-sdk
Advanced tools
Comparing version 0.0.233 to 0.0.234
@@ -1543,3 +1543,3 @@ import { SerializedFieldTypeDefinition } from './core/data/fieldtypedefinition/fieldtypedefinition'; | ||
}; | ||
export type ShowModalResult = undefined; | ||
export type ShowModalResult = Promise<undefined>; | ||
export type ShowPackageSettingsModalQuery = undefined; | ||
@@ -1546,0 +1546,0 @@ export type ShowPackageSettingsModalResult = Promise<void>; |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.233", | ||
"version": "0.0.234", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -60,3 +60,3 @@ import { EditorClient } from '../editorclient'; | ||
protected frameClosed(): void; | ||
show(): void; | ||
show(): Promise<void>; | ||
/** | ||
@@ -63,0 +63,0 @@ * If this modal is currently visible, close it, destroying the iframe. |
@@ -25,6 +25,6 @@ "use strict"; | ||
} | ||
show() { | ||
async show() { | ||
if (!this.visible) { | ||
this.hookMessages(); | ||
this.client.sendCommand("sm" /* CommandName.ShowModal */, { | ||
await this.client.sendCommand("sm" /* CommandName.ShowModal */, { | ||
'n': this.messageActionName, | ||
@@ -31,0 +31,0 @@ 't': this.config.title, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
722277