Skip to content

chore: expose http as a JS module #128

@brionmario

Description

@brionmario

Current Limitation

ATM, http is exposed from the useAsgardeo hook and if we need to send the API request from a non-react component, we have to pass the http as an argument.

ex:

Image

Suggested Improvement

Expose http as a module.

ex:

import {http} from '@asgardeo/react';

Please select the package issue is related to

@asgardeo/react

Version

0.5.16

Reporter Checklist

  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @asgardeo/reactIssues related to the `React.js` wrapper of Asgardeo JavaScript SDKType/Improvement

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions