MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / shouldBypassStep9ForLocalCpa

Function shouldBypassStep9ForLocalCpa

background.js:3320–3327  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

3318}
3319
3320function shouldBypassStep9ForLocalCpa(state) {
3321 if (typeof navigationUtils !== 'undefined' && navigationUtils?.shouldBypassStep9ForLocalCpa) {
3322 return navigationUtils.shouldBypassStep9ForLocalCpa(state);
3323 }
3324 return normalizeLocalCpaStep9Mode(state?.localCpaStep9Mode) === 'bypass'
3325 && Boolean(state?.localhostUrl)
3326 && isLocalCpaUrl(state?.vpsUrl);
3327}
3328
3329function shouldSkipLoginVerificationForCpaCallback(state) {
3330 if (typeof navigationUtils !== 'undefined' && navigationUtils?.shouldSkipLoginVerificationForCpaCallback) {

Callers

nothing calls this directly

Calls 2

isLocalCpaUrlFunction · 0.70

Tested by

no test coverage detected