interaqt 0.6.0 → 0.6.1
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
|
@@ -9096,12 +9096,9 @@ class ke {
|
|
|
9096
9096
|
user: t.user,
|
|
9097
9097
|
query: t.query || {},
|
|
9098
9098
|
payload: t.payload || {},
|
|
9099
|
-
args: t
|
|
9100
|
-
activity: {
|
|
9101
|
-
id: e
|
|
9102
|
-
}
|
|
9099
|
+
args: t
|
|
9103
9100
|
};
|
|
9104
|
-
await this.saveEvent(a), s.event = a, await this.runEffects(t, e, s), this.isGetInteraction() && (s.data = await this.retrieveData(t));
|
|
9101
|
+
e && e !== void 0 && (a.activity = { id: e }), await this.saveEvent(a), s.event = a, await this.runEffects(t, e, s), this.isGetInteraction() && (s.data = await this.retrieveData(t));
|
|
9105
9102
|
}
|
|
9106
9103
|
return s;
|
|
9107
9104
|
}
|