Skip to content

Commit

Permalink
corrected assetsBalacne for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Erfan Shekarchi committed Apr 4, 2024
1 parent 89f977a commit be5bacc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/Fula.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ class FulaModule: NSObject {
}
}

@objc(assetsBalance:assetId:classId:withResolver:withRejecter:)
@objc(assetsBalance:withAssetId:withClassId:withResolver:withRejecter:)
func assetsBalance(account: String, assetId: String, classId: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
guard let assetIdInt = Int(assetId), let classIdInt = Int(classId) else {
reject("ERR_FULA", "Invalid assetId or classId", nil)
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.54.11",
"version": "1.54.12",
"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 be5bacc

Please sign in to comment.