@photon-ai/flux 0.6.2 → 0.6.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.
package/dist/index.js CHANGED
@@ -52187,12 +52187,15 @@ var FluxClient = class {
52187
52187
  }
52188
52188
  async sendTapback(messageGuid, reaction) {
52189
52189
  if (!this.client) throw new Error("Not connected. Call connect() first.");
52190
- console.log(`[FLUX] Sending tapback: messageGuid=${messageGuid}, reaction=${reaction}`);
52190
+ const payload = { messageGuid, reaction };
52191
+ console.log(`[FLUX DEBUG] sendTapback called`);
52192
+ console.log(`[FLUX DEBUG] Payload: ${JSON.stringify(payload)}`);
52193
+ console.log(`[FLUX DEBUG] Payload keys: ${Object.keys(payload).join(", ")}`);
52194
+ console.log(`[FLUX DEBUG] Server: ${GRPC_SERVER_ADDRESS}`);
52191
52195
  try {
52192
- const result = await this.client.FluxService.sendTapback({
52193
- messageGuid,
52194
- reaction
52195
- });
52196
+ console.log(`[FLUX DEBUG] Calling client.FluxService.sendTapback...`);
52197
+ const result = await this.client.FluxService.sendTapback(payload);
52198
+ console.log(`[FLUX DEBUG] Result: ${JSON.stringify(result)}`);
52196
52199
  if (result.success) {
52197
52200
  console.log(`[FLUX] Tapback sent successfully!`);
52198
52201
  } else {
@@ -52200,7 +52203,8 @@ var FluxClient = class {
52200
52203
  }
52201
52204
  return result.success;
52202
52205
  } catch (error) {
52203
- console.error(`[FLUX] Tapback error: ${error.message}`);
52206
+ console.error(`[FLUX DEBUG] Exception caught: ${error.message}`);
52207
+ console.error(`[FLUX DEBUG] Error stack: ${error.stack}`);
52204
52208
  return false;
52205
52209
  }
52206
52210
  }