@satorijs/adapter-lark 3.9.2 → 3.9.3

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/lib/index.cjs CHANGED
@@ -159,7 +159,7 @@ async function adaptSession(bot, body) {
159
159
  content += ` --${key} ${toArg(value)}`;
160
160
  }
161
161
  if (body.event.action.input_value) {
162
- content += ` ${body.event.action.input_value}`;
162
+ content += ` ${toArg(body.event.action.input_value)}`;
163
163
  }
164
164
  session.content = content;
165
165
  session.messageId = body.event.context.open_message_id;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@satorijs/adapter-lark",
3
3
  "description": "Lark (飞书) Adapter for Satorijs",
4
- "version": "3.9.2",
4
+ "version": "3.9.3",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",
7
7
  "types": "lib/index.d.ts",
package/src/utils.ts CHANGED
@@ -274,7 +274,7 @@ export async function adaptSession<C extends Context>(bot: LarkBot<C>, body: Eve
274
274
  content += ` --${key} ${toArg(value)}`
275
275
  }
276
276
  if (body.event.action.input_value) {
277
- content += ` ${body.event.action.input_value}`
277
+ content += ` ${toArg(body.event.action.input_value)}`
278
278
  }
279
279
  session.content = content
280
280
  session.messageId = body.event.context.open_message_id