@servicetitan/dte-unlayer 0.73.0 → 0.74.0

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.
@@ -45,6 +45,6 @@ export interface UnlayerEventRegister {
45
45
  }
46
46
 
47
47
  export interface UnlayerToolMetaData {
48
- title: string;
48
+ key: string;
49
49
  description?: string;
50
50
  }
package/src/tools.ts CHANGED
@@ -226,8 +226,8 @@ export const unlayerCustomToolsGetRegisterUrls = (tools: UnlayerEditorCustomTool
226
226
 
227
227
  export const unlayerCustomToolMetaData = (tools: UnlayerEditorCustomTool[]): string => {
228
228
  const toolMetaData = tools.reduce((acc: Record<string, UnlayerToolMetaData>, tool) => {
229
- acc[tool.key] = {
230
- title: tool.title,
229
+ acc[tool.title] = {
230
+ key: tool.key,
231
231
  description: tool.description,
232
232
  };
233
233
  return acc;