@asgardeo/react 0.6.28 → 0.6.30

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
@@ -600,9 +600,7 @@ var AsgardeoReactClient = class extends AsgardeoBrowserClient {
600
600
  }
601
601
  }
602
602
  async getDecodedIdToken(sessionId) {
603
- return this.withLoading(async () => {
604
- return this.asgardeo.getDecodedIdToken(sessionId);
605
- });
603
+ return this.asgardeo.getDecodedIdToken(sessionId);
606
604
  }
607
605
  async getUserProfile(options) {
608
606
  return this.withLoading(async () => {
@@ -771,9 +769,7 @@ var AsgardeoReactClient = class extends AsgardeoBrowserClient {
771
769
  });
772
770
  }
773
771
  async signInSilently(options) {
774
- return this.withLoading(async () => {
775
- return this.asgardeo.signInSilently(options);
776
- });
772
+ return this.asgardeo.signInSilently(options);
777
773
  }
778
774
  async signOut(...args) {
779
775
  if (args[1] && typeof args[1] !== "function") {
@@ -813,9 +809,7 @@ var AsgardeoReactClient = class extends AsgardeoBrowserClient {
813
809
  return this.asgardeo.httpRequestAll(requestConfigs);
814
810
  }
815
811
  async getAccessToken(sessionId) {
816
- return this.withLoading(async () => {
817
- return this.asgardeo.getAccessToken(sessionId);
818
- });
812
+ return this.asgardeo.getAccessToken(sessionId);
819
813
  }
820
814
  clearSession(sessionId) {
821
815
  this.asgardeo.clearSession(sessionId);