alemonjs 2.1.0-alpha.8 → 2.1.0-alpha.9

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.
@@ -13,7 +13,7 @@ type DataButton = {
13
13
  confirm: string;
14
14
  cancel: string;
15
15
  };
16
- isLink?: boolean;
16
+ type?: 'command' | 'link' | 'call';
17
17
  };
18
18
  };
19
19
  type ButtonRow = {
package/lib/utils.js CHANGED
@@ -12,7 +12,8 @@ const getBufferByURL = async (url) => {
12
12
  return await axios
13
13
  .get(url, {
14
14
  responseType: 'arraybuffer'
15
- }).then(res => Buffer.from(res.data, 'binary'));
15
+ })
16
+ .then(res => Buffer.from(res.data, 'binary'));
16
17
  };
17
18
  /**
18
19
  * 通过路径获取Buffer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.0-alpha.8",
3
+ "version": "2.1.0-alpha.9",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",