@functionland/react-native-fula 1.54.11 → 1.54.13
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 +3 -3
- 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)
|
|
@@ -1480,8 +1480,8 @@ class FulaModule: NSObject {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
@objc(fetchContainerLogs:
|
|
1484
|
-
func fetchContainerLogs(containerName: String, tailCount: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock)
|
|
1483
|
+
@objc(fetchContainerLogs:withTailCount:withResolver:withRejecter:)
|
|
1484
|
+
func fetchContainerLogs(containerName: String, tailCount: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
|
|
1485
1485
|
do {
|
|
1486
1486
|
// Since fetchContainerLogs expects a String for tailCount, pass it directly
|
|
1487
1487
|
let result = try self.fula!.fetchContainerLogs(containerName, tailCount: tailCount)
|
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.13",
|
|
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",
|