Skip to content

Commit 617cfd9

Browse files
committed
Added findBestAndTargetInLogs
1 parent df7b02c commit 617cfd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ios/Fula.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ class FulaModule: NSObject {
15231523
func findBestAndTargetInLogs(containerName: String, tailCount: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
15241524
do {
15251525
// Since fetchContainerLogs expects a String for tailCount, pass it directly
1526-
let result = try self.fula!.findBestAndTargetInLogs(containerName, tailCount: tailCount)
1526+
let result = try self.fula!.findBestAndTarget(inLogs: containerName, tailCount: tailCount)
15271527
guard let resultString = result.toUTF8String() else {
15281528
// Handle the case where result.toUTF8String() returns nil
15291529
let error = NSError(domain: "FULAErrorDomain",

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.54.16",
3+
"version": "1.54.17",
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)