Skip to content

Commit ae586de

Browse files
committed
updated version
1 parent da16fb9 commit ae586de

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ dependencies {
9494
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
9595
//noinspection GradleDynamicVersion
9696
implementation "com.facebook.react:react-native:+"
97-
implementation 'com.github.functionland:fula-build-aar:v1.19.0' // From jitpack.io
97+
implementation 'com.github.functionland:fula-build-aar:v1.20.0' // From jitpack.io
9898
implementation 'com.github.functionland:wnfs-android:v1.8.1' // From jitpack.io
9999
implementation 'commons-io:commons-io:20030203.000550'
100100
implementation 'commons-codec:commons-codec:1.15'

android/src/main/java/land/fx/fula/FulaModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ public void shutdown(Promise promise) {
11511151
//////////////////////ANYTHING BELOW IS FOR BLOCKCHAIN/////
11521152
///////////////////////////////////////////////////////////
11531153
@ReactMethod
1154-
public void GetAccount(Promise promise) {
1154+
public void getAccount(Promise promise) {
11551155
ThreadUtils.runOnExecutor(() -> {
11561156
Log.d("ReactNative", "getAccount called ");
11571157
try {
@@ -1166,9 +1166,9 @@ public void GetAccount(Promise promise) {
11661166
}
11671167

11681168
@ReactMethod
1169-
public void AssetsBalance(String account, String assetId, String classId, Promise promise) {
1169+
public void assetsBalance(String account, String assetId, String classId, Promise promise) {
11701170
ThreadUtils.runOnExecutor(() -> {
1171-
Log.d("ReactNative", "getAccount called ");
1171+
Log.d("ReactNative", "assetsBalance called ");
11721172
try {
11731173
byte[] result = this.fula.assetsBalance(account, assetId, classId);
11741174
String resultString = toString(result);

example/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const App = () => {
5858
const bloxPeerId_laptop =
5959
'12D3KooWLGatFxDzMrKd4S6UC4GAtuM4zcFJW8RPuMR9SH7j46A8';
6060

61-
//const bloxAddr = '/dns/relay.dev.fx.land/tcp/4001/p2p/12D3KooWDRrBaAfPwsGJivBoUw5fE7ZpDiyfUjqgiURq2DEcL835/p2p-circuit/p2p/' + bloxPeerId_laptop;
62-
const bloxAddr = '/ip4/192.168.2.14/tcp/40001/p2p/' + bloxPeerId_laptop;
61+
const bloxAddr = '/dns/relay.dev.fx.land/tcp/4001/p2p/12D3KooWDRrBaAfPwsGJivBoUw5fE7ZpDiyfUjqgiURq2DEcL835/p2p-circuit/p2p/' + bloxPeerId_laptop;
62+
//const bloxAddr = '/ip4/192.168.2.14/tcp/40001/p2p/' + bloxPeerId_laptop;
6363

6464
const initFula = async () => {
6565
try {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@functionland/react-native-fula",
3-
"version": "1.19.0",
3+
"version": "1.20.0",
44
"description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)