@opfr/services 0.32.2 → 0.32.4
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.es.js
CHANGED
|
@@ -8010,7 +8010,7 @@ const Lt = ((Ts = T) == null ? void 0 : Ts.UserChristmas) || F("UserChristmas",
|
|
|
8010
8010
|
addReward: Pm,
|
|
8011
8011
|
completeChristmasQuest: ur,
|
|
8012
8012
|
completeRaid: Ym,
|
|
8013
|
-
|
|
8013
|
+
incrActivityQuest: Am,
|
|
8014
8014
|
incrPresentGiven: jm,
|
|
8015
8015
|
incrSugarCane: Nm,
|
|
8016
8016
|
openCase: Om,
|
|
@@ -8150,13 +8150,13 @@ const Ht = ((Es = T) == null ? void 0 : Es.UserCooldown) || F("UserCooldown", pr
|
|
|
8150
8150
|
-1 * a * 3600 * 1e3
|
|
8151
8151
|
);
|
|
8152
8152
|
}, mr = async (t, a, s, n) => {
|
|
8153
|
-
await Gt(t, {
|
|
8153
|
+
a !== "christmas" && (await Gt(t, {
|
|
8154
8154
|
$set: { [`raid.${a}`]: new Date(Date.now() + s) }
|
|
8155
8155
|
}), n.raid[a] && await Za(
|
|
8156
8156
|
t,
|
|
8157
8157
|
`raid/${a}`,
|
|
8158
8158
|
new Date(Date.now() + s)
|
|
8159
|
-
);
|
|
8159
|
+
));
|
|
8160
8160
|
}, hr = async (t) => {
|
|
8161
8161
|
await Gt(t, {
|
|
8162
8162
|
$set: {
|
|
@@ -9638,7 +9638,7 @@ const Jt = ((Gs = T) == null ? void 0 : Gs.UserRaid) || F("UserRaid", Vr), Oe =
|
|
|
9638
9638
|
}, e_ = async (t, a) => {
|
|
9639
9639
|
await Oe(t, {
|
|
9640
9640
|
$inc: Object.fromEntries(
|
|
9641
|
-
Ga(a).
|
|
9641
|
+
Ga(a).filter(([s]) => s !== "title" && s !== "condition").map(([s, n]) => [`currentRaid.rewards.${s}`, n])
|
|
9642
9642
|
),
|
|
9643
9643
|
...a.title ? {
|
|
9644
9644
|
$set: {
|