lucid-extension-sdk 0.0.322 → 0.0.324

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/commandtypes.d.ts CHANGED
@@ -776,9 +776,9 @@ export type AddCardIntegrationQuery = {
776
776
  /** Icons to display throughout the card integration */
777
777
  'icu'?: {
778
778
  /** Primary Icon Url */
779
- 'pi'?: string;
779
+ 'pi': string;
780
780
  /** Light Icon URl */
781
- 'li'?: string;
781
+ 'li'?: string | undefined;
782
782
  } | undefined;
783
783
  /**
784
784
  * If specified, the text phrases to show in the dependency mapping UI.
@@ -153,6 +153,12 @@ class LucidCardIntegrationRegistry {
153
153
  'gdc': getDefaultConfigActionName,
154
154
  'i': showIntroActionName,
155
155
  };
156
+ if (cardIntegration.iconConfiguration) {
157
+ serialized['icu'] = {
158
+ 'pi': cardIntegration.iconConfiguration.primaryIconUrl,
159
+ 'li': cardIntegration.iconConfiguration.lightIconUrl,
160
+ };
161
+ }
156
162
  if (cardIntegration.importModal) {
157
163
  const importModal = cardIntegration.importModal;
158
164
  if (importModal instanceof lucidcardintegrationcustomimportmodal_1.LucidCardIntegrationCustomImportModal) {
package/editorclient.d.ts CHANGED
@@ -29,7 +29,7 @@ export type DataActionOptions = {
29
29
  };
30
30
  export declare class EditorClient {
31
31
  private nextId;
32
- private readonly callbacks;
32
+ protected readonly callbacks: Map<string, (value: any) => JsonSerializable | void | Promise<any>>;
33
33
  private getUniqueActionName;
34
34
  /**
35
35
  * Get which Lucid product this editor extension has been loaded in.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.322",
3
+ "version": "0.0.324",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",