From 9f4d181438ffaccfa2f23b71b3ddc02e5d96c053 Mon Sep 17 00:00:00 2001 From: John Melati Date: Mon, 21 Oct 2024 12:07:25 +0200 Subject: [PATCH] fix: export ICryptoServiceCallback to JS --- .../kotlin/com/sphereon/oid/fed/client/crypto/Crypto.js.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/openid-federation-client/src/jsMain/kotlin/com/sphereon/oid/fed/client/crypto/Crypto.js.kt b/modules/openid-federation-client/src/jsMain/kotlin/com/sphereon/oid/fed/client/crypto/Crypto.js.kt index 1f017988..9b42dcd3 100644 --- a/modules/openid-federation-client/src/jsMain/kotlin/com/sphereon/oid/fed/client/crypto/Crypto.js.kt +++ b/modules/openid-federation-client/src/jsMain/kotlin/com/sphereon/oid/fed/client/crypto/Crypto.js.kt @@ -30,6 +30,8 @@ external interface ICallbackCryptoServiceJS { fun register(platformCallback: PlatformCallbackType?): ICallbackCryptoServiceJS } +@JsExport +@JsName("ICryptoServiceCallback") external interface ICryptoServiceCallbackJS { fun verify( jwt: String,