@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.d.cts
CHANGED
|
@@ -266,7 +266,7 @@ type AchievementType$1 = 'DIVERSE_DEBUT' | 'VARIETY_VIRTUOSO' | 'MASTER_OF_DIVER
|
|
|
266
266
|
type SendVerificationCodeError$1 = 'InvalidPlatformError' | 'NotReadyToSendVerficationCodeError';
|
|
267
267
|
type SendVerificationCodeError__Next$1 = 'NotReadyToSendVerficationCodeError' | 'RateLimitExceededError' | 'AccountNotFoundError';
|
|
268
268
|
type VerifyMobileNumberError$1 = 'InvalidSMSVerificationCodeError' | 'MobileNumberAlreadyVerifiedError';
|
|
269
|
-
type CreateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyExistsError';
|
|
269
|
+
type CreateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyExistsError' | 'MemberVerificationAlreadyApprovedError' | 'AccountNotFoundError';
|
|
270
270
|
type UpdateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyApprovedError' | 'MemberVerificationDoesNotExistError';
|
|
271
271
|
type SubmitMemberVerificationError$1 = 'VerificationDataIncompleteError' | 'MemberVerificationDoesNotExistError' | 'MemberVerificationAlreadyApprovedError';
|
|
272
272
|
type LoginChannel$1 = 'IOS' | 'ANDROID' | 'WEB_DESKTOP' | 'WEB_ANDROID';
|
package/dist/index.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ type AchievementType$1 = 'DIVERSE_DEBUT' | 'VARIETY_VIRTUOSO' | 'MASTER_OF_DIVER
|
|
|
266
266
|
type SendVerificationCodeError$1 = 'InvalidPlatformError' | 'NotReadyToSendVerficationCodeError';
|
|
267
267
|
type SendVerificationCodeError__Next$1 = 'NotReadyToSendVerficationCodeError' | 'RateLimitExceededError' | 'AccountNotFoundError';
|
|
268
268
|
type VerifyMobileNumberError$1 = 'InvalidSMSVerificationCodeError' | 'MobileNumberAlreadyVerifiedError';
|
|
269
|
-
type CreateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyExistsError';
|
|
269
|
+
type CreateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyExistsError' | 'MemberVerificationAlreadyApprovedError' | 'AccountNotFoundError';
|
|
270
270
|
type UpdateMemberVerificationError = 'FileDoesNotExistError' | 'FileNotReadyError' | 'MemberVerificationAlreadyApprovedError' | 'MemberVerificationDoesNotExistError';
|
|
271
271
|
type SubmitMemberVerificationError$1 = 'VerificationDataIncompleteError' | 'MemberVerificationDoesNotExistError' | 'MemberVerificationAlreadyApprovedError';
|
|
272
272
|
type LoginChannel$1 = 'IOS' | 'ANDROID' | 'WEB_DESKTOP' | 'WEB_ANDROID';
|
package/dist/index.js
CHANGED
|
@@ -1947,6 +1947,12 @@ var CREATE_MEMBER_VERIFICATION_MUTATION = gql`
|
|
|
1947
1947
|
... on MemberVerificationAlreadyExistsError {
|
|
1948
1948
|
__typename
|
|
1949
1949
|
}
|
|
1950
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1951
|
+
__typename
|
|
1952
|
+
}
|
|
1953
|
+
... on AccountNotFoundError {
|
|
1954
|
+
__typename
|
|
1955
|
+
}
|
|
1950
1956
|
}
|
|
1951
1957
|
}
|
|
1952
1958
|
`;
|
|
@@ -1964,6 +1970,12 @@ var CREATE_MEMBER_VERIFICATION_NEXT_MUTATION = gql`
|
|
|
1964
1970
|
... on MemberVerificationAlreadyExistsError {
|
|
1965
1971
|
__typename
|
|
1966
1972
|
}
|
|
1973
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1974
|
+
__typename
|
|
1975
|
+
}
|
|
1976
|
+
... on AccountNotFoundError {
|
|
1977
|
+
__typename
|
|
1978
|
+
}
|
|
1967
1979
|
}
|
|
1968
1980
|
}
|
|
1969
1981
|
`;
|
|
@@ -3461,7 +3473,12 @@ function createOperationError(code) {
|
|
|
3461
3473
|
TurnoverRequirementNotYetFulfilledError: "Turnover requirement not yet fulfilled",
|
|
3462
3474
|
FirstDepositRequiredError: "First deposit is required",
|
|
3463
3475
|
VerificationLockedError: "Verification is locked",
|
|
3464
|
-
|
|
3476
|
+
GameProviderNotEnabledError: "Game provider is not enabled",
|
|
3477
|
+
GameTypeNotEnabledError: "Game type is not enabled",
|
|
3478
|
+
InsufficientFundsError: "Insufficient balance",
|
|
3479
|
+
InvalidAgentCodeError: "Invalid affiliate code",
|
|
3480
|
+
InvalidMobileNumberVerificationCodeError: "Invalid mobile number verification code",
|
|
3481
|
+
PlatformDoesNotExistError: "Platform does not exist"
|
|
3465
3482
|
};
|
|
3466
3483
|
return {
|
|
3467
3484
|
name: code,
|
|
@@ -9067,10 +9084,10 @@ var Sdk = class {
|
|
|
9067
9084
|
const market = searchParams.get("market");
|
|
9068
9085
|
const marketPattern = /^[a-zA-Z0-9]{3,10}(-[a-zA-Z0-9]{3,10}){0,2}$/;
|
|
9069
9086
|
const adClickId = this.adManager.clickId;
|
|
9070
|
-
if (
|
|
9071
|
-
sessionStorage.setItem("domain", "happybingo.ph/meta-ads");
|
|
9072
|
-
} else if (market && marketPattern.test(market)) {
|
|
9087
|
+
if (market && marketPattern.test(market)) {
|
|
9073
9088
|
sessionStorage.setItem("domain", `${hostname}/${market}`);
|
|
9089
|
+
} else if (adClickId) {
|
|
9090
|
+
sessionStorage.setItem("domain", `${hostname}/meta-ads`);
|
|
9074
9091
|
} else if (sessionStorage.getItem("domain") == null) {
|
|
9075
9092
|
sessionStorage.setItem("domain", hostname);
|
|
9076
9093
|
}
|