@runtypelabs/persona 3.27.0 → 3.29.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
@@ -8439,6 +8439,15 @@ type CodeGeneratorOptions = {
8439
8439
  * Only affects script formats (script-installer, script-manual, script-advanced).
8440
8440
  */
8441
8441
  windowKey?: string;
8442
+ /**
8443
+ * CSS selector for the mount target. When omitted, the widget mounts on
8444
+ * `body` (the existing default). When provided, the generated snippet mounts
8445
+ * into that element: ESM / React / manual / advanced formats emit it as the
8446
+ * `target` argument to `initAgentWidget()`, and `script-installer` serializes
8447
+ * it into `data-config` (the installer reads `config.target`).
8448
+ * @default "body"
8449
+ */
8450
+ target?: string;
8442
8451
  };
8443
8452
  declare function generateCodeSnippet(config: any, format?: CodeFormat, options?: CodeGeneratorOptions): string;
8444
8453
 
package/dist/index.d.ts CHANGED
@@ -8439,6 +8439,15 @@ type CodeGeneratorOptions = {
8439
8439
  * Only affects script formats (script-installer, script-manual, script-advanced).
8440
8440
  */
8441
8441
  windowKey?: string;
8442
+ /**
8443
+ * CSS selector for the mount target. When omitted, the widget mounts on
8444
+ * `body` (the existing default). When provided, the generated snippet mounts
8445
+ * into that element: ESM / React / manual / advanced formats emit it as the
8446
+ * `target` argument to `initAgentWidget()`, and `script-installer` serializes
8447
+ * it into `data-config` (the installer reads `config.target`).
8448
+ * @default "body"
8449
+ */
8450
+ target?: string;
8442
8451
  };
8443
8452
  declare function generateCodeSnippet(config: any, format?: CodeFormat, options?: CodeGeneratorOptions): string;
8444
8453