60p82u21t54k 1.1.40 → 1.1.41
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 +44 -53
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/autoRegister/type.d.ts +2 -3
- package/dist/api/autoRegister/type.d.ts.map +1 -1
- package/dist/api/getMaintenanceMode/getMaintenanceModeApi.d.ts.map +1 -1
- package/dist/api/getMaintenanceMode/type.d.ts +2 -3
- package/dist/api/getMaintenanceMode/type.d.ts.map +1 -1
- package/dist/api/jackpotData/jackpotDataApi.d.ts.map +1 -1
- package/dist/api/jackpotData/type.d.ts +2 -3
- package/dist/api/jackpotData/type.d.ts.map +1 -1
- package/dist/api/loadMatch/loadMatchApi.d.ts.map +1 -1
- package/dist/api/loadMatch/type.d.ts +2 -3
- package/dist/api/loadMatch/type.d.ts.map +1 -1
- package/dist/api/login/loginApi.d.ts.map +1 -1
- package/dist/api/login/type.d.ts +2 -4
- package/dist/api/login/type.d.ts.map +1 -1
- package/dist/api/logout/type.d.ts +2 -4
- package/dist/api/logout/type.d.ts.map +1 -1
- package/dist/api/rename/type.d.ts +2 -4
- package/dist/api/rename/type.d.ts.map +1 -1
- package/dist/api/sessionToJwt/sessionToJwtApi.d.ts.map +1 -1
- package/dist/api/sessionToJwt/type.d.ts +5 -4
- package/dist/api/sessionToJwt/type.d.ts.map +1 -1
- package/dist/api/setLocale/type.d.ts +2 -3
- package/dist/api/setLocale/type.d.ts.map +1 -1
- package/dist/api/socialLogin/socialLoginApi.d.ts.map +1 -1
- package/dist/api/socialLogin/type.d.ts +6 -3
- package/dist/api/socialLogin/type.d.ts.map +1 -1
- package/dist/api/telegramLogin/telegramLoginApi.d.ts.map +1 -1
- package/dist/api/telegramLogin/type.d.ts +2 -4
- package/dist/api/telegramLogin/type.d.ts.map +1 -1
- package/dist/util/type.d.ts +5 -0
- package/dist/util/type.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -6732,8 +6732,8 @@ const autoRegisterApi = () => __async(void 0, null, function* () {
|
|
|
6732
6732
|
message: ""
|
|
6733
6733
|
}, DefaultAutoRegisterData);
|
|
6734
6734
|
try {
|
|
6735
|
-
const
|
|
6736
|
-
const output =
|
|
6735
|
+
const response = yield get("/graph/autoregister");
|
|
6736
|
+
const output = response.data;
|
|
6737
6737
|
result.data = {
|
|
6738
6738
|
status: output.status == 1,
|
|
6739
6739
|
message: (_a = output.message) != null ? _a : "",
|
|
@@ -6770,8 +6770,8 @@ const getMaintenanceModeApi = () => __async(void 0, null, function* () {
|
|
|
6770
6770
|
message: ""
|
|
6771
6771
|
}, DefaultGetMaintenanceModeData);
|
|
6772
6772
|
try {
|
|
6773
|
-
const
|
|
6774
|
-
const output =
|
|
6773
|
+
const response = yield get("/graph/getMaintenanceMode");
|
|
6774
|
+
const output = response.data;
|
|
6775
6775
|
result.data = {
|
|
6776
6776
|
status: output.status == 1,
|
|
6777
6777
|
message: (_a = output.msg) != null ? _a : "",
|
|
@@ -6804,8 +6804,8 @@ const jackpotDataApi = () => __async(void 0, null, function* () {
|
|
|
6804
6804
|
message: ""
|
|
6805
6805
|
}, DefaultjackpotData);
|
|
6806
6806
|
try {
|
|
6807
|
-
const
|
|
6808
|
-
const output =
|
|
6807
|
+
const response = yield get("/api/jackpotData");
|
|
6808
|
+
const output = response.data;
|
|
6809
6809
|
result.data = {
|
|
6810
6810
|
startTimestamp: output.startTimestamp,
|
|
6811
6811
|
startJackpot: output.startJackpot,
|
|
@@ -6821,18 +6821,20 @@ const jackpotDataApi = () => __async(void 0, null, function* () {
|
|
|
6821
6821
|
}
|
|
6822
6822
|
return result;
|
|
6823
6823
|
});
|
|
6824
|
+
const DefaultLoadMatchData = {
|
|
6825
|
+
data: {
|
|
6826
|
+
message: "",
|
|
6827
|
+
urlLink: ""
|
|
6828
|
+
}
|
|
6829
|
+
};
|
|
6824
6830
|
const loadMatchApi = (gameId, stage, sportId, tagId, matchId) => __async(void 0, null, function* () {
|
|
6825
6831
|
var _a, _b, _c, _d;
|
|
6826
|
-
let result = {
|
|
6832
|
+
let result = __spreadValues({
|
|
6827
6833
|
status: 200,
|
|
6828
|
-
message: ""
|
|
6829
|
-
|
|
6830
|
-
message: "",
|
|
6831
|
-
urlLink: ""
|
|
6832
|
-
}
|
|
6833
|
-
};
|
|
6834
|
+
message: ""
|
|
6835
|
+
}, DefaultLoadMatchData);
|
|
6834
6836
|
try {
|
|
6835
|
-
const
|
|
6837
|
+
const response = yield customPost(`/loadgame/${gameId}`, {
|
|
6836
6838
|
wanturl: 1,
|
|
6837
6839
|
extra: {
|
|
6838
6840
|
Stage: stage,
|
|
@@ -6841,7 +6843,7 @@ const loadMatchApi = (gameId, stage, sportId, tagId, matchId) => __async(void 0,
|
|
|
6841
6843
|
MatchId: matchId
|
|
6842
6844
|
}
|
|
6843
6845
|
});
|
|
6844
|
-
const output =
|
|
6846
|
+
const output = response.data;
|
|
6845
6847
|
result = {
|
|
6846
6848
|
status: (_a = output.code) != null ? _a : 200,
|
|
6847
6849
|
message: (_b = output.message) != null ? _b : "",
|
|
@@ -6852,14 +6854,10 @@ const loadMatchApi = (gameId, stage, sportId, tagId, matchId) => __async(void 0,
|
|
|
6852
6854
|
};
|
|
6853
6855
|
} catch (error) {
|
|
6854
6856
|
const extendedError = error;
|
|
6855
|
-
result = {
|
|
6857
|
+
result = __spreadValues({
|
|
6856
6858
|
status: extendedError.status || 500,
|
|
6857
|
-
message: error.message
|
|
6858
|
-
|
|
6859
|
-
message: "",
|
|
6860
|
-
urlLink: ""
|
|
6861
|
-
}
|
|
6862
|
-
};
|
|
6859
|
+
message: error.message
|
|
6860
|
+
}, DefaultLoadMatchData);
|
|
6863
6861
|
}
|
|
6864
6862
|
return result;
|
|
6865
6863
|
});
|
|
@@ -6877,10 +6875,6 @@ const loginApi = (username, password, type = "") => __async(void 0, null, functi
|
|
|
6877
6875
|
payload.type = type;
|
|
6878
6876
|
}
|
|
6879
6877
|
yield customPost("/graph/auth/sesh", payload);
|
|
6880
|
-
result = {
|
|
6881
|
-
status: 200,
|
|
6882
|
-
message: ""
|
|
6883
|
-
};
|
|
6884
6878
|
} catch (error) {
|
|
6885
6879
|
const extendedError = error;
|
|
6886
6880
|
result = {
|
|
@@ -6912,14 +6906,14 @@ const rename = (fullname) => __async(void 0, null, function* () {
|
|
|
6912
6906
|
message: ""
|
|
6913
6907
|
};
|
|
6914
6908
|
try {
|
|
6915
|
-
const
|
|
6909
|
+
const response = yield customPost("/graph/rename", {
|
|
6916
6910
|
fullname
|
|
6917
6911
|
});
|
|
6918
6912
|
if (false) ;
|
|
6919
|
-
const
|
|
6913
|
+
const output = response.data;
|
|
6920
6914
|
result = {
|
|
6921
|
-
status:
|
|
6922
|
-
message:
|
|
6915
|
+
status: output.status == 1 ? 200 : 509,
|
|
6916
|
+
message: output.msg ? output.msg : ""
|
|
6923
6917
|
};
|
|
6924
6918
|
} catch (error) {
|
|
6925
6919
|
const extendedError = error;
|
|
@@ -6943,11 +6937,11 @@ const setLocaleApi = (localeCode, udid) => __async(void 0, null, function* () {
|
|
|
6943
6937
|
message: ""
|
|
6944
6938
|
}, DefaultSetLocaleData);
|
|
6945
6939
|
try {
|
|
6946
|
-
const
|
|
6940
|
+
const response = yield customPost("/graph/setlocale", {
|
|
6947
6941
|
language: localeCode,
|
|
6948
6942
|
udid: udid != null ? udid : ""
|
|
6949
6943
|
});
|
|
6950
|
-
const output =
|
|
6944
|
+
const output = response.data;
|
|
6951
6945
|
result.data = {
|
|
6952
6946
|
status: output.status == 1,
|
|
6953
6947
|
message: (_a = output.message) != null ? _a : ""
|
|
@@ -6968,10 +6962,6 @@ const telegramLoginApi = (data) => __async(void 0, null, function* () {
|
|
|
6968
6962
|
};
|
|
6969
6963
|
try {
|
|
6970
6964
|
yield customPost("/loginVia/telegram", data);
|
|
6971
|
-
result = {
|
|
6972
|
-
status: 200,
|
|
6973
|
-
message: ""
|
|
6974
|
-
};
|
|
6975
6965
|
} catch (error) {
|
|
6976
6966
|
const extendedError = error;
|
|
6977
6967
|
result = {
|
|
@@ -6999,11 +6989,11 @@ const socialLoginApi = (loginToken, loginEmail, loginMethod) => __async(void 0,
|
|
|
6999
6989
|
email: loginEmail,
|
|
7000
6990
|
social_type: loginMethod
|
|
7001
6991
|
};
|
|
7002
|
-
const
|
|
6992
|
+
const response = yield customPost(
|
|
7003
6993
|
"/graph/socialLogin",
|
|
7004
6994
|
payload
|
|
7005
6995
|
);
|
|
7006
|
-
const output =
|
|
6996
|
+
const output = response.data;
|
|
7007
6997
|
result.data = {
|
|
7008
6998
|
status: output.status == 1,
|
|
7009
6999
|
message: (_a = output.errormessage) != null ? _a : ""
|
|
@@ -7017,30 +7007,31 @@ const socialLoginApi = (loginToken, loginEmail, loginMethod) => __async(void 0,
|
|
|
7017
7007
|
}
|
|
7018
7008
|
return result;
|
|
7019
7009
|
});
|
|
7010
|
+
const DefaultSessionToJwtData = {
|
|
7011
|
+
data: {
|
|
7012
|
+
accessToken: ""
|
|
7013
|
+
}
|
|
7014
|
+
};
|
|
7020
7015
|
const sessionToJwtApi = () => __async(void 0, null, function* () {
|
|
7021
|
-
var _a
|
|
7022
|
-
let result = {
|
|
7016
|
+
var _a;
|
|
7017
|
+
let result = __spreadValues({
|
|
7023
7018
|
status: 200,
|
|
7024
|
-
message: ""
|
|
7025
|
-
|
|
7026
|
-
};
|
|
7019
|
+
message: ""
|
|
7020
|
+
}, DefaultSessionToJwtData);
|
|
7027
7021
|
try {
|
|
7028
|
-
const
|
|
7022
|
+
const response = yield customPost(
|
|
7029
7023
|
"/graph/auth/session-to-jwt"
|
|
7030
7024
|
);
|
|
7031
|
-
const
|
|
7032
|
-
result = {
|
|
7033
|
-
|
|
7034
|
-
message: (_a = response.message) != null ? _a : "",
|
|
7035
|
-
accessToken: (_b = response.access_token) != null ? _b : ""
|
|
7025
|
+
const output = response.data;
|
|
7026
|
+
result.data = {
|
|
7027
|
+
accessToken: (_a = output.access_token) != null ? _a : ""
|
|
7036
7028
|
};
|
|
7037
7029
|
} catch (error) {
|
|
7038
7030
|
const extendedError = error;
|
|
7039
|
-
result = {
|
|
7031
|
+
result = __spreadValues({
|
|
7040
7032
|
status: extendedError.status || 500,
|
|
7041
|
-
message: error.message
|
|
7042
|
-
|
|
7043
|
-
};
|
|
7033
|
+
message: error.message
|
|
7034
|
+
}, DefaultSessionToJwtData);
|
|
7044
7035
|
}
|
|
7045
7036
|
return result;
|
|
7046
7037
|
});
|