@shopify/app-bridge-utils
v3.5.1
Published
**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**
Downloads
105,343
Maintainers
Keywords
Readme
@shopify/app-bridge-utils
Shopify is doubling our engineering staff in 2021! Join our team and work on libraries like this one.
This package contain utilities for your App Bridge app.
Utilities
| Utility | | Description |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| setupModalAutoSizing
| README | Create an iframe modal that updates its height to fit the page content |
| [beta] getSessionToken
| README | Return a Promise
of session token used by Next Generation Embedded Authorization |
| [beta] getAuthorizationCodePayload
| README | Return a Promise<AuthCode.Payload>
containing an authorization code used by Next Generation Embedded Authorization |
| [beta] authenticatedFetch
| README | Return an authenticated fetch
function |
| [beta] userAuthorizedFetch
| README | Return a fetch
function to handle requests that require per-user access tokens |