diff --git a/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/SingleFactorAuth.kt b/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/SingleFactorAuth.kt index 65e165a..55e2e16 100644 --- a/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/SingleFactorAuth.kt +++ b/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/SingleFactorAuth.kt @@ -360,7 +360,7 @@ class SingleFactorAuth( ) walletMap.addProperty("sessionId", sessionId) walletMap.addProperty("platform", "android") - walletMap.addProperty("sessionNamespace", "sfa") + walletMap.addProperty("namespace", "sfa") val walletHash = "b64Params=" + gson.toJson(walletMap).toByteArray(Charsets.UTF_8) @@ -432,7 +432,7 @@ class SingleFactorAuth( params = gson.toJson(requestParams) ), appState = appState.let { it }, - sessionNamespace = "sfa" + namespace = "sfa" ) val signMessageHash = diff --git a/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/types/SignMessage.kt b/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/types/SignMessage.kt index 9517c17..edc49fa 100644 --- a/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/types/SignMessage.kt +++ b/singlefactorauth/src/main/java/com/web3auth/singlefactorauth/types/SignMessage.kt @@ -6,7 +6,7 @@ data class SignMessage( val platform: String = "android", val request: RequestData, val appState: String? = null, - val sessionNamespace: String = "sfa" + val namespace: String = "sfa" ) data class RequestData(