@walletconnect/react-native-compat 2.17.2-canary-ca-2 → 2.17.2-canary-ca-4

Sign up to get free protection for your applications and to get access to all the features.
@@ -94,7 +94,7 @@ class RNWalletConnectModuleModule internal constructor(context: ReactApplication
94
94
  when (result.v1) {
95
95
  is RouteResponseSuccess.Available -> {
96
96
  val gson = Gson()
97
- val jsonElement: JsonElement = gson.toJsonTree(result.v1.v1)
97
+ val jsonElement: JsonElement = gson.toJsonTree((result.v1 as RouteResponseSuccess.Available).v1)
98
98
  val response = JsonObject()
99
99
  response.addProperty("status", "available")
100
100
  response.add("data", jsonElement)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walletconnect/react-native-compat",
3
3
  "description": "Shims for WalletConnect Protocol in React Native Projects",
4
- "version": "2.17.2-canary-ca-2",
4
+ "version": "2.17.2-canary-ca-4",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "Apache-2.0",