@asgardeo/react 0.6.28 → 0.6.29

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 () => {
@@ -813,9 +811,7 @@ var AsgardeoReactClient = class extends AsgardeoBrowserClient {
813
811
  return this.asgardeo.httpRequestAll(requestConfigs);
814
812
  }
815
813
  async getAccessToken(sessionId) {
816
- return this.withLoading(async () => {
817
- return this.asgardeo.getAccessToken(sessionId);
818
- });
814
+ return this.asgardeo.getAccessToken(sessionId);
819
815
  }
820
816
  clearSession(sessionId) {
821
817
  this.asgardeo.clearSession(sessionId);