[Fix] Clean
Some checks failed
CI / checks (push) Failing after 2m37s

This commit is contained in:
Alex 2026-08-19 11:46:40 +02:00
commit d11eb04d12
Signed by: alex
SSH key fingerprint: SHA256:D1+Ub8o0v4K5y1JNivW8IxEOelqLSvPmUzBbDIoZkRQ
13 changed files with 163 additions and 973 deletions

View file

@ -163,6 +163,7 @@ impl JsDataValueEncodeContext {
}
}
#[cfg(test)]
pub(crate) fn js_to_data_value(value: &JsValue, tm: &TypeMap) -> Result<DataValue, JsValue> {
js_to_data_value_with_limits(value, tm, EncodeLimits::default())
}

View file

@ -380,6 +380,7 @@ pub fn build_protected_frame_with_keyring_with_limits(
/// Read the claimed, unverified signer ID after decrypting the protected
/// payload. The result may only select trusted keys for the same signer ID.
#[wasm_bindgen]
#[allow(deprecated)]
#[deprecated(note = "use protected_claimed_signer_id_with_limits")]
pub fn protected_claimed_signer_id(
frame: &[u8],

View file

@ -296,6 +296,7 @@ impl WasmVerifiedRelayContent {
/// versioned relay metadata parser in the JavaScript SDK. The caller must bind
/// this value as the expected signer during the subsequent verification call.
#[wasm_bindgen]
#[allow(deprecated)]
#[deprecated(note = "use relay_metadata_claimed_signer_id_with_limits")]
pub fn relay_metadata_claimed_signer_id(frame: &[u8], keyrings: JsValue) -> Result<u64, JsValue> {
relay_metadata_claimed_signer_id_impl(frame, keyrings, JsValue::UNDEFINED)