@obb871001/api-integration-sdk 1.0.348 → 1.0.351

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
@@ -8238,40 +8238,43 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8238
8238
  settleEventWalletApi: p,
8239
8239
  abandonEventWalletApi: g
8240
8240
  };
8241
- }, $m = ({ gamePlatform: e } = {}) => {
8242
- const { eventWalletListApi: n } = Xa();
8241
+ }, $m = ({ gamePlatform: e, params: n } = {}) => {
8242
+ const { eventWalletListApi: t } = Xa();
8243
8243
  return j({
8244
- queryKey: ["getEventWalletList", e],
8245
- queryFn: async () => await n({ gamePlatform: e }),
8246
- select: (t) => {
8247
- const l = Y(t, "data", []), p = Y(t, "summary", []), g = e ? Ie(p, (b) => b.restricted_platform === e) : p, U = Y(l, "data", []), {
8248
- current_page: d,
8249
- first_page_url: r,
8250
- from: a,
8251
- last_page: i,
8252
- last_page_url: o,
8253
- next_page_url: m,
8254
- path: u,
8255
- per_page: s,
8256
- prev_page_url: c,
8257
- to: f,
8258
- total: y
8259
- } = l;
8244
+ queryKey: ["getEventWalletList", e, n],
8245
+ queryFn: async () => await t({
8246
+ gamePlatform: e,
8247
+ params: n
8248
+ }),
8249
+ select: (l) => {
8250
+ const p = Y(l, "data", []), g = Y(l, "summary", []), U = e ? Ie(g, (C) => C.platform === e) : g, d = Y(p, "data", []), {
8251
+ current_page: r,
8252
+ first_page_url: a,
8253
+ from: i,
8254
+ last_page: o,
8255
+ last_page_url: m,
8256
+ next_page_url: u,
8257
+ path: s,
8258
+ per_page: c,
8259
+ prev_page_url: f,
8260
+ to: y,
8261
+ total: _
8262
+ } = p;
8260
8263
  return {
8261
- list: U,
8262
- summary: g,
8264
+ list: d,
8265
+ summary: U,
8263
8266
  pagination: {
8264
- current_page: d,
8265
- first_page_url: r,
8266
- from: a,
8267
- last_page: i,
8268
- last_page_url: o,
8269
- next_page_url: m,
8270
- path: u,
8271
- per_page: s,
8272
- prev_page_url: c,
8273
- to: f,
8274
- total: y
8267
+ current_page: r,
8268
+ first_page_url: a,
8269
+ from: i,
8270
+ last_page: o,
8271
+ last_page_url: m,
8272
+ next_page_url: u,
8273
+ path: s,
8274
+ per_page: c,
8275
+ prev_page_url: f,
8276
+ to: y,
8277
+ total: _
8275
8278
  }
8276
8279
  };
8277
8280
  }
@@ -8292,8 +8295,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8292
8295
  return {
8293
8296
  list: Y(p, "data", []),
8294
8297
  summary: {
8295
- ...U,
8296
- total_bonus_amount: U.total_bonus || 0
8298
+ ...U
8297
8299
  }
8298
8300
  };
8299
8301
  },
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.348",
4
+ "version": "1.0.351",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",