@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.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 = !1,
9312
- showUnavailable: r = !1,
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
- start_time: g,
9318
- end_time: b,
9319
- is_active: f,
9320
- show_unavailable: r,
9321
- order_by: a
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 = ({ options: e } = {}) => {
9337
- const { treasureListApi: l } = vl();
9338
+ }, iu = ({ paramsData: e, options: l } = {}) => {
9339
+ const { treasureListApi: i } = vl();
9338
9340
  return Y({
9339
9341
  queryKey: ["treasureList"],
9340
- queryFn: (i) => l(i),
9341
- select: (i) => i.data,
9342
- ...e
9342
+ queryFn: () => i(e),
9343
+ select: (n) => n.data,
9344
+ ...l
9343
9345
  });
9344
9346
  }, tu = ({ options: e } = {}) => {
9345
9347
  const { redeemTreasureApi: l } = vl();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@obb871001/api-integration-sdk",
3
3
  "private": false,
4
- "version": "1.0.292",
4
+ "version": "1.0.294",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",