@everymatrix/lottery-program-wof 1.86.3 → 1.86.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/components/{LotteryProgramWof-BBDykO_B.js → LotteryProgramWof-CMr9T7Q6.js} +5 -5
- package/components/{LotteryProgramWof-CH_ASPyw.js → LotteryProgramWof-DP4D6f-S.js} +439 -436
- package/components/{LotteryProgramWof-o72wY5SP.cjs → LotteryProgramWof-Deizh6lj.cjs} +6 -6
- package/es2015/lottery-program-wof.cjs +1 -1
- package/es2015/lottery-program-wof.js +1 -1
- package/esnext/lottery-program-wof.js +1 -1
- package/package.json +1 -1
|
@@ -8058,16 +8058,16 @@ class sl {
|
|
|
8058
8058
|
const { data: o, message: s, index: a } = await this.fetcher(this.guid, r);
|
|
8059
8059
|
if (this.drawnIndex = a, i = !0, !o.success)
|
|
8060
8060
|
throw new Error("data.success is false");
|
|
8061
|
-
const l = o.item.state, c = o.item?.result?.outcomes?.some((
|
|
8061
|
+
const l = o.item.state, c = o.item?.result?.outcomes?.some((h) => h.completed === !1), u = o.item?.result?.outcomes?.some((h) => h.action?.type === "noprize");
|
|
8062
8062
|
if (r === Ne.Assign && l !== "fulfilled" || r === Ne.Reject && l !== "fulfilled" || r === Ne.Reward && l !== "drawn" && l !== "fulfilled" || l !== "fulfilled" && c)
|
|
8063
8063
|
throw new Error("Draw Failed");
|
|
8064
8064
|
if (this.isDrawn = !0, n)
|
|
8065
8065
|
return;
|
|
8066
|
-
if (r === Ne.Reward) {
|
|
8067
|
-
const
|
|
8068
|
-
this.drawer(
|
|
8066
|
+
if (r === Ne.Reward && !u) {
|
|
8067
|
+
const h = this.guid, d = () => {
|
|
8068
|
+
this.drawer(h, Ne.Assign);
|
|
8069
8069
|
};
|
|
8070
|
-
this.handleHaltProcess(this.drawnIndex, void 0,
|
|
8070
|
+
this.handleHaltProcess(this.drawnIndex, void 0, d);
|
|
8071
8071
|
} else
|
|
8072
8072
|
this.handleHaltProcess(this.drawnIndex, s, this.afterSuccess);
|
|
8073
8073
|
this.drawInit();
|