@routecraft/routecraft 0.5.0 → 0.6.0-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2078,7 +2078,12 @@ function analyzeHeaders(headers) {
|
|
|
2078
2078
|
const arcResults = allHeaders(headers, "arc-authentication-results").map(parseArcAuthResults).filter((v) => v !== null).sort((a, b) => a.instance - b.instance);
|
|
2079
2079
|
const arcChain = parseArcChainState(headers);
|
|
2080
2080
|
const isList = listId !== void 0 || /^\s*(list|bulk)\b/i.test(precedence ?? "") || sender !== null && headerFrom !== null && sender.domain !== headerFrom.domain;
|
|
2081
|
-
const
|
|
2081
|
+
const maxArcInstance = Math.max(
|
|
2082
|
+
0,
|
|
2083
|
+
...arcResults.map((r) => r.instance),
|
|
2084
|
+
...arcChain.domainsByInstance.keys()
|
|
2085
|
+
);
|
|
2086
|
+
const hasArc = arcChain.cv !== "none" || maxArcInstance >= 2;
|
|
2082
2087
|
let forwardType = "direct";
|
|
2083
2088
|
let effective = headerFrom;
|
|
2084
2089
|
const forwardChain = [];
|
|
@@ -3348,7 +3353,7 @@ var init_sqlite_event_writer = __esm({
|
|
|
3348
3353
|
var version;
|
|
3349
3354
|
var init_package = __esm({
|
|
3350
3355
|
"package.json"() {
|
|
3351
|
-
version = "0.
|
|
3356
|
+
version = "0.6.0-canary.2";
|
|
3352
3357
|
}
|
|
3353
3358
|
});
|
|
3354
3359
|
function telemetry(options2) {
|