Skip to content

Commit

Permalink
use Integer instead of long (#169)
Browse files Browse the repository at this point in the history
* use Integer instead of long

Signed-off-by: Aaron Sutula <[email protected]>

* bump version

Signed-off-by: Aaron Sutula <[email protected]>
  • Loading branch information
asutula authored Dec 15, 2019
1 parent daf9dfc commit a840072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/io/textile/rnmobile/TextileBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public String getName() {
}

@ReactMethod
public void newWallet(final long wordCount, final Promise promise) {
public void newWallet(final Integer wordCount, final Promise promise) {
executor.execute(new Runnable() {
@Override
public void run() {
Expand All @@ -43,7 +43,7 @@ public void run() {
}

@ReactMethod
public void walletAccountAt(final String phrase, final long index, final String password, final Promise promise) {
public void walletAccountAt(final String phrase, final Integer index, final String password, final Promise promise) {
executor.execute(new Runnable() {
@Override
public void run() {
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": "@textile/react-native-sdk",
"version": "3.1.2",
"version": "3.1.3",
"description": "## Getting started",
"nativePackage": true,
"main": "dist/index.js",
Expand Down

0 comments on commit a840072

Please sign in to comment.