@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.
@@ -4708,13 +4708,13 @@ var AuthService = class {
4708
4708
  if (version !== 4) {
4709
4709
  headers.append("Authorization", `Bearer ${refreshToken}`);
4710
4710
  }
4711
- if (version === 3 || version === 4) {
4712
- const fingerprint = await getFingerPrint();
4713
- if (fingerprint) {
4714
- headers.append("Fingerprint", fingerprint);
4715
- }
4716
- }
4717
4711
  try {
4712
+ if (version === 3 || version === 4) {
4713
+ const fingerprint = await getFingerPrint();
4714
+ if (fingerprint) {
4715
+ headers.append("Fingerprint", fingerprint);
4716
+ }
4717
+ }
4718
4718
  const isWeb = isWebPlatform();
4719
4719
  const queryParam = isWeb && version === 4 ? "?type=web" : "";
4720
4720
  const res = await fetch(