@waniwani/sdk 0.1.20-beta.22 → 0.1.20-beta.24

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/README.md CHANGED
@@ -128,8 +128,6 @@ Fires a conversion event on click. Format: `name key:value key:value ...`
128
128
  | Token | Description |
129
129
  |-------|-------------|
130
130
  | First token | Conversion name (required) |
131
- | `value:N` | Numeric conversion value (defaults to `0`) |
132
- | `currency:X` | Currency code (defaults to `USD`) |
133
131
  | Any `key:value` | Included as event metadata |
134
132
 
135
133
  ### `data-ww-step`
@@ -184,8 +184,10 @@ interface McpAppFrameProps {
184
184
  }>;
185
185
  /** Called when the widget requests a display mode change (e.g. "fullscreen" for expand) */
186
186
  onDisplayModeChange?: (mode: McpAppDisplayMode) => void;
187
+ /** When true, the iframe fills its container (fullscreen mode). */
188
+ isFullscreen?: boolean;
187
189
  }
188
- declare function McpAppFrame({ resourceUri, toolInput, toolResult, resourceEndpoint, chatSessionId, isDark, className, autoHeight, onOpenLink, onFollowUp, onCallTool, onDisplayModeChange, }: McpAppFrameProps): react_jsx_runtime.JSX.Element;
190
+ declare function McpAppFrame({ resourceUri, toolInput, toolResult, resourceEndpoint, chatSessionId, isDark, className, autoHeight, onOpenLink, onFollowUp, onCallTool, onDisplayModeChange, isFullscreen, }: McpAppFrameProps): react_jsx_runtime.JSX.Element;
189
191
 
190
192
  declare const ChatCard: react.ForwardRefExoticComponent<ChatCardProps & react.RefAttributes<ChatHandle>>;
191
193