@opexa/portal-sdk 0.59.86 → 0.59.87

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.js CHANGED
@@ -1,6 +1,6 @@
1
- import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint } from './chunk-KTIDTIQ6.js';
2
- import { GraphQLClient, isPlainObject } from './chunk-7APXFZ5G.js';
3
- import './chunk-WVFSGB7Y.js';
1
+ import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint } from './chunk-QIUE5GTM.js';
2
+ import { GraphQLClient, isPlainObject } from './chunk-5WRVWQBT.js';
3
+ import './chunk-ROBGEUSE.js';
4
4
  import { ObjectId } from '@opexa/object-id';
5
5
  export { ObjectId } from '@opexa/object-id';
6
6
  import { App } from '@capacitor/app';
@@ -3521,8 +3521,13 @@ var Sdk = class {
3521
3521
  const assignTimeout = () => {
3522
3522
  return setTimeout(async () => {
3523
3523
  if (isForeground) {
3524
- const v = await this.sessionManager.verify();
3525
- if (!v) {
3524
+ let res;
3525
+ try {
3526
+ res = await this.sessionManager.verify();
3527
+ } catch {
3528
+ res = false;
3529
+ }
3530
+ if (!res) {
3526
3531
  await input.onInvalid();
3527
3532
  }
3528
3533
  }