From 4c796588bb208e2fdd05de701edf3510447faea5 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Thu, 19 Dec 2024 23:46:54 -0500 Subject: [PATCH] updated go-fula nad react-native --- android/build.gradle | 4 ++-- example/src/App.tsx | 6 +++--- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 3491d28..77653de 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -99,8 +99,8 @@ dependencies { // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin //noinspection GradleDynamicVersion implementation "com.facebook.react:react-android:+" - implementation 'com.github.functionland:fula-build-aar:v1.54.16' // From jitpack.io - implementation 'com.github.functionland:wnfs-android:v1.8.1' // From jitpack.io + implementation 'com.github.functionland:fula-build-aar:v1.55.0' // From jitpack.io + implementation 'com.github.functionland:wnfs-android:v1.8.2' // From jitpack.io implementation 'commons-io:commons-io:20030203.000550' implementation 'commons-codec:commons-codec:1.15' // implementation files('mobile.aar') diff --git a/example/src/App.tsx b/example/src/App.tsx index 5e341e3..d18788d 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -11,7 +11,7 @@ import { const App = () => { const inprogress = false; const [newRootCid, setNewRootCid] = React.useState(''); - const root_cid = ''; + const root_cid = 'bafyr4iejulnh5nbino7yygwpoezkbxldu7jxuzjmafpndzzl5vbixe6zoq'; const seed = '0xb82cc245d889913ee01f48ad161ba8473cac9e516026488493ed20296721a2a5'; @@ -51,7 +51,7 @@ const App = () => { console.log(err.message, err.code); }); }; - //Key for peerId: 12D3KooWMMt4C3FKui14ai4r1VWwznRw6DoP5DcgTfzx2D5VZoWx + //Key for peerId: 12D3KooWFi2PK36Rzi4Bmosj1np2t6i9v3QnbBiNY9hQWuJajnmZ const privateKey = [ 183, 7, 117, 9, 159, 132, 170, 235, 215, 34, 145, 181, 60, 207, 4, 27, 27, 17, 17, 167, 100, 89, 157, 218, 73, 200, 183, 145, 104, 151, 204, 142, 241, @@ -76,7 +76,7 @@ const App = () => { const initFula = async () => { try { return fula.init( - privateKey_tower.toString(), + privateKey.toString(), '', bloxAddr, '', diff --git a/package-lock.json b/package-lock.json index 772644c..db2ee36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@functionland/react-native-fula", - "version": "1.54.35", + "version": "1.55.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@functionland/react-native-fula", - "version": "1.54.35", + "version": "1.55.0", "license": "MIT", "dependencies": { "@polkadot/api": "^15.0.1", diff --git a/package.json b/package.json index ea7b5fe..228275a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@functionland/react-native-fula", - "version": "1.54.35", + "version": "1.55.0", "description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs", "type": "module", "main": "lib/commonjs/index",