piece-signal-cli-rest-api 0.2.16 → 0.2.18
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piece-signal-cli-rest-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "echo \"piece-signal-cli-rest-api: kein zusätzlicher Build-Schritt erforderlich (bereits als JS ausgeliefert)\"",
|
|
6
6
|
"publish:npm": "npm publish --access public"
|
|
@@ -63,6 +63,9 @@ function tryResumeApprovalFlow(message, store, apiUrl) {
|
|
|
63
63
|
if (!dataMessage) {
|
|
64
64
|
return { resumed: false };
|
|
65
65
|
}
|
|
66
|
+
// #region agent log
|
|
67
|
+
fetch('http://10.3.0.249:7243/ingest/103f08fb-273f-440d-bbe5-4f1e30168ab7',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({location:'message-utils.js:62',message:'Incoming dataMessage details',data:{hasReaction:!!dataMessage.reaction,hasQuote:!!dataMessage.quote,isGroupMessage:!!dataMessage.groupInfo,text:(dataMessage.message||'').substring(0,100),source:message.envelope?.source,quoteSummary:dataMessage.quote?{id:dataMessage.quote.id,author:dataMessage.quote.author,timestamp:dataMessage.quote.timestamp}:null,reactionSummary:dataMessage.reaction?{emoji:dataMessage.reaction.emoji,targetTimestamp:dataMessage.reaction.targetTimestamp,targetSentTimestamp:dataMessage.reaction.targetSentTimestamp}:null},timestamp:Date.now(),hypothesisId:'ENTRY'})}).catch(()=>{});
|
|
68
|
+
// #endregion
|
|
66
69
|
// Check if it's a group message
|
|
67
70
|
const isGroupMessage = !!dataMessage.groupInfo;
|
|
68
71
|
|