wx2tg-puppet 2.1.2 → 2.1.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.
@@ -220,9 +220,9 @@ const say = (content, toWxid, ats) => __awaiter(void 0, void 0, void 0, function
220
220
  // }
221
221
  else if (content instanceof EMOJI_1.Emoji) {
222
222
  const res = yield MsgApi_1.msgApi.SendEmoji({
223
- "Md5": content.emojiMd5,
224
- "TotalLen": content.emojiSize,
225
- "Base64": content.emojiBase64,
223
+ "Md5": content.emojiMd5 || null,
224
+ "TotalLen": content.emojiSize || null,
225
+ "Base64": content.emojiBase64 || null,
226
226
  "ToWxid": toWxid,
227
227
  "Wxid": (config === null || config === void 0 ? void 0 : config.wxid) || ''
228
228
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wx2tg-puppet",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [