Skip to content

Commit

Permalink
updated wnfs 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Jul 16, 2023
1 parent 4e031ef commit 2675a5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'com.github.functionland:fula-build-aar:1.13.0' // From jitpack.io
implementation 'com.github.functionland:wnfs-build-aar:v1.7.2' // From jitpack.io
implementation 'com.github.functionland:wnfs-android:v1.7.3' // From jitpack.io
implementation 'commons-io:commons-io:20030203.000550'
implementation 'commons-codec:commons-codec:1.15'
// implementation files('mobile.aar')
Expand Down
2 changes: 1 addition & 1 deletion android/src/main/java/land/fx/fula/FulaModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ public void writeFile(String fulaTargetFilename, String localFilename, Promise p
try {
if (this.client != null) {
Log.d("ReactNative", "writeFileFromPath started: this.rootConfig.getCid=" + this.rootConfig.getCid()+ ", fulaTargetFilename="+fulaTargetFilename + ", localFilename="+localFilename);
land.fx.wnfslib.Config config = Fs.writeFileFromPath(this.client, this.rootConfig.getCid(), fulaTargetFilename, localFilename);
land.fx.wnfslib.Config config = Fs.writeFileStreamFromPath(this.client, this.rootConfig.getCid(), fulaTargetFilename, localFilename);
if(config != null) {
this.rootConfig = config;
this.encrypt_and_store_config();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@functionland/react-native-fula",
"version": "1.12.0",
"version": "1.12.1",
"description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 2675a5f

Please sign in to comment.