Refactor workflow auto-run to node graph
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
addLog: rawAddLog = async () => {},
|
||||
broadcastDataUpdate,
|
||||
chrome,
|
||||
completeStepFromBackground,
|
||||
completeNodeFromBackground,
|
||||
ensureContentScriptReadyOnTabUntilStopped,
|
||||
fetch: fetchImpl = null,
|
||||
generateRandomName,
|
||||
@@ -1018,7 +1018,7 @@
|
||||
plusCheckoutSource: PLUS_PAYMENT_METHOD_GPC_HELPER,
|
||||
});
|
||||
await addLog('步骤 7:GPC 任务已完成,准备继续下一步。', 'ok');
|
||||
await completeStepFromBackground(7, {
|
||||
await completeNodeFromBackground('plus-checkout-billing', {
|
||||
plusCheckoutSource: PLUS_PAYMENT_METHOD_GPC_HELPER,
|
||||
});
|
||||
return;
|
||||
@@ -1920,7 +1920,7 @@
|
||||
throw new Error(`步骤 7:多次提交账单地址后仍未跳转到 ${paymentConfig.label}。${lastSubmitError}`);
|
||||
}
|
||||
|
||||
await completeStepFromBackground(7, {
|
||||
await completeNodeFromBackground('plus-checkout-billing', {
|
||||
plusBillingCountryText: result?.countryText || '',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user