@walletconnect/react-native-compat 2.17.2-canary-ca-1 → 2.17.2-canary-ca-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +12 -1
- package/android/src/main/java/com/walletconnect/reactnativemodule/RNWalletConnectModuleModule.kt +0 -6
- package/package.json +1 -1
- package/android/src/main/java/uniffi/uniffi_yttrium.kt +0 -2382
- package/android/src/main/java/uniffi/yttrium.kt +0 -2069
- package/android/src/main/jniLibs/arm64-v8a/libuniffi_yttrium.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libuniffi_yttrium.so +0 -0
package/android/build.gradle
CHANGED
|
@@ -5,15 +5,25 @@ buildscript {
|
|
|
5
5
|
repositories {
|
|
6
6
|
google()
|
|
7
7
|
mavenCentral()
|
|
8
|
+
maven { url 'https://jitpack.io' }
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
dependencies {
|
|
11
|
-
classpath "com.android.tools.build:gradle:
|
|
12
|
+
classpath "com.android.tools.build:gradle:8.5.1"
|
|
12
13
|
// noinspection DifferentKotlinGradleVersion
|
|
13
14
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
|
|
18
|
+
allprojects {
|
|
19
|
+
repositories {
|
|
20
|
+
google()
|
|
21
|
+
mavenCentral()
|
|
22
|
+
maven { url 'https://jitpack.io' }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
17
27
|
def isNewArchitectureEnabled() {
|
|
18
28
|
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
|
|
19
29
|
}
|
|
@@ -113,6 +123,7 @@ dependencies {
|
|
|
113
123
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0' // Latest stable version
|
|
114
124
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0' // For Dispatchers.Main
|
|
115
125
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
126
|
+
implementation 'com.github.reown-com:yttrium:0.4.2'
|
|
116
127
|
}
|
|
117
128
|
|
|
118
129
|
if (isNewArchitectureEnabled()) {
|
package/android/src/main/java/com/walletconnect/reactnativemodule/RNWalletConnectModuleModule.kt
CHANGED
|
@@ -4,18 +4,12 @@ import com.facebook.react.bridge.ReactApplicationContext
|
|
|
4
4
|
import com.facebook.react.bridge.ReactMethod
|
|
5
5
|
import com.facebook.react.bridge.Promise
|
|
6
6
|
import android.content.pm.PackageManager
|
|
7
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule
|
|
8
7
|
import uniffi.uniffi_yttrium.ChainAbstractionClient
|
|
9
8
|
import kotlinx.coroutines.*
|
|
10
9
|
import com.facebook.react.bridge.ReadableMap
|
|
11
|
-
import uniffi.uniffi_yttrium.FfiAddress
|
|
12
|
-
import uniffi.uniffi_yttrium.FfiBytes
|
|
13
|
-
import uniffi.uniffi_yttrium.Ffiu64
|
|
14
10
|
import uniffi.uniffi_yttrium.InitTransaction
|
|
15
11
|
import uniffi.uniffi_yttrium.*
|
|
16
12
|
import uniffi.yttrium.*
|
|
17
|
-
import kotlin.jvm.internal.Intrinsics.Kotlin
|
|
18
|
-
import com.facebook.react.bridge.Arguments
|
|
19
13
|
import com.google.gson.Gson
|
|
20
14
|
import com.google.gson.JsonObject
|
|
21
15
|
import com.google.gson.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-
|
|
4
|
+
"version": "2.17.2-canary-ca-2",
|
|
5
5
|
"author": "WalletConnect, Inc. <walletconnect.com>",
|
|
6
6
|
"homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
|
|
7
7
|
"license": "Apache-2.0",
|