Skip to content

Commit

Permalink
updated go-fula nad react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Dec 20, 2024
1 parent a4f3a8b commit 4c79658
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
6 changes: 3 additions & 3 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
const App = () => {
const inprogress = false;
const [newRootCid, setNewRootCid] = React.useState<string>('');
const root_cid = '';
const root_cid = 'bafyr4iejulnh5nbino7yygwpoezkbxldu7jxuzjmafpndzzl5vbixe6zoq';
const seed =
'0xb82cc245d889913ee01f48ad161ba8473cac9e516026488493ed20296721a2a5';

Expand Down Expand Up @@ -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,
Expand All @@ -76,7 +76,7 @@ const App = () => {
const initFula = async () => {
try {
return fula.init(
privateKey_tower.toString(),
privateKey.toString(),
'',
bloxAddr,
'',
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.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",
Expand Down

0 comments on commit 4c79658

Please sign in to comment.