Skip to content

Commit

Permalink
feat: replace namespace with sessionNamespace in b64Params
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Dec 16, 2024
1 parent b6e47ca commit 0dae96e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class SingleFactorAuth(
)
walletMap.addProperty("sessionId", sessionId)
walletMap.addProperty("platform", "android")
walletMap.addProperty("namespace", "sfa")
walletMap.addProperty("sessionNamespace", "sfa")

val walletHash =
"b64Params=" + gson.toJson(walletMap).toByteArray(Charsets.UTF_8)
Expand Down Expand Up @@ -441,7 +441,7 @@ class SingleFactorAuth(
params = gson.toJson(requestParams)
),
appState = appState.let { it },
namespace = "sfa"
sessionNamespace = "sfa"
)

val signMessageHash =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data class SignMessage(
val platform: String = "android",
val request: RequestData,
val appState: String? = null,
val namespace: String = "sfa"
val sessionNamespace: String = "sfa"
)

data class RequestData(
Expand Down

0 comments on commit 0dae96e

Please sign in to comment.