@photon-ai/flux 0.5.3 → 0.5.6
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 +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52186,11 +52186,10 @@ var FluxClient = class {
|
|
|
52186
52186
|
}
|
|
52187
52187
|
return result.success;
|
|
52188
52188
|
}
|
|
52189
|
-
async sendTapback(messageGuid,
|
|
52189
|
+
async sendTapback(messageGuid, 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,
|
|
52194
52193
|
reaction
|
|
52195
52194
|
});
|
|
52196
52195
|
if (!result.success) {
|
|
@@ -52541,8 +52540,8 @@ async function runProd() {
|
|
|
52541
52540
|
}
|
|
52542
52541
|
return true;
|
|
52543
52542
|
},
|
|
52544
|
-
async (messageGuid,
|
|
52545
|
-
return flux.sendTapback(messageGuid,
|
|
52543
|
+
async (messageGuid, reaction) => {
|
|
52544
|
+
return flux.sendTapback(messageGuid, reaction);
|
|
52546
52545
|
}
|
|
52547
52546
|
);
|
|
52548
52547
|
}
|