@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 +0 -2
- package/dist/chat/index.d.ts +7 -0
- package/dist/chat/index.js +5 -5
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/next-js/index.js +1 -1
- package/dist/chat/next-js/index.js.map +1 -1
- package/dist/{chunk-HVAT4SNH.js → chunk-5JBHQYU5.js} +2 -2
- package/dist/chunk-5JBHQYU5.js.map +1 -0
- package/dist/{code-block-37QAKDTI-M2QCKVTI.js → code-block-37QAKDTI-IIYKFI5S.js} +2 -2
- package/dist/mcp/react.d.ts +2 -6
- package/dist/mcp/react.js +6 -6
- package/dist/mcp/react.js.map +1 -1
- package/dist/mermaid-4DMBBIKO-PAA57QRQ.js +3 -0
- package/package.json +1 -1
- package/dist/chunk-HVAT4SNH.js.map +0 -1
- package/dist/mermaid-4DMBBIKO-NR6M3PLG.js +0 -3
- /package/dist/{code-block-37QAKDTI-M2QCKVTI.js.map → code-block-37QAKDTI-IIYKFI5S.js.map} +0 -0
- /package/dist/{mermaid-4DMBBIKO-NR6M3PLG.js.map → mermaid-4DMBBIKO-PAA57QRQ.js.map} +0 -0
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`
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -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. */
|