@waniwani/sdk 0.1.20-beta.21 → 0.1.20-beta.23

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`
@@ -99,6 +99,13 @@ interface ChatBaseProps {
99
99
  structuredContent?: Record<string, unknown>;
100
100
  _meta?: Record<string, unknown>;
101
101
  }>;
102
+ /**
103
+ * Enable debug mode. When true, the `_meta` field is shown in tool call
104
+ * inputs and outputs instead of being filtered out.
105
+ * Tip: set to `process.env.NEXT_PUBLIC_WANIWANI_DEBUG === '1'` to mirror
106
+ * the server-side `WANIWANI_DEBUG` env var.
107
+ */
108
+ debug?: boolean;
102
109
  }
103
110
  interface ChatBarProps extends ChatBaseProps {
104
111
  /** Chat bar width in pixels. Defaults to 600. */