@runtypelabs/persona 3.12.0 → 3.14.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.
package/dist/index.d.cts CHANGED
@@ -5014,6 +5014,12 @@ type CodeGeneratorOptions = {
5014
5014
  * @default true
5015
5015
  */
5016
5016
  includeHookComments?: boolean;
5017
+ /**
5018
+ * If provided, emits `windowKey` in the generated `initAgentWidget()` call
5019
+ * so the widget handle is stored on `window[windowKey]`.
5020
+ * Only affects script formats (script-installer, script-manual, script-advanced).
5021
+ */
5022
+ windowKey?: string;
5017
5023
  };
5018
5024
  declare function generateCodeSnippet(config: any, format?: CodeFormat, options?: CodeGeneratorOptions): string;
5019
5025
 
package/dist/index.d.ts CHANGED
@@ -5014,6 +5014,12 @@ type CodeGeneratorOptions = {
5014
5014
  * @default true
5015
5015
  */
5016
5016
  includeHookComments?: boolean;
5017
+ /**
5018
+ * If provided, emits `windowKey` in the generated `initAgentWidget()` call
5019
+ * so the widget handle is stored on `window[windowKey]`.
5020
+ * Only affects script formats (script-installer, script-manual, script-advanced).
5021
+ */
5022
+ windowKey?: string;
5017
5023
  };
5018
5024
  declare function generateCodeSnippet(config: any, format?: CodeFormat, options?: CodeGeneratorOptions): string;
5019
5025