UNPKG

@the-overse/ui-extensions-utils

Version:

Utility functions for Shopify UI Extensions

10 lines 421 B
import type { SessionToken } from '@shopify/ui-extensions/customer-account'; /** * Fetches data from the app. * * @param requestUrl - The URL to fetch data from. * @param sessionToken - The session token to use for authentication. * @returns The response from the app. */ export declare function fetchApp(requestUrl: string, sessionToken: SessionToken): Promise<Response | null>; //# sourceMappingURL=index.d.ts.map