@opexa/portal-components 0.0.739 → 0.0.741
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/components/SignIn/MobileNumberSignIn.js +7 -7
- package/dist/components/SignIn/NameAndPasswordSignIn.js +14 -14
- package/dist/constants/GameProvider.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Carousel/Carousel.d.ts +72 -72
- package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/Dialog.d.ts +33 -33
- package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Field/Field.d.ts +21 -21
- package/dist/ui/Field/field.recipe.d.ts +3 -3
- package/dist/ui/Menu/Menu.d.ts +144 -144
- package/dist/ui/Menu/menu.recipe.d.ts +8 -8
- package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
- package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/PinInput/PinInput.d.ts +12 -12
- package/dist/ui/PinInput/pinInput.recipe.d.ts +3 -3
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/QrCode/QrCode.d.ts +40 -40
- package/dist/ui/QrCode/qrCode.recipe.d.ts +8 -8
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/package.json +174 -174
- package/dist/components/Banner/Banner.client.d.ts +0 -12
- package/dist/components/Banner/Banner.client.js +0 -49
- package/dist/components/DigitainLauncher/Loading.d.ts +0 -1
- package/dist/components/DigitainLauncher/Loading.js +0 -5
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +0 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +0 -184
- package/dist/components/KYC/BasicInformation.d.ts +0 -1
- package/dist/components/KYC/BasicInformation.js +0 -101
- package/dist/components/KYC/IdentityVerification.d.ts +0 -1
- package/dist/components/KYC/IdentityVerification.js +0 -120
- package/dist/components/KYC/Indicator.d.ts +0 -1
- package/dist/components/KYC/Indicator.js +0 -8
- package/dist/components/KYC/KYC.lazy.d.ts +0 -6
- package/dist/components/KYC/KYC.lazy.js +0 -45
- package/dist/components/KYC/KYCContext.d.ts +0 -6
- package/dist/components/KYC/KYCContext.js +0 -2
- package/dist/components/KYC/KYCDefault/BasicInformation.d.ts +0 -1
- package/dist/components/KYC/KYCDefault/BasicInformation.js +0 -101
- package/dist/components/KYC/KYCVerificationStatus.d.ts +0 -1
- package/dist/components/KYC/KYCVerificationStatus.js +0 -10
- package/dist/components/KYC/KYCVerificationStatus.lazy.d.ts +0 -1
- package/dist/components/KYC/KYCVerificationStatus.lazy.js +0 -36
- package/dist/components/KYC/PersonalInformation.d.ts +0 -1
- package/dist/components/KYC/PersonalInformation.js +0 -122
- package/dist/components/KYC/useKYC.d.ts +0 -25
- package/dist/components/KYC/useKYC.js +0 -38
- package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
- package/dist/components/PortalProvider/AndroidOnlyComponents.js +0 -12
- package/dist/components/PortalProvider/CXDTokenObserver.d.ts +0 -1
- package/dist/components/PortalProvider/CXDTokenObserver.js +0 -30
- package/dist/components/PortalProvider/LinkGoogleAccountObserver.d.ts +0 -1
- package/dist/components/PortalProvider/LinkGoogleAccountObserver.js +0 -29
- package/dist/components/SessionWatcher/SessionWatcher.d.ts +0 -1
- package/dist/components/SessionWatcher/SessionWatcher.js +0 -20
- package/dist/components/SessionWatcher/index.d.ts +0 -1
- package/dist/components/SessionWatcher/index.js +0 -1
- package/dist/components/SignIn/utils.d.ts +0 -8
- package/dist/components/SignIn/utils.js +0 -26
- package/dist/constants/Branches.d.ts +0 -2
- package/dist/constants/Branches.js +0 -42
- package/dist/images/responsible-gaming-yellow.png +0 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
- package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
- package/dist/third-parties/FacebookPixel/api.js +0 -1
- package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
- package/dist/third-parties/FacebookPixel/index.js +0 -1
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
- package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
- package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
- package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
- package/dist/third-parties/index.d.ts +0 -2
- package/dist/third-parties/index.js +0 -2
|
@@ -58,16 +58,16 @@ export function MobileNumberSignIn() {
|
|
|
58
58
|
context.setStep(1);
|
|
59
59
|
globalStore.signIn.setOpen(false);
|
|
60
60
|
const session = await getSession();
|
|
61
|
+
await unregisterFCMDevice({
|
|
62
|
+
type: ['IOS', 'ANDROID'],
|
|
63
|
+
}, {
|
|
64
|
+
headers: {
|
|
65
|
+
Authorization: `Bearer ${session.token}`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
61
68
|
invariant(session.status === 'authenticated');
|
|
62
69
|
if (Capacitor.isNativePlatform()) {
|
|
63
70
|
const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
|
|
64
|
-
await unregisterFCMDevice({
|
|
65
|
-
type: ['IOS', 'ANDROID'],
|
|
66
|
-
}, {
|
|
67
|
-
headers: {
|
|
68
|
-
Authorization: `Bearer ${session.token}`,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
71
|
if (pushToken) {
|
|
72
72
|
await registerFCMDevice({
|
|
73
73
|
type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
|
|
@@ -59,15 +59,15 @@ export function NameAndPasswordSignIn() {
|
|
|
59
59
|
else {
|
|
60
60
|
const session = await getSession();
|
|
61
61
|
invariant(session.status === 'authenticated');
|
|
62
|
+
await unregisterFCMDevice({
|
|
63
|
+
type: ['IOS', 'ANDROID'],
|
|
64
|
+
}, {
|
|
65
|
+
headers: {
|
|
66
|
+
Authorization: `Bearer ${session.token}`,
|
|
67
|
+
},
|
|
68
|
+
});
|
|
62
69
|
if (Capacitor.isNativePlatform()) {
|
|
63
70
|
const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
|
|
64
|
-
await unregisterFCMDevice({
|
|
65
|
-
type: ['IOS', 'ANDROID'],
|
|
66
|
-
}, {
|
|
67
|
-
headers: {
|
|
68
|
-
Authorization: `Bearer ${session.token}`,
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
71
|
if (pushToken) {
|
|
72
72
|
await registerFCMDevice({
|
|
73
73
|
type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
|
|
@@ -143,15 +143,15 @@ export function NameAndPasswordSignIn() {
|
|
|
143
143
|
form.reset();
|
|
144
144
|
const session = await getSession();
|
|
145
145
|
invariant(session.status === 'authenticated');
|
|
146
|
+
await unregisterFCMDevice({
|
|
147
|
+
type: ['IOS', 'ANDROID'],
|
|
148
|
+
}, {
|
|
149
|
+
headers: {
|
|
150
|
+
Authorization: `Bearer ${session.token}`,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
146
153
|
if (Capacitor.isNativePlatform()) {
|
|
147
154
|
const pushToken = localStorage.getItem(LOCALSTORAGE_PUSH_NOTIFICATION_TOKEN_KEY);
|
|
148
|
-
await unregisterFCMDevice({
|
|
149
|
-
type: ['IOS', 'ANDROID'],
|
|
150
|
-
}, {
|
|
151
|
-
headers: {
|
|
152
|
-
Authorization: `Bearer ${session.token}`,
|
|
153
|
-
},
|
|
154
|
-
});
|
|
155
155
|
if (pushToken) {
|
|
156
156
|
await registerFCMDevice({
|
|
157
157
|
type: Capacitor.getPlatform() === 'android' ? 'ANDROID' : 'IOS',
|