tradly 1.2.11 → 1.2.12
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/Helper/AuthHelper.js +12 -12
- package/package.json +1 -1
package/Helper/AuthHelper.js
CHANGED
|
@@ -9,18 +9,18 @@ let authPackageLoading = false;
|
|
|
9
9
|
|
|
10
10
|
// Try to load auth package eagerly (non-blocking)
|
|
11
11
|
// This will attempt to load the package in the background
|
|
12
|
-
(async () => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})();
|
|
12
|
+
// (async () => {
|
|
13
|
+
// if (authPackage !== null || authPackageLoading) return;
|
|
14
|
+
// authPackageLoading = true;
|
|
15
|
+
// try {
|
|
16
|
+
// authPackage = await import("@tradly/auth");
|
|
17
|
+
// } catch (e) {
|
|
18
|
+
// // Auth package not installed, continue without it
|
|
19
|
+
// authPackage = false; // Use false to indicate we tried and failed
|
|
20
|
+
// } finally {
|
|
21
|
+
// authPackageLoading = false;
|
|
22
|
+
// }
|
|
23
|
+
// })();
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Get auth package (synchronous check)
|