@obb871001/api-integration-sdk 1.0.309 → 1.0.310

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
@@ -8125,7 +8125,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8125
8125
  const { lng: e, data2URL: n } = oe(), { commonCarouselApi: i } = Ha(), l = $e(e);
8126
8126
  return j({
8127
8127
  queryKey: ["getCarouselList"],
8128
- queryFn: async () => await i(),
8128
+ queryFn: async () => {
8129
+ const p = window.carousels_list;
8130
+ return p || await i();
8131
+ },
8129
8132
  select: (p) => p.map((b) => {
8130
8133
  const { carousels_lang: d } = b, r = d?.find((a) => a.lang === l) || d?.[0];
8131
8134
  return {
@@ -8152,272 +8155,48 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8152
8155
  return Be(p, (b) => b[i] || b["en-US"]);
8153
8156
  }
8154
8157
  });
8155
- }, Vm = ({ options: e } = {}) => (ue(), j({
8156
- queryKey: ["rankingGame"],
8157
- queryFn: async () => ({
8158
- data: [
8159
- {
8160
- profit: 1296,
8161
- memId: "test1234",
8162
- platform: "JILI2",
8163
- game_uid: 341,
8164
- game_code: "10101",
8165
- game_name_en: "Medusa"
8166
- },
8167
- {
8168
- profit: 1207,
8169
- memId: "testwinwin01",
8170
- platform: "BTG",
8171
- game_uid: 45,
8172
- game_code: "AB1045",
8173
- game_name_en: "Wonderland"
8174
- },
8175
- {
8176
- profit: 1179.4,
8177
- memId: "testwinwin01",
8178
- platform: "BNG3",
8179
- game_uid: 9668,
8180
- game_code: "157",
8181
- game_name_en: "Book of Sun Multichance"
8182
- },
8183
- {
8184
- game_uid: 568,
8185
- game_platform_uid: 63,
8186
- game_code: "live",
8187
- game_name_en: "MT Live Casino",
8188
- popularity_ranking: 22,
8189
- platform: "MT",
8190
- profit: 55070,
8191
- memId: "Paul991"
8192
- },
8193
- {
8194
- game_uid: 527,
8195
- game_platform_uid: 50,
8196
- game_code: "100",
8197
- game_name_en: "Roma",
8198
- popularity_ranking: 21,
8199
- platform: "RSG",
8200
- profit: 36679,
8201
- memId: "SamSinc1994"
8202
- },
8203
- {
8204
- game_uid: 110,
8205
- game_platform_uid: 51,
8206
- game_code: "egyptian-mythology",
8207
- game_name_en: "戰神賽特",
8208
- popularity_ranking: 18,
8209
- platform: "ATG",
8210
- profit: 57035,
8211
- memId: "Rita7577"
8212
- },
8213
- {
8214
- game_uid: 9809,
8215
- game_platform_uid: 11,
8216
- game_code: "live",
8217
- game_name_en: "DG Live Casino",
8218
- popularity_ranking: 17,
8219
- platform: "DG",
8220
- profit: 43648,
8221
- memId: "Uma448"
8222
- },
8223
- {
8224
- game_uid: 45,
8225
- game_platform_uid: 62,
8226
- game_code: "AB1045",
8227
- game_name_en: "Wonderland",
8228
- popularity_ranking: 15,
8229
- platform: "BTG",
8230
- profit: 65192,
8231
- memId: "Ivy990"
8232
- },
8233
- {
8234
- game_uid: 9671,
8235
- game_platform_uid: 68,
8236
- game_code: "173",
8237
- game_name_en: "Sun of Egypt: Hold and Win",
8238
- popularity_ranking: 13,
8239
- platform: "BNG3",
8240
- profit: 62398,
8241
- memId: "anyBob9986"
8242
- },
8243
- {
8244
- game_uid: 9709,
8245
- game_platform_uid: 68,
8246
- game_code: "291",
8247
- game_name_en: "Dragon Wealth",
8248
- popularity_ranking: 10,
8249
- platform: "BNG3",
8250
- profit: 40892,
8251
- memId: "DavidChan111"
8252
- },
8253
- {
8254
- game_uid: 528,
8255
- game_platform_uid: 50,
8256
- game_code: "11",
8257
- game_name_en: "Captain Hook",
8258
- popularity_ranking: 9,
8259
- platform: "RSG",
8260
- profit: 67275,
8261
- memId: "alice1788"
8262
- },
8263
- {
8264
- game_uid: 531,
8265
- game_platform_uid: 50,
8266
- game_code: "114",
8267
- game_name_en: "Caishen Fortunes",
8268
- popularity_ranking: 9,
8269
- platform: "RSG",
8270
- profit: 47046,
8271
- memId: "Nina753996"
8272
- },
8273
- {
8274
- game_uid: 9810,
8275
- game_platform_uid: 13,
8276
- game_code: "live",
8277
- game_name_en: "Salong Live Casino",
8278
- popularity_ranking: 8,
8279
- platform: "SALONG",
8280
- profit: 36169,
8281
- memId: "YaraCOCO77"
8282
- },
8283
- {
8284
- game_uid: 111,
8285
- game_platform_uid: 51,
8286
- game_code: "son-go-ku",
8287
- game_name_en: "孫行者",
8288
- popularity_ranking: 7,
8289
- platform: "ATG",
8290
- profit: 90909,
8291
- memId: "Tai99"
8292
- },
8293
- {
8294
- game_uid: 146,
8295
- game_platform_uid: 6,
8296
- game_code: "10034",
8297
- game_name_en: "神龙传奇",
8298
- popularity_ranking: 7,
8299
- platform: "GR",
8300
- profit: 45475,
8301
- memId: "Mona0101"
8302
- },
8303
- {
8304
- game_uid: 194,
8305
- game_platform_uid: 56,
8306
- game_code: "100",
8307
- game_name_en: "Candy Bonanza",
8308
- popularity_ranking: 7,
8309
- platform: "PG2",
8310
- profit: 65719,
8311
- memId: "H911"
8312
- },
8313
- {
8314
- game_uid: 5,
8315
- game_platform_uid: 62,
8316
- game_code: "AB1005",
8317
- game_name_en: "Fighting Academy",
8318
- popularity_ranking: 7,
8319
- platform: "BTG",
8320
- profit: 71034,
8321
- memId: "H444411111"
8322
- },
8323
- {
8324
- game_uid: 9812,
8325
- game_platform_uid: 49,
8326
- game_code: "live",
8327
- game_name_en: "T9",
8328
- popularity_ranking: 6,
8329
- platform: "T9",
8330
- profit: 49476,
8331
- memId: "Charlie0807"
8332
- },
8333
- {
8334
- game_uid: 9668,
8335
- game_platform_uid: 68,
8336
- game_code: "157",
8337
- game_name_en: "Book of Sun Multichance",
8338
- popularity_ranking: 5,
8339
- platform: "BNG3",
8340
- profit: 85148,
8341
- memId: "Karen885"
8342
- },
8343
- {
8344
- game_uid: 313,
8345
- game_platform_uid: 57,
8346
- game_code: "10013",
8347
- game_name_en: "Lucky Ball",
8348
- popularity_ranking: 5,
8349
- platform: "JILI2",
8350
- profit: 48396,
8351
- memId: "GRACE8"
8352
- },
8353
- {
8354
- game_uid: 195,
8355
- game_platform_uid: 56,
8356
- game_code: "101",
8357
- game_name_en: "Rise Of Apollo",
8358
- popularity_ranking: 5,
8359
- platform: "PG2",
8360
- profit: 78715,
8361
- memId: "Jackjack101"
8362
- },
8363
- {
8364
- game_uid: 309,
8365
- game_platform_uid: 57,
8366
- game_code: "10004",
8367
- game_name_en: "God Of Martial",
8368
- popularity_ranking: 5,
8369
- platform: "JILI2",
8370
- profit: 66129,
8371
- memId: "Leo810leo"
8372
- },
8373
- {
8374
- game_uid: 193,
8375
- game_platform_uid: 56,
8376
- game_code: "1",
8377
- game_name_en: "Honey Trap of Diao Chan",
8378
- popularity_ranking: 5,
8379
- platform: "PG2",
8380
- profit: 96070,
8381
- memId: "AAA995566"
8382
- }
8383
- ]
8384
- }),
8385
- enabled: window.profit_ranking_status === 1,
8386
- select: (n) => {
8387
- const { data: i } = n;
8388
- return Be(i, (p) => {
8389
- const {
8390
- game_uid: g,
8391
- game_code: b,
8392
- game_name_en: d,
8393
- game_platform_uid: r,
8394
- memId: a,
8395
- platform: t,
8396
- popularity_ranking: o,
8397
- profit: s
8398
- } = p;
8399
- return {
8400
- gameUid: g,
8401
- //遊戲UID
8402
- gameCode: b,
8403
- //遊戲代碼
8404
- gameNameEn: d,
8405
- //遊戲名稱(英文)
8406
- gamePlatformUid: r,
8407
- //遊戲平台UID
8408
- memId: a,
8409
- //會員ID
8410
- platform: t,
8411
- //平台
8412
- popularityRanking: o,
8413
- //人氣排名
8414
- profit: s
8415
- //winloss
8416
- };
8417
- }) || [];
8418
- },
8419
- ...e
8420
- }));
8158
+ }, Vm = ({ options: e } = {}) => {
8159
+ const { rankingGameApi: n } = ue();
8160
+ return j({
8161
+ queryKey: ["rankingGame"],
8162
+ queryFn: async () => n(),
8163
+ enabled: window.profit_ranking_status === 1,
8164
+ select: (i) => {
8165
+ const { data: l } = i;
8166
+ return Be(l, (g) => {
8167
+ const {
8168
+ game_uid: b,
8169
+ game_code: d,
8170
+ game_name_en: r,
8171
+ game_platform_uid: a,
8172
+ memId: t,
8173
+ platform: o,
8174
+ popularity_ranking: s,
8175
+ profit: u
8176
+ } = g;
8177
+ return {
8178
+ gameUid: b,
8179
+ //遊戲UID
8180
+ gameCode: d,
8181
+ //遊戲代碼
8182
+ gameNameEn: r,
8183
+ //遊戲名稱(英文)
8184
+ gamePlatformUid: a,
8185
+ //遊戲平台UID
8186
+ memId: t,
8187
+ //會員ID
8188
+ platform: o,
8189
+ //平台
8190
+ popularityRanking: s,
8191
+ //人氣排名
8192
+ profit: u
8193
+ //winloss
8194
+ };
8195
+ }) || [];
8196
+ },
8197
+ ...e
8198
+ });
8199
+ };
8421
8200
  var Ko = Object.create, nl = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, $o = Object.getOwnPropertyNames, Qo = Object.getPrototypeOf, jo = Object.prototype.hasOwnProperty, Yo = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), Xo = (e, n, i, l) => {
8422
8201
  if (n && typeof n == "object" || typeof n == "function") for (let p of $o(n)) !jo.call(e, p) && p !== i && nl(e, p, { get: () => n[p], enumerable: !(l = qo(n, p)) || l.enumerable });
8423
8202
  return e;
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.309",
4
+ "version": "1.0.310",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",