@opexa/portal-sdk 0.59.4 → 0.59.6
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 +21 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1952,6 +1952,12 @@ var CREATE_MEMBER_VERIFICATION_MUTATION = gql`
|
|
|
1952
1952
|
... on MemberVerificationAlreadyExistsError {
|
|
1953
1953
|
__typename
|
|
1954
1954
|
}
|
|
1955
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1956
|
+
__typename
|
|
1957
|
+
}
|
|
1958
|
+
... on AccountNotFoundError {
|
|
1959
|
+
__typename
|
|
1960
|
+
}
|
|
1955
1961
|
}
|
|
1956
1962
|
}
|
|
1957
1963
|
`;
|
|
@@ -1969,6 +1975,12 @@ var CREATE_MEMBER_VERIFICATION_NEXT_MUTATION = gql`
|
|
|
1969
1975
|
... on MemberVerificationAlreadyExistsError {
|
|
1970
1976
|
__typename
|
|
1971
1977
|
}
|
|
1978
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1979
|
+
__typename
|
|
1980
|
+
}
|
|
1981
|
+
... on AccountNotFoundError {
|
|
1982
|
+
__typename
|
|
1983
|
+
}
|
|
1972
1984
|
}
|
|
1973
1985
|
}
|
|
1974
1986
|
`;
|
|
@@ -3466,7 +3478,12 @@ function createOperationError(code) {
|
|
|
3466
3478
|
TurnoverRequirementNotYetFulfilledError: "Turnover requirement not yet fulfilled",
|
|
3467
3479
|
FirstDepositRequiredError: "First deposit is required",
|
|
3468
3480
|
VerificationLockedError: "Verification is locked",
|
|
3469
|
-
|
|
3481
|
+
GameProviderNotEnabledError: "Game provider is not enabled",
|
|
3482
|
+
GameTypeNotEnabledError: "Game type is not enabled",
|
|
3483
|
+
InsufficientFundsError: "Insufficient balance",
|
|
3484
|
+
InvalidAgentCodeError: "Invalid affiliate code",
|
|
3485
|
+
InvalidMobileNumberVerificationCodeError: "Invalid mobile number verification code",
|
|
3486
|
+
PlatformDoesNotExistError: "Platform does not exist"
|
|
3470
3487
|
};
|
|
3471
3488
|
return {
|
|
3472
3489
|
name: code,
|
|
@@ -9072,10 +9089,10 @@ var Sdk = class {
|
|
|
9072
9089
|
const market = searchParams.get("market");
|
|
9073
9090
|
const marketPattern = /^[a-zA-Z0-9]{3,10}(-[a-zA-Z0-9]{3,10}){0,2}$/;
|
|
9074
9091
|
const adClickId = this.adManager.clickId;
|
|
9075
|
-
if (
|
|
9076
|
-
sessionStorage.setItem("domain", "happybingo.ph/meta-ads");
|
|
9077
|
-
} else if (market && marketPattern.test(market)) {
|
|
9092
|
+
if (market && marketPattern.test(market)) {
|
|
9078
9093
|
sessionStorage.setItem("domain", `${hostname}/${market}`);
|
|
9094
|
+
} else if (adClickId) {
|
|
9095
|
+
sessionStorage.setItem("domain", `${hostname}/meta-ads`);
|
|
9079
9096
|
} else if (sessionStorage.getItem("domain") == null) {
|
|
9080
9097
|
sessionStorage.setItem("domain", hostname);
|
|
9081
9098
|
}
|