@obb871001/api-integration-sdk 1.0.375 → 1.0.377
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.cjs +1 -1
- package/dist/index.js +33 -26
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9615,34 +9615,41 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9615
9615
|
return t({ uid: r, params: p });
|
|
9616
9616
|
},
|
|
9617
9617
|
select: (r) => {
|
|
9618
|
-
|
|
9619
|
-
const {
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9618
|
+
try {
|
|
9619
|
+
const p = Le(Y(r, "data.data", []), (g) => {
|
|
9620
|
+
const {
|
|
9621
|
+
wagering_restricted_amount: b,
|
|
9622
|
+
claimed_amount: d
|
|
9623
|
+
} = g, l = Y(g, "rewards", {}), {
|
|
9624
|
+
expiration_days: a,
|
|
9625
|
+
name: i,
|
|
9626
|
+
position: o,
|
|
9627
|
+
type: s,
|
|
9628
|
+
uid: u
|
|
9629
|
+
} = l;
|
|
9630
|
+
return {
|
|
9631
|
+
...g,
|
|
9632
|
+
rewardExpirationDays: a,
|
|
9633
|
+
rewardName: i,
|
|
9634
|
+
rewardPosition: o,
|
|
9635
|
+
rewardType: s,
|
|
9636
|
+
rewardUid: u,
|
|
9637
|
+
rewardWagering: b,
|
|
9638
|
+
rewardAmount: d,
|
|
9639
|
+
rewardBg: Kn(),
|
|
9640
|
+
rewardIcon: Zn("win")
|
|
9641
|
+
};
|
|
9642
|
+
});
|
|
9629
9643
|
return {
|
|
9630
|
-
...
|
|
9631
|
-
|
|
9632
|
-
rewardName: i,
|
|
9633
|
-
rewardPosition: o,
|
|
9634
|
-
rewardType: s,
|
|
9635
|
-
rewardUid: u,
|
|
9636
|
-
rewardWagering: b,
|
|
9637
|
-
rewardAmount: d,
|
|
9638
|
-
rewardBg: Kn(),
|
|
9639
|
-
rewardIcon: Zn("win")
|
|
9644
|
+
...r,
|
|
9645
|
+
rewardsList: p
|
|
9640
9646
|
};
|
|
9641
|
-
})
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9647
|
+
} catch (p) {
|
|
9648
|
+
return console.error("Error processing rewards list:", p), {
|
|
9649
|
+
...r,
|
|
9650
|
+
rewardsList: []
|
|
9651
|
+
};
|
|
9652
|
+
}
|
|
9646
9653
|
},
|
|
9647
9654
|
...e
|
|
9648
9655
|
});
|