@functionland/react-native-fula 1.55.18 → 1.55.19

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.
@@ -77,7 +77,7 @@ android {
77
77
  sourceCompatibility JavaVersion.VERSION_17
78
78
  targetCompatibility JavaVersion.VERSION_17
79
79
  }
80
- ndkVersion '26.2.11394342'
80
+ ndkVersion '27.1.12297006'
81
81
  buildFeatures {
82
82
  buildConfig true
83
83
  }
@@ -99,7 +99,7 @@ dependencies {
99
99
  //noinspection GradleDynamicVersion
100
100
  implementation "com.facebook.react:react-android:+"
101
101
  implementation 'com.github.functionland:fula-build-aar:v1.55.15' // From jitpack.io
102
- implementation 'com.github.functionland:wnfs-android:v1.8.2' // From jitpack.io
102
+ implementation 'com.github.functionland:wnfs-android:v1.8.8' // From jitpack.io
103
103
  implementation 'commons-io:commons-io:20030203.000550'
104
104
  implementation 'commons-codec:commons-codec:1.16.0'
105
105
  // implementation files('mobile.aar')
@@ -1,7 +1,7 @@
1
1
  Fula_kotlinVersion=1.9.22
2
2
  Fula_minSdkVersion=26
3
- Fula_targetSdkVersion=35
4
- Fula_compileSdkVersion=35
3
+ Fula_targetSdkVersion=36
4
+ Fula_compileSdkVersion=36
5
5
  Fula_ndkversion=26.2.11394342
6
6
  android.useAndroidX=true
7
7
  android.enableJetifier=true
package/ios/Fula.swift CHANGED
@@ -2219,7 +2219,7 @@ func streamChunks(streamID: String, resolve: @escaping RCTPromiseResolveBlock, r
2219
2219
  throw MyError.runtimeError("ReactNative Fula client is not initialized")
2220
2220
  }
2221
2221
 
2222
- let iterator = try fula.getStreamIterator(streamID)
2222
+ let iterator = fula.getStreamIterator(streamID)
2223
2223
  // Iterator is now non-optional, no need for nil check
2224
2224
 
2225
2225
  // Start listening for chunks on the main thread
@@ -2264,7 +2264,7 @@ private func pollIterator(iterator: FulamobileStreamIterator, resolve: @escaping
2264
2264
  } else if errorMessage.contains("timeout") {
2265
2265
  // Retry on timeout
2266
2266
  DispatchQueue.main.async {
2267
- self.pollIterator(iterator: iterator, resolve: resolve, reject: reject)
2267
+ self.pollIterator(iterator: iterator!, resolve: resolve, reject: reject)
2268
2268
  }
2269
2269
  } else {
2270
2270
  self.emitEvent(eventName: "onStreamError", data: errorMessage)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionland/react-native-fula",
3
- "version": "1.55.18",
3
+ "version": "1.55.19",
4
4
  "description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
5
5
  "type": "module",
6
6
  "main": "lib/commonjs/index",
@@ -63,7 +63,7 @@
63
63
  "@evilmartians/lefthook": "^1.2.2",
64
64
  "@polkadot/typegen": "^15.0.1",
65
65
  "@react-native-community/eslint-config": "^3.0.2",
66
- "@release-it/conventional-changelog": "^9.0.3",
66
+ "@release-it/conventional-changelog": "^10.0.4",
67
67
  "@types/jest": "^28.1.2",
68
68
  "@types/react": "~17.0.21",
69
69
  "@types/react-native": "0.73.0",
@@ -79,14 +79,18 @@
79
79
  "react": "18.2.0",
80
80
  "react-native": "0.73.11",
81
81
  "react-native-builder-bob": "^0.20.0",
82
- "release-it": "^17.10.0",
82
+ "release-it": "^19.2.4",
83
83
  "ts-jest": "^29.2.5",
84
84
  "ts-node": "^10.9.1",
85
85
  "turbo": "^1.10.7",
86
86
  "typescript": "^5.7.2"
87
87
  },
88
88
  "resolutions": {
89
- "@types/react": "17.0.21"
89
+ "@types/react": "17.0.21",
90
+ "fast-xml-parser": "^5.3.4"
91
+ },
92
+ "overrides": {
93
+ "fast-xml-parser": "^5.3.4"
90
94
  },
91
95
  "peerDependencies": {
92
96
  "@babel/core": "^7.0.0-0",