pub fn create_from_component(
component: &[u8],
patterns: &[&str],
) -> Result<Vec<u8>>Expand description
Create an interceptor component from an existing component binary.
Extracts the world from the component’s embedded WIT, then creates an interceptor for its exports.
component: a valid wasm component binarypatterns: match patterns for selective interception (empty = intercept all)
Returns the validated component bytes.