@functionland/react-native-fula 1.54.11 → 1.54.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/Fula.swift +1 -1
- package/package.json +1 -1
package/ios/Fula.swift
CHANGED
|
@@ -1372,7 +1372,7 @@ class FulaModule: NSObject {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
@objc(assetsBalance:
|
|
1375
|
+
@objc(assetsBalance:withAssetId:withClassId:withResolver:withRejecter:)
|
|
1376
1376
|
func assetsBalance(account: String, assetId: String, classId: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
|
|
1377
1377
|
guard let assetIdInt = Int(assetId), let classIdInt = Int(classId) else {
|
|
1378
1378
|
reject("ERR_FULA", "Invalid assetId or classId", nil)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functionland/react-native-fula",
|
|
3
|
-
"version": "1.54.
|
|
3
|
+
"version": "1.54.12",
|
|
4
4
|
"description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|