import { updateTraceStateValue } from "https://deno.land/x/w3_trace_state@v1.1.0/trace_state.ts";
Updates a value in the TraceState. The key and value must be valid trace key/value pairs and an error will be thrown if they are not.
This will fallback to addTraceStateValue if the key does not exist in the TraceState.
Returns
a new TraceState with the updated value