@ulixee/commons
Advanced tools
Comparing version 2.0.0-alpha.13 to 2.0.0-alpha.14
@@ -254,20 +254,15 @@ "use strict"; | ||
registerNamespaceMapping((ns, active, skip) => { | ||
if (ns.includes('ubk:*') || ns.includes('ubk*')) { | ||
active.push(/agent\/.*/); | ||
if (ns.includes('ulx:*') || ns.includes('ulx*') || ns === '*') { | ||
active.push(/^apps[/-]chromealive*/, /hero[/-].*/, /agent\/.*/, /plugins\/.*/, /net\/.*/, /databox[/-].*/, /mainchain[/-].*/, /sidechain[/-].*/, /ramps[/-].*/, /DevtoolsSessionLogger/); | ||
} | ||
else if (ns === 'ubk:mitm') { | ||
else if (ns === 'ulx') { | ||
active.push(/hero[/-].*/, /agent\/.*/, /plugins\/.*/, /net\/.*/, /databox[/-].*/, /mainchain[/-].*/, /sidechain[/-].*/, /ramps[/-].*/); | ||
skip.push(/^apps[/-]chromealive*/, /DevtoolsSessionLogger/); | ||
} | ||
else if (ns === 'ulx:mitm') { | ||
active.push(/agent[/-]mitm.*/); | ||
} | ||
else if (ns === 'ubk') { | ||
active.push(/agent\/.*/); | ||
skip.push(/DevtoolsSessionLogger/, /agent[/-]mitm.*/); | ||
} | ||
else if (ns.includes('ubk:devtools') || ns === '*') { | ||
else if (ns.includes('ulx:devtools') || ns === '*') { | ||
active.push(/DevtoolsSessionLogger/); | ||
} | ||
}); | ||
registerNamespaceMapping((ns, active) => { | ||
if (ns.includes('ulx:*') || ns.includes('ulx*')) { | ||
active.push(/^apps[/-]chromealive*/, /hero[/-].*/, /net\/.*/, /databox[/-].*/, /mainchain[/-].*/, /sidechain[/-].*/, /ramps[/-].*/); | ||
} | ||
else if (ns.includes('hero')) { | ||
@@ -274,0 +269,0 @@ active.push(/^hero[/-].*/, /net\/.*/); |
{ | ||
"name": "@ulixee/commons", | ||
"version": "2.0.0-alpha.13", | ||
"version": "2.0.0-alpha.14", | ||
"description": "Common utilities for Ulixee", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "0c45d1ed34dc323129fba1a526c460466130b27e" | ||
"gitHead": "c0ac6293de4e303098ac8d691415b9e06aae80de" | ||
} |
Sorry, the diff of this file is not supported yet
225089
3261