@functionland/react-native-fula 1.54.26 → 1.54.28
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 +1 -1
- package/ios/Fula.swift +5 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -99,7 +99,7 @@ dependencies {
|
|
|
99
99
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
100
100
|
//noinspection GradleDynamicVersion
|
|
101
101
|
implementation "com.facebook.react:react-android:+"
|
|
102
|
-
implementation 'com.github.functionland:fula-build-aar:v1.54.
|
|
102
|
+
implementation 'com.github.functionland:fula-build-aar:v1.54.16' // From jitpack.io
|
|
103
103
|
implementation 'com.github.functionland:wnfs-android:v1.8.1' // From jitpack.io
|
|
104
104
|
implementation 'commons-io:commons-io:20030203.000550'
|
|
105
105
|
implementation 'commons-codec:commons-codec:1.15'
|
package/ios/Fula.swift
CHANGED
|
@@ -1972,7 +1972,11 @@ func replicateInPool(cidArray: [String], account: String, poolID: String, resolv
|
|
|
1972
1972
|
|
|
1973
1973
|
let result: Data
|
|
1974
1974
|
do {
|
|
1975
|
-
|
|
1975
|
+
if let replicationResult = try fula.replicate(inPool: cidsBytes, account: account, poolID: poolIDInt) {
|
|
1976
|
+
result = replicationResult
|
|
1977
|
+
} else {
|
|
1978
|
+
throw NSError(domain: "FULAErrorDomain", code: 1007, userInfo: [NSLocalizedDescriptionKey: "Replication result is nil"])
|
|
1979
|
+
}
|
|
1976
1980
|
} catch {
|
|
1977
1981
|
print("Error replicating in pool: \(error)")
|
|
1978
1982
|
DispatchQueue.main.async {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functionland/react-native-fula",
|
|
3
|
-
"version": "1.54.
|
|
3
|
+
"version": "1.54.28",
|
|
4
4
|
"description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|