@shopify/app-bridge
Advanced tools
Comparing version 3.7.10-snapshot-20240112172646 to 3.7.10-snapshot-20240112202310
{ | ||
"name": "@shopify/app-bridge", | ||
"version": "3.7.10-snapshot-20240112172646", | ||
"version": "3.7.10-snapshot-20240112202310", | ||
"types": "index.d.ts", | ||
@@ -54,3 +54,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@shopify/app-bridge-core": "1.1.1-snapshot-20240112172646", | ||
"@shopify/app-bridge-core": "1.1.1-snapshot-20240112202310", | ||
"base64url": "^3.0.1", | ||
@@ -57,0 +57,0 @@ "web-vitals": "^3.0.1" |
import type { ClientApplication } from '../../client'; | ||
declare type FetchOperation = typeof fetch; | ||
export interface AuthorizedFetchOptions { | ||
@@ -6,4 +7,5 @@ app: ClientApplication; | ||
isAuthorizationCodeRequired?: (response: Response) => boolean; | ||
fetchOperation: (uri: RequestInfo | URL, options?: RequestInit) => Promise<Response>; | ||
fetchOperation: FetchOperation; | ||
} | ||
export declare function userAuthorizedFetch({ app, callbackUri, isAuthorizationCodeRequired, fetchOperation, }: AuthorizedFetchOptions): (uri: RequestInfo, options?: RequestInit | undefined) => Promise<Response>; | ||
export declare function userAuthorizedFetch({ app, callbackUri, isAuthorizationCodeRequired, fetchOperation, }: AuthorizedFetchOptions): FetchOperation; | ||
export {}; |
import type { ClientApplication } from '../../client'; | ||
declare type FetchOperation = (input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response>; | ||
declare type FetchOperation = typeof fetch; | ||
export interface AuthenticatedFetchOptions { | ||
@@ -18,3 +18,3 @@ /** | ||
} | ||
export declare function authenticatedFetch(app: ClientApplication, fetchOperationOrOptions?: FetchOperation | AuthenticatedFetchOptions | undefined): (uri: RequestInfo, options?: RequestInit) => Promise<Response>; | ||
export declare function authenticatedFetch(app: ClientApplication, fetchOperationOrOptions?: FetchOperation | AuthenticatedFetchOptions | undefined): FetchOperation; | ||
export {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
15283
895360
+ Added@shopify/app-bridge-core@1.1.1-snapshot-20240112202310(transitive)
- Removed@shopify/app-bridge-core@1.1.1-snapshot-20240112172646(transitive)
Updated@shopify/app-bridge-core@1.1.1-snapshot-20240112202310