60p82u21t54k 1.0.11 → 1.0.13
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/60p82u21t54k.cjs.js +1 -1
- package/dist/60p82u21t54k.es.js +56 -24
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/general/type.d.ts +7 -1
- package/dist/api/general/type.d.ts.map +1 -1
- package/dist/core/apiRegistration.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/model/gameList/getGameListResponse.d.ts.map +1 -1
- package/dist/model/getIncentiveData/getGetIncentiveDataResponse.d.ts +3 -3
- package/dist/model/getIncentiveData/getGetIncentiveDataResponse.d.ts.map +1 -1
- package/dist/model/submitTacCode/getSubmitTacCodeResponse.d.ts +6 -0
- package/dist/model/submitTacCode/getSubmitTacCodeResponse.d.ts.map +1 -0
- package/dist/model/submitTacCode/index.d.ts +5 -0
- package/dist/model/submitTacCode/index.d.ts.map +1 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeRequest.d.ts +3 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeRequest.d.ts.map +1 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeResponse.d.ts +3 -0
- package/dist/model/submitTacCode/modifySubmitTacCodeResponse.d.ts.map +1 -0
- package/dist/model/submitTacCode/type.d.ts +3 -0
- package/dist/model/submitTacCode/type.d.ts.map +1 -0
- package/dist/model/updateRegister/getUpdateRegisterResponse.d.ts +6 -0
- package/dist/model/updateRegister/getUpdateRegisterResponse.d.ts.map +1 -0
- package/dist/model/updateRegister/index.d.ts +5 -0
- package/dist/model/updateRegister/index.d.ts.map +1 -0
- package/dist/model/updateRegister/modifyUpdateRegisterRequest.d.ts +3 -0
- package/dist/model/updateRegister/modifyUpdateRegisterRequest.d.ts.map +1 -0
- package/dist/model/updateRegister/modifyUpdateRegisterResponse.d.ts +3 -0
- package/dist/model/updateRegister/modifyUpdateRegisterResponse.d.ts.map +1 -0
- package/dist/model/updateRegister/type.d.ts +3 -0
- package/dist/model/updateRegister/type.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -4276,7 +4276,7 @@ const getGameListResponse = (raw) => {
|
|
|
4276
4276
|
name: product.name,
|
|
4277
4277
|
iconUrl: `/image/side_menu/${product.code.toLowerCase()}.png?v=1`,
|
|
4278
4278
|
nextPage: product.nextPage === 1,
|
|
4279
|
-
list:
|
|
4279
|
+
list: product.mdPlatformProducts && ((_a2 = product.mdPlatformProducts) == null ? void 0 : _a2.length) > 0 ? (_b2 = product.mdPlatformProducts) == null ? void 0 : _b2.map((item) => {
|
|
4280
4280
|
return {
|
|
4281
4281
|
gameId: item.id_GameMaster,
|
|
4282
4282
|
platformId: item.id,
|
|
@@ -4294,7 +4294,7 @@ const getGameListResponse = (raw) => {
|
|
|
4294
4294
|
rate: "0.00",
|
|
4295
4295
|
jackpotAmount: ""
|
|
4296
4296
|
};
|
|
4297
|
-
})
|
|
4297
|
+
}) : []
|
|
4298
4298
|
};
|
|
4299
4299
|
})) ?? [],
|
|
4300
4300
|
gameList: {
|
|
@@ -4477,6 +4477,8 @@ var Api = /* @__PURE__ */ ((Api2) => {
|
|
|
4477
4477
|
Api2["isMobileRegistered"] = "isMobileRegistered";
|
|
4478
4478
|
Api2["getActivePlatform"] = "getActivePlatform";
|
|
4479
4479
|
Api2["agMemberTransaction"] = "agMemberTransaction";
|
|
4480
|
+
Api2["submitTacCode"] = "submitTacCode";
|
|
4481
|
+
Api2["updateRegister"] = "updateRegister";
|
|
4480
4482
|
return Api2;
|
|
4481
4483
|
})(Api || {});
|
|
4482
4484
|
const modifyGameListRequest = (requests) => {
|
|
@@ -6125,7 +6127,7 @@ const modifyUpcomingMatchesResponse = (result) => {
|
|
|
6125
6127
|
const getDepositResponse = (raw) => {
|
|
6126
6128
|
return {
|
|
6127
6129
|
status: raw.status == 1,
|
|
6128
|
-
message: raw.status == 1 ? raw.message
|
|
6130
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6129
6131
|
paymentUrl: raw.urlpayment ?? ""
|
|
6130
6132
|
};
|
|
6131
6133
|
};
|
|
@@ -6138,7 +6140,7 @@ const modifyDepositResponse = (result) => {
|
|
|
6138
6140
|
const getApplyVipBonusResponse = (raw) => {
|
|
6139
6141
|
return {
|
|
6140
6142
|
status: raw.status == 1,
|
|
6141
|
-
message: raw.status == 1 ? raw.message
|
|
6143
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6142
6144
|
flag: raw.flag
|
|
6143
6145
|
};
|
|
6144
6146
|
};
|
|
@@ -6242,7 +6244,7 @@ const modifyWithdrawalGetResponse = (result) => {
|
|
|
6242
6244
|
const getBaseResponse = (raw) => {
|
|
6243
6245
|
return {
|
|
6244
6246
|
status: raw.status == 1,
|
|
6245
|
-
message: raw.status == 1 ? raw.message
|
|
6247
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? ""
|
|
6246
6248
|
};
|
|
6247
6249
|
};
|
|
6248
6250
|
const getWithdrawResponse = (raw) => {
|
|
@@ -6416,7 +6418,7 @@ const getGetEventTokenResponse = (raw) => {
|
|
|
6416
6418
|
var _a;
|
|
6417
6419
|
return {
|
|
6418
6420
|
status: raw.status == 1,
|
|
6419
|
-
message: raw.status == 1 ? raw.message
|
|
6421
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6420
6422
|
data: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
6421
6423
|
return {
|
|
6422
6424
|
id: item.id,
|
|
@@ -6434,7 +6436,7 @@ const modifyGetEventTokenResponse = (result) => {
|
|
|
6434
6436
|
const getGetExtraGameResponse = (raw) => {
|
|
6435
6437
|
return {
|
|
6436
6438
|
status: raw.status == 1,
|
|
6437
|
-
message: raw.status == 1 ? raw.message
|
|
6439
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
6438
6440
|
loginId: raw.loginId ?? "",
|
|
6439
6441
|
password: raw.password ?? "",
|
|
6440
6442
|
downloadUrl: raw.download_link ?? ""
|
|
@@ -7013,7 +7015,7 @@ const getGetImageResponse = (raw) => {
|
|
|
7013
7015
|
var _a, _b, _c, _d, _e;
|
|
7014
7016
|
return {
|
|
7015
7017
|
status: raw.status == 1,
|
|
7016
|
-
message: raw.status == 1 ? raw.message
|
|
7018
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7017
7019
|
default: ((_a = raw.data) == null ? void 0 : _a.default) ?? [],
|
|
7018
7020
|
online: ((_b = raw.data) == null ? void 0 : _b.online) ?? [],
|
|
7019
7021
|
mycard: ((_c = raw.data) == null ? void 0 : _c.mycard) ?? [],
|
|
@@ -7254,7 +7256,7 @@ const getApplySignInResponse = (raw) => {
|
|
|
7254
7256
|
var _a;
|
|
7255
7257
|
return {
|
|
7256
7258
|
status: raw.status == 1,
|
|
7257
|
-
message: raw.status == 1 ? raw.message
|
|
7259
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7258
7260
|
dayStreak: ((_a = raw.data) == null ? void 0 : _a.continuousDay) ?? 0
|
|
7259
7261
|
};
|
|
7260
7262
|
};
|
|
@@ -7268,7 +7270,7 @@ const getGetCountryResponse = (raw) => {
|
|
|
7268
7270
|
var _a;
|
|
7269
7271
|
return {
|
|
7270
7272
|
status: raw.status == 1,
|
|
7271
|
-
message: raw.status == 1 ? raw.message
|
|
7273
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7272
7274
|
countryList: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
7273
7275
|
var _a2, _b;
|
|
7274
7276
|
return {
|
|
@@ -7565,7 +7567,7 @@ const modifySignInRecordResponse = (result) => {
|
|
|
7565
7567
|
const getReferralProfileResponse = (raw) => {
|
|
7566
7568
|
return {
|
|
7567
7569
|
status: raw.status == 1,
|
|
7568
|
-
message: raw.status == 1 ? raw.message
|
|
7570
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7569
7571
|
fullName: raw.fullname,
|
|
7570
7572
|
currentPage: raw.pagination.current_page,
|
|
7571
7573
|
lastPage: raw.pagination.total_page,
|
|
@@ -7618,7 +7620,7 @@ const modifyReferralProfileResponse = (result) => {
|
|
|
7618
7620
|
const getReferralMemberProfileResponse = (raw) => {
|
|
7619
7621
|
return {
|
|
7620
7622
|
status: raw.status == 1,
|
|
7621
|
-
message: raw.status == 1 ? raw.message
|
|
7623
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7622
7624
|
id: raw.id ?? 0,
|
|
7623
7625
|
data: raw.data.map((item) => {
|
|
7624
7626
|
return {
|
|
@@ -7705,7 +7707,7 @@ const getBetReportResponse = (raw) => {
|
|
|
7705
7707
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
7706
7708
|
return {
|
|
7707
7709
|
status: raw.status == 1,
|
|
7708
|
-
message: raw.status == 1 ? raw.message
|
|
7710
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7709
7711
|
data: {
|
|
7710
7712
|
total: ((_a = raw.data) == null ? void 0 : _a.total) ? {
|
|
7711
7713
|
bet: getFormattedAmount(((_b = raw.data) == null ? void 0 : _b.total.bet) ?? 0),
|
|
@@ -7755,7 +7757,7 @@ const getGetTwoFactorAuthenticateResponse = (raw) => {
|
|
|
7755
7757
|
var _a, _b, _c;
|
|
7756
7758
|
return {
|
|
7757
7759
|
status: raw.status == 1,
|
|
7758
|
-
message: raw.status == 1 ? raw.message
|
|
7760
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7759
7761
|
data: {
|
|
7760
7762
|
key: ((_a = raw.data) == null ? void 0 : _a.key) ?? "",
|
|
7761
7763
|
qrcode: ((_b = raw.data) == null ? void 0 : _b.qrcode) ?? "",
|
|
@@ -7773,7 +7775,7 @@ const getGetUserDeviceListResponse = (raw) => {
|
|
|
7773
7775
|
var _a;
|
|
7774
7776
|
return {
|
|
7775
7777
|
status: raw.status == 1,
|
|
7776
|
-
message: raw.status == 1 ? raw.message
|
|
7778
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7777
7779
|
data: ((_a = raw.data) == null ? void 0 : _a.map((item) => {
|
|
7778
7780
|
return {
|
|
7779
7781
|
deviceName: item.device_name,
|
|
@@ -7868,7 +7870,7 @@ const modifyChangeWithdrawalCodeResponse = (result) => {
|
|
|
7868
7870
|
const getCheckRedPacketTokenResponse = (raw) => {
|
|
7869
7871
|
return {
|
|
7870
7872
|
status: raw.status == 1,
|
|
7871
|
-
message: raw.status == 1 ? raw.message
|
|
7873
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
7872
7874
|
tokenAmount: raw.token_amount
|
|
7873
7875
|
};
|
|
7874
7876
|
};
|
|
@@ -8055,9 +8057,9 @@ const getGetIncentiveDataResponse = (raw) => {
|
|
|
8055
8057
|
return {
|
|
8056
8058
|
status: raw.status,
|
|
8057
8059
|
message: raw.msg ?? "",
|
|
8058
|
-
turnover: raw.data ? raw.data.turnover : 0,
|
|
8060
|
+
turnover: raw.data ? raw.data.turnover ?? 0 : 0,
|
|
8059
8061
|
percentage: raw.data ? raw.data.percentage ?? 0 : 0,
|
|
8060
|
-
incentive: raw.data ? raw.data.incentive : 0,
|
|
8062
|
+
incentive: raw.data ? raw.data.incentive ?? 0 : 0,
|
|
8061
8063
|
claimable: 0
|
|
8062
8064
|
};
|
|
8063
8065
|
};
|
|
@@ -8257,7 +8259,7 @@ const getGetFavouriteGameResponse = (raw) => {
|
|
|
8257
8259
|
rate: "0.00",
|
|
8258
8260
|
jackpotAmount: ""
|
|
8259
8261
|
};
|
|
8260
|
-
})
|
|
8262
|
+
}) : []
|
|
8261
8263
|
};
|
|
8262
8264
|
};
|
|
8263
8265
|
const modifyGetFavouriteGameRequest = (requests) => {
|
|
@@ -8435,7 +8437,7 @@ const getGetASCMatchCountResponse = (raw) => {
|
|
|
8435
8437
|
var _a, _b, _c;
|
|
8436
8438
|
return {
|
|
8437
8439
|
status: raw.status == 1,
|
|
8438
|
-
message: raw.status == 1 ? raw.message
|
|
8440
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8439
8441
|
data: {
|
|
8440
8442
|
live: ((_a = raw.data) == null ? void 0 : _a.l) ?? 0,
|
|
8441
8443
|
today: ((_b = raw.data) == null ? void 0 : _b.t) ?? 0,
|
|
@@ -8465,7 +8467,7 @@ const modifyUpdateDeviceTokenResponse = (result) => {
|
|
|
8465
8467
|
const getGetCryptoListResponse = (raw) => {
|
|
8466
8468
|
return {
|
|
8467
8469
|
status: raw.status == 1,
|
|
8468
|
-
message: raw.status == 1 ? raw.message
|
|
8470
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8469
8471
|
coinList: raw.data.map((coin) => {
|
|
8470
8472
|
return {
|
|
8471
8473
|
name: coin.coin,
|
|
@@ -8489,7 +8491,7 @@ const modifyGetCryptoListResponse = (result) => {
|
|
|
8489
8491
|
const getGetCryptoAddressResponse = (raw) => {
|
|
8490
8492
|
return {
|
|
8491
8493
|
status: raw.status == 1,
|
|
8492
|
-
message: raw.status == 1 ? raw.message
|
|
8494
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8493
8495
|
address: raw.data ?? ""
|
|
8494
8496
|
};
|
|
8495
8497
|
};
|
|
@@ -8873,7 +8875,7 @@ const getCheckGoldEggValidateResponse = (raw) => {
|
|
|
8873
8875
|
var _a;
|
|
8874
8876
|
return {
|
|
8875
8877
|
status: raw.status == 1,
|
|
8876
|
-
message: raw.status == 1 ? raw.message
|
|
8878
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8877
8879
|
desc: ((_a = raw.data) == null ? void 0 : _a.bottom_description_setting) ?? "",
|
|
8878
8880
|
unfinishGame: raw.checkgame.unfinishgame == 1,
|
|
8879
8881
|
ledgerIndex: raw.checkgame.ledgerindex ?? 0,
|
|
@@ -8898,7 +8900,7 @@ const modifyApplyGoldEggResponse = (result) => {
|
|
|
8898
8900
|
const getCheckGoldEggTokenResponse = (raw) => {
|
|
8899
8901
|
return {
|
|
8900
8902
|
status: raw.status == 1,
|
|
8901
|
-
message: raw.status == 1 ? raw.message
|
|
8903
|
+
message: (raw.status == 1 ? raw.message : raw.errormessage) ?? "",
|
|
8902
8904
|
tokenAmount: raw.token_amount
|
|
8903
8905
|
};
|
|
8904
8906
|
};
|
|
@@ -9126,6 +9128,24 @@ const modifyGetActivePlatformRequest = (requests) => {
|
|
|
9126
9128
|
const modifyGetActivePlatformResponse = (result) => {
|
|
9127
9129
|
return result;
|
|
9128
9130
|
};
|
|
9131
|
+
const getSubmitTacCodeResponse = (raw) => {
|
|
9132
|
+
return getBaseResponse(raw);
|
|
9133
|
+
};
|
|
9134
|
+
const modifySubmitTacCodeRequest = (requests) => {
|
|
9135
|
+
return requests;
|
|
9136
|
+
};
|
|
9137
|
+
const modifySubmitTacCodeResponse = (result) => {
|
|
9138
|
+
return result;
|
|
9139
|
+
};
|
|
9140
|
+
const getUpdateRegisterResponse = (raw) => {
|
|
9141
|
+
return getBaseResponse(raw);
|
|
9142
|
+
};
|
|
9143
|
+
const modifyUpdateRegisterRequest = (requests) => {
|
|
9144
|
+
return requests;
|
|
9145
|
+
};
|
|
9146
|
+
const modifyUpdateRegisterResponse = (result) => {
|
|
9147
|
+
return result;
|
|
9148
|
+
};
|
|
9129
9149
|
const getAgMemberTransactionResponse = (raw) => {
|
|
9130
9150
|
var _a;
|
|
9131
9151
|
if (raw.status == 0) {
|
|
@@ -10097,6 +10117,18 @@ const registerAllApiModels = () => {
|
|
|
10097
10117
|
modifyAgMemberTransactionRequest,
|
|
10098
10118
|
modifyAgMemberTransactionResponse
|
|
10099
10119
|
);
|
|
10120
|
+
apiModelRegistry.register(
|
|
10121
|
+
Api.submitTacCode,
|
|
10122
|
+
getSubmitTacCodeResponse,
|
|
10123
|
+
modifySubmitTacCodeRequest,
|
|
10124
|
+
modifySubmitTacCodeResponse
|
|
10125
|
+
);
|
|
10126
|
+
apiModelRegistry.register(
|
|
10127
|
+
Api.updateRegister,
|
|
10128
|
+
getUpdateRegisterResponse,
|
|
10129
|
+
modifyUpdateRegisterRequest,
|
|
10130
|
+
modifyUpdateRegisterResponse
|
|
10131
|
+
);
|
|
10100
10132
|
} catch (error) {
|
|
10101
10133
|
console.error("❌ Failed to register API models:", error);
|
|
10102
10134
|
}
|