@obb871001/api-integration-sdk 1.0.292 → 1.0.294
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 +16 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9306,19 +9306,21 @@ const Wm = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
|
|
|
9306
9306
|
const { client: e, lng: l } = se(), i = I(
|
|
9307
9307
|
async (p) => {
|
|
9308
9308
|
const {
|
|
9309
|
-
startTime: g = "",
|
|
9310
|
-
endTime: b = "",
|
|
9311
|
-
isActive: f =
|
|
9312
|
-
showUnavailable: r =
|
|
9309
|
+
startTime: g = "2025-12-30 00:00:00",
|
|
9310
|
+
endTime: b = "2026-12-31 23:59:59",
|
|
9311
|
+
isActive: f = 1,
|
|
9312
|
+
showUnavailable: r = 1,
|
|
9313
9313
|
orderBy: a = "total_prize_money"
|
|
9314
9314
|
//total_prize_money,updated_at,created_at
|
|
9315
9315
|
} = p;
|
|
9316
9316
|
return await e.get("/treasure", {
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9317
|
+
params: {
|
|
9318
|
+
start_time: g,
|
|
9319
|
+
end_time: b,
|
|
9320
|
+
is_active: f,
|
|
9321
|
+
show_unavailable: r,
|
|
9322
|
+
order_by: a
|
|
9323
|
+
}
|
|
9322
9324
|
});
|
|
9323
9325
|
},
|
|
9324
9326
|
[e]
|
|
@@ -9333,13 +9335,13 @@ const Wm = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
|
|
|
9333
9335
|
treasureListApi: i,
|
|
9334
9336
|
redeemTreasureApi: n
|
|
9335
9337
|
};
|
|
9336
|
-
}, iu = ({
|
|
9337
|
-
const { treasureListApi:
|
|
9338
|
+
}, iu = ({ paramsData: e, options: l } = {}) => {
|
|
9339
|
+
const { treasureListApi: i } = vl();
|
|
9338
9340
|
return Y({
|
|
9339
9341
|
queryKey: ["treasureList"],
|
|
9340
|
-
queryFn: (
|
|
9341
|
-
select: (
|
|
9342
|
-
...
|
|
9342
|
+
queryFn: () => i(e),
|
|
9343
|
+
select: (n) => n.data,
|
|
9344
|
+
...l
|
|
9343
9345
|
});
|
|
9344
9346
|
}, tu = ({ options: e } = {}) => {
|
|
9345
9347
|
const { redeemTreasureApi: l } = vl();
|