diff --git a/keyserver/addons/rust-node-addon/src/identity_client/prekey.rs b/keyserver/addons/rust-node-addon/src/identity_client/prekey.rs
--- a/keyserver/addons/rust-node-addon/src/identity_client/prekey.rs
+++ b/keyserver/addons/rust-node-addon/src/identity_client/prekey.rs
@@ -6,6 +6,7 @@
 use napi::Result;
 use tracing::warn;
 
+#[napi]
 pub async fn publish_prekeys(
   user_id: String,
   device_id: String,