@onyx-p/imlib-web 2.5.7 → 2.5.8

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/index.esm.js CHANGED
@@ -30362,7 +30362,10 @@ async function createSendFunction(fileType, conversation, msgBody, hooks, sendOp
30362
30362
  }
30363
30363
  }
30364
30364
  const sendQuoteReplyMessage$1 = async (message, quoteReply, sendOptions) => {
30365
- const checkResult = await beforeSend(quoteReply, message, quoteReply, sendOptions);
30365
+ const checkResult = await beforeSend({
30366
+ conversationType: quoteReply.conversationType,
30367
+ targetId: quoteReply.targetId
30368
+ }, message, quoteReply, sendOptions);
30366
30369
  if (checkResult.code !== ErrorCode.SUCCESS || !checkResult.message || !checkResult.sentArgs) {
30367
30370
  return {
30368
30371
  code: checkResult.code
package/index.umd.js CHANGED
@@ -30368,7 +30368,10 @@
30368
30368
  }
30369
30369
  }
30370
30370
  const sendQuoteReplyMessage$1 = async (message, quoteReply, sendOptions) => {
30371
- const checkResult = await beforeSend(quoteReply, message, quoteReply, sendOptions);
30371
+ const checkResult = await beforeSend({
30372
+ conversationType: quoteReply.conversationType,
30373
+ targetId: quoteReply.targetId
30374
+ }, message, quoteReply, sendOptions);
30372
30375
  if (checkResult.code !== exports.ErrorCode.SUCCESS || !checkResult.message || !checkResult.sentArgs) {
30373
30376
  return {
30374
30377
  code: checkResult.code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "2.5.7",
3
+ "version": "2.5.8",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",