Skip to content

Commit

Permalink
Added findBestAndTargetInLogs
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Apr 5, 2024
1 parent df7b02c commit 617cfd9
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 @@ -1523,7 +1523,7 @@ class FulaModule: NSObject {
func findBestAndTargetInLogs(containerName: String, tailCount: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
do {
// Since fetchContainerLogs expects a String for tailCount, pass it directly
let result = try self.fula!.findBestAndTargetInLogs(containerName, tailCount: tailCount)
let result = try self.fula!.findBestAndTarget(inLogs: containerName, tailCount: tailCount)
guard let resultString = result.toUTF8String() else {
// Handle the case where result.toUTF8String() returns nil
let error = NSError(domain: "FULAErrorDomain",
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.16",
"version": "1.54.17",
"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 617cfd9

Please sign in to comment.