@photon-ai/flux 0.5.1 → 0.5.2

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/dist/index.js CHANGED
@@ -52186,10 +52186,11 @@ var FluxClient = class {
52186
52186
  }
52187
52187
  return result.success;
52188
52188
  }
52189
- async sendTapback(messageGuid, reaction) {
52189
+ async sendTapback(messageGuid, chatGuid, reaction) {
52190
52190
  if (!this.client) throw new Error("Not connected. Call connect() first.");
52191
52191
  const result = await this.client.FluxService.sendTapback({
52192
52192
  messageGuid,
52193
+ chatGuid,
52193
52194
  reaction
52194
52195
  });
52195
52196
  if (!result.success) {
@@ -52517,6 +52518,7 @@ async function runProd() {
52517
52518
  message: message.text,
52518
52519
  userPhoneNumber: message.userPhoneNumber,
52519
52520
  messageGuid: message.messageGuid,
52521
+ chatGuid: message.chatGuid,
52520
52522
  imageBase64: message.imageBase64
52521
52523
  });
52522
52524
  console.log(`[FLUX] Agent response: ${response}`);
@@ -52539,8 +52541,8 @@ async function runProd() {
52539
52541
  }
52540
52542
  return true;
52541
52543
  },
52542
- async (messageGuid, reaction) => {
52543
- return flux.sendTapback(messageGuid, reaction);
52544
+ async (messageGuid, chatGuid, reaction) => {
52545
+ return flux.sendTapback(messageGuid, chatGuid, reaction);
52544
52546
  }
52545
52547
  );
52546
52548
  }