feat: expose certificate chain and versioned WASM assets #101
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/v260-public-assets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Upstream v2.6.0 browser clients need
/sdk/certificate-chainand version-pinned WASM assets. The official GitHub release CDN redirects returnapplication/octet-streamwithout CORS, so an installer redirect is not a functional same-origin browser asset route.Change
js-wasmandwasm-execslugs, strict version mismatch/duplicate rejection, pinned upstream core mapping and unversioned legacy fallback..sha256files. Serve from the relay origin with WASM/JS MIME, checksum/ETag and immutable cache for exact-version requests. Package version mismatch disables bundled assets; source builds without assets retain upstream-style redirect fallback, which is not counted as a passing browser fetch.Validation
cargo fmt --all --checkcargo test --locked -p portal-relay: 198 passed, 3 ignored (new positive/negative asset and cert tests)cargo clippy --locked -p portal-relay --all-targets -- -D warningsgit diff --check origin/master...HEAD.sha256: WASM9a66518933aed730cf3e58d695facad2de90ee86a5847ab591b40cc73b3a386a, JS0c949f4996f9a89698e4b5c586de32249c3b69b7baadb64d220073cc04acba14.Prerequisite slice only, not complete v2.6.0 compatibility: WebSocket/yamux reverse carrier, metadata/client retarget, official interop, public Axis B and production release remain separate. No tag, image publication or deployment claimed.
18958262f31493ebd7d8