edge-core-js 2.33.3 → 2.34.1
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/CHANGELOG.md +11 -0
- package/android/build.gradle +10 -16
- package/android/src/main/assets/edge-core-js/edge-core.js +1 -2
- package/android/src/main/cpp/CMakeLists.txt +3 -0
- package/lib/core/login/splitting.js +1 -1
- package/lib/core/swap/swap-api.js +2 -0
- package/lib/flow/error.js +30 -0
- package/lib/io/react-native/react-native-worker.js +1 -3
- package/lib/node/index.js +46 -9
- package/lib/node/index.mjs +2 -0
- package/lib/types/error.js +28 -0
- package/package.json +1 -1
- package/src/types/error.ts +28 -0
- package/types.js +44 -8
- package/types.mjs +2 -0
- package/android/src/main/assets/edge-core-js/edge-core.js.LICENSE.txt +0 -1
- package/lib/io/react-native/polyfills.js +0 -78
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.34.1 (2025-09-19)
|
|
6
|
+
|
|
7
|
+
- fixed: Avoid deprecated Gradle syntax.
|
|
8
|
+
- changed: Support 16KiB alignment on Android.
|
|
9
|
+
|
|
10
|
+
## 2.34.0 (2025-08-25)
|
|
11
|
+
|
|
12
|
+
- added: `SwapAddressError` type with `reason` flags
|
|
13
|
+
- changed: Require the React Native environment to include es2015 & `async` support.
|
|
14
|
+
- fixed: `splitWalletInfo` return value when an archived split wallet exists
|
|
15
|
+
|
|
5
16
|
## 2.33.3 (2025-08-01)
|
|
6
17
|
|
|
7
18
|
- added: Log the device description on more requests, such as credential changes.
|
package/android/build.gradle
CHANGED
|
@@ -5,7 +5,7 @@ buildscript {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
|
-
classpath 'com.android.tools.build:gradle:3.
|
|
8
|
+
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -15,25 +15,19 @@ def safeExtGet(prop, fallback) {
|
|
|
15
15
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
def DEFAULT_COMPILE_SDK_VERSION = 28
|
|
19
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '28.0.2'
|
|
20
|
-
def DEFAULT_MIN_SDK_VERSION = 19
|
|
21
|
-
def DEFAULT_TARGET_SDK_VERSION = 27
|
|
22
|
-
def DEFAULT_WEBKIT_VERSION = '1.4.0'
|
|
23
|
-
|
|
24
18
|
android {
|
|
25
|
-
namespace "app.edge.reactnative.core"
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
namespace = "app.edge.reactnative.core"
|
|
20
|
+
compileSdk = safeExtGet('compileSdkVersion', 31)
|
|
21
|
+
ndkVersion = safeExtGet('ndkVersion', '28.0.2')
|
|
28
22
|
|
|
29
23
|
defaultConfig {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
versionCode 1
|
|
33
|
-
versionName '1.0'
|
|
24
|
+
minSdk = safeExtGet('minSdkVersion', 19)
|
|
25
|
+
targetSdk = safeExtGet('targetSdkVersion', 34)
|
|
26
|
+
versionCode = 1
|
|
27
|
+
versionName = '1.0'
|
|
34
28
|
}
|
|
35
29
|
lintOptions {
|
|
36
|
-
abortOnError false
|
|
30
|
+
abortOnError = false
|
|
37
31
|
}
|
|
38
32
|
externalNativeBuild {
|
|
39
33
|
cmake {
|
|
@@ -45,7 +39,7 @@ android {
|
|
|
45
39
|
repositories {
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
def webkit_version = safeExtGet('webkitVersion',
|
|
42
|
+
def webkit_version = safeExtGet('webkitVersion', '1.4.0')
|
|
49
43
|
|
|
50
44
|
dependencies {
|
|
51
45
|
implementation "androidx.webkit:webkit:$webkit_version"
|