@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.cjs +1 -1
- package/dist/index.js +35 -33
- package/package.json +1 -1
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:
|
|
8241
|
+
}, $m = ({ gamePlatform: e, params: n } = {}) => {
|
|
8242
|
+
const { eventWalletListApi: t } = Xa();
|
|
8243
8243
|
return j({
|
|
8244
|
-
queryKey: ["getEventWalletList", e],
|
|
8245
|
-
queryFn: async () => await
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
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:
|
|
8262
|
-
summary:
|
|
8264
|
+
list: d,
|
|
8265
|
+
summary: U,
|
|
8263
8266
|
pagination: {
|
|
8264
|
-
current_page:
|
|
8265
|
-
first_page_url:
|
|
8266
|
-
from:
|
|
8267
|
-
last_page:
|
|
8268
|
-
last_page_url:
|
|
8269
|
-
next_page_url:
|
|
8270
|
-
path:
|
|
8271
|
-
per_page:
|
|
8272
|
-
prev_page_url:
|
|
8273
|
-
to:
|
|
8274
|
-
total:
|
|
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
|
},
|