@lcap/wave-sandbox-sdk 0.0.4 → 0.0.5

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.
@@ -253,13 +253,6 @@ export interface AskUserQuestion {
253
253
  options: AskUserQuestionOption[];
254
254
  multiSelect?: boolean;
255
255
  }
256
- /**
257
- * 询问用户问题事件数据
258
- */
259
- export interface AskUserQuestionEvent {
260
- questionId: string;
261
- questions: AskUserQuestion[];
262
- }
263
256
  /**
264
257
  * Ask 信息状态
265
258
  */
@@ -271,6 +264,10 @@ export interface AskInfo {
271
264
  answered: boolean;
272
265
  answer?: string;
273
266
  }
267
+ /**
268
+ * 询问用户问题事件数据(与 AskInfo 相同)
269
+ */
270
+ export type AskUserQuestionEvent = AskInfo;
274
271
  /**
275
272
  * 客户端回调选项
276
273
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcap/wave-sandbox-sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "SDK for Wave Sandbox Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -289,14 +289,6 @@ export interface AskUserQuestion {
289
289
  multiSelect?: boolean;
290
290
  }
291
291
 
292
- /**
293
- * 询问用户问题事件数据
294
- */
295
- export interface AskUserQuestionEvent {
296
- questionId: string;
297
- questions: AskUserQuestion[];
298
- }
299
-
300
292
  /**
301
293
  * Ask 信息状态
302
294
  */
@@ -309,6 +301,11 @@ export interface AskInfo {
309
301
  answer?: string;
310
302
  }
311
303
 
304
+ /**
305
+ * 询问用户问题事件数据(与 AskInfo 相同)
306
+ */
307
+ export type AskUserQuestionEvent = AskInfo;
308
+
312
309
  /**
313
310
  * 客户端回调选项
314
311
  */