@satorijs/adapter-lark 3.11.3 → 3.11.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.
package/lib/index.cjs CHANGED
@@ -993,8 +993,9 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
993
993
  tag: "checker",
994
994
  name: (attrs.argument ? "@@" : attrs.option ? `@${attrs.option}=` : "") + attrs.name,
995
995
  checked: attrs.value,
996
+ disabled: attrs.disabled,
996
997
  text: {
997
- tag: "plain_text",
998
+ tag: "lark_md",
998
999
  content: this.textContent
999
1000
  }
1000
1001
  });
@@ -1165,6 +1166,7 @@ var LarkMessageEncoder = class extends import_core3.MessageEncoder {
1165
1166
  const parent = this.elements;
1166
1167
  parent.push({
1167
1168
  tag: "interactive_container",
1169
+ disabled: attrs.disabled,
1168
1170
  width: attrs.width,
1169
1171
  height: attrs.height,
1170
1172
  margin: attrs.margin,
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.11.3",
4
+ "version": "3.11.5",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",
7
7
  "types": "lib/index.d.ts",
package/src/message.ts CHANGED
@@ -257,8 +257,9 @@ export class LarkMessageEncoder<C extends Context = Context> extends MessageEnco
257
257
  tag: 'checker',
258
258
  name: (attrs.argument ? '@@' : attrs.option ? `@${attrs.option}=` : '') + attrs.name,
259
259
  checked: attrs.value,
260
+ disabled: attrs.disabled,
260
261
  text: {
261
- tag: 'plain_text',
262
+ tag: 'lark_md',
262
263
  content: this.textContent,
263
264
  },
264
265
  })
@@ -429,6 +430,7 @@ export class LarkMessageEncoder<C extends Context = Context> extends MessageEnco
429
430
  const parent = this.elements
430
431
  parent.push({
431
432
  tag: 'interactive_container',
433
+ disabled: attrs.disabled,
432
434
  width: attrs.width,
433
435
  height: attrs.height,
434
436
  margin: attrs.margin,