diff --git a/packages/registry/src/index.ts b/packages/registry/src/index.ts index 384627eae..811b45dea 100644 --- a/packages/registry/src/index.ts +++ b/packages/registry/src/index.ts @@ -209,9 +209,13 @@ export const getFees = ( } } -export const getExternalUrl = (plugin: IActionPlugin, params: ActionParams) => { +export const getExternalUrl = ( + plugin: IActionPlugin, + params: ActionParams, + actionType?: ActionType, +) => { if (typeof plugin.getExternalUrl === 'function') { - return plugin.getExternalUrl(params) + return plugin.getExternalUrl(params, actionType) } else { throw new PluginActionNotImplementedError() }