UNPKG

@shopify/app-bridge-core

Version:

**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**

18 lines (15 loc) 420 B
import { actionWrapper } from '../helper.js'; import { Group } from '../types.js'; var Action; (function (Action) { Action["REQUEST"] = "APP::AUTH_CODE::REQUEST"; Action["RESPOND"] = "APP::AUTH_CODE::RESPOND"; })(Action || (Action = {})); function respond(payload) { return actionWrapper({ payload, group: Group.AuthCode, type: Action.RESPOND, }); } export { Action, respond };