@shopify/app-bridge
Advanced tools
Comparing version 3.4.4-alpha.0 to 3.5.0
@@ -19,3 +19,6 @@ import { Group, MetaAction } from '../types'; | ||
} | ||
export interface SessionTokenApi { | ||
get(): Promise<string>; | ||
} | ||
export declare function request(): RequestSessionTokenAction; | ||
export declare function respond(sessionToken: Payload): RespondWithSessionTokenAction; |
@@ -38,2 +38,12 @@ import { ClientApplication } from '../../client'; | ||
export declare type ToastAction = ShowAction | ClearAction | MetaAction; | ||
export declare type ShowPayload = Omit<Payload, 'action'> & { | ||
action?: { | ||
content: string; | ||
onAction: () => void; | ||
}; | ||
}; | ||
export interface ToastApi { | ||
show: (payload: ShowPayload) => void; | ||
clear: (payload: ClearPayload) => void; | ||
} | ||
export declare function show(toastMessage: Payload): ShowAction; | ||
@@ -40,0 +50,0 @@ export declare function clear(payload: ClearPayload): ClearAction; |
{ | ||
"name": "@shopify/app-bridge", | ||
"version": "3.4.4-alpha.0", | ||
"version": "3.5.0", | ||
"types": "index.d.ts", | ||
@@ -57,3 +57,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "35a8370f791de6d6acceb1290f00b0a317fc41c0" | ||
"gitHead": "2a1eecb747c070113258a0257674020fed35672a" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
985312
20227
0