@shopify/app-bridge-host
Version:
App Bridge Host contains middleware and components that are meant to be consumed by the app's host. The middleware and `Frame` component are responsible for facilitating messages posted between the client and host, and used to act on actions sent from the
19 lines (18 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.API_CLIENT_LOAD = 'APICLIENT::LOAD';
exports.API_CLIENT_UNLOAD = 'APICLIENT::UNLOAD';
function apiClientLoad(payload) {
return {
payload: payload,
type: exports.API_CLIENT_LOAD,
};
}
exports.apiClientLoad = apiClientLoad;
function apiClientUnload(payload) {
return {
payload: payload,
type: exports.API_CLIENT_UNLOAD,
};
}
exports.apiClientUnload = apiClientUnload;