UNPKG

@shopify/app-bridge-host

Version:

App Bridge Host contains components and middleware to be consumed by the app's host, as well as the host itself. The middleware and `Frame` component are responsible for facilitating communication between the client and host, and used to act on actions se

24 lines (19 loc) 1.06 kB
'use strict'; var middleware = require('./mobile/middleware.js'); var helpers = require('./mobile/helpers.js'); exports.getMobileMiddleware = middleware.getMobileMiddleware; exports.CART_PERMISSION_MESSAGE = helpers.CART_PERMISSION_MESSAGE; exports.applyPrintToLegacyButton = helpers.applyPrintToLegacyButton; exports.buildCallbackQueueItem = helpers.buildCallbackQueueItem; exports.buildQueueItem = helpers.buildQueueItem; exports.fixDiscountInCartResponse = helpers.fixDiscountInCartResponse; exports.isCartAction = helpers.isCartAction; exports.isLegacyShopifyMobile = helpers.isLegacyShopifyMobile; exports.isLegacyShopifyPOS = helpers.isLegacyShopifyPOS; exports.isMobile = helpers.isMobile; exports.isMobileMiddlewareAvailable = helpers.isMobileMiddlewareAvailable; exports.isMobileMiddlewareSupported = helpers.isMobileMiddlewareSupported; exports.isShopifyMobile = helpers.isShopifyMobile; exports.isShopifyPOS = helpers.isShopifyPOS; exports.isShopifyPing = helpers.isShopifyPing; exports.traverseButtonPayload = helpers.traverseButtonPayload;