@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/README.md +1634 -1634
- package/dist/{chunk-7APXFZ5G.js → chunk-5WRVWQBT.js} +3 -3
- package/dist/chunk-5WRVWQBT.js.map +1 -0
- package/dist/{chunk-KTIDTIQ6.js → chunk-QIUE5GTM.js} +9 -9
- package/dist/chunk-QIUE5GTM.js.map +1 -0
- package/dist/{chunk-WVFSGB7Y.js → chunk-ROBGEUSE.js} +2 -2
- package/dist/chunk-ROBGEUSE.js.map +1 -0
- package/dist/index.cjs +13 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +6 -6
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +2 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-7APXFZ5G.js.map +0 -1
- package/dist/chunk-KTIDTIQ6.js.map +0 -1
- package/dist/chunk-WVFSGB7Y.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint } from './chunk-
|
|
2
|
-
import { GraphQLClient, isPlainObject } from './chunk-
|
|
3
|
-
import './chunk-
|
|
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
|
-
|
|
3525
|
-
|
|
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
|
}
|