Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 678dd36

Browse files
author
github-actions
committed
Update Nostr Swift bindings to version 0.7.1
1 parent a99c45b commit 678dd36

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let package = Package(
1414
],
1515
dependencies: [],
1616
targets: [
17-
.binaryTarget(name: "nostrFFI", url: "https://github.com/rust-nostr/nostr-swift/releases/download/0.7.0/nostrFFI.xcframework.zip", checksum: "864cb5615ba9b567792bf7fa6f61018a0a4320897a972495e2c3ae7714bb356c"),
17+
.binaryTarget(name: "nostrFFI", url: "https://github.com/rust-nostr/nostr-swift/releases/download/0.7.1/nostrFFI.xcframework.zip", checksum: "ee82b3e059cc2664ecd9ba7f902c0cfc2a7ba262b7e15cbcda00ba5809aadb00"),
1818
.target(name: "Nostr", dependencies: ["nostrFFI"]),
1919
]
2020
)

Sources/Nostr/Nostr.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,8 +2053,6 @@ public protocol FilterProtocol : AnyObject {
20532053

20542054
func limit(limit: UInt64) -> Filter
20552055

2056-
func matchEvent(event: Event) -> Bool
2057-
20582056
/**
20592057
* Add Public Key (`p` tag)
20602058
*/
@@ -2319,17 +2317,6 @@ public class Filter:
23192317
uniffi_nostr_ffi_fn_method_filter_limit(self.uniffiClonePointer(),
23202318
FfiConverterUInt64.lower(limit),$0
23212319
)
2322-
}
2323-
)
2324-
}
2325-
public func matchEvent(event: Event) -> Bool {
2326-
return try! FfiConverterBool.lift(
2327-
try!
2328-
rustCall() {
2329-
2330-
uniffi_nostr_ffi_fn_method_filter_match_event(self.uniffiClonePointer(),
2331-
FfiConverterTypeEvent.lower(event),$0
2332-
)
23332320
}
23342321
)
23352322
}
@@ -13205,9 +13192,6 @@ private var initializationResult: InitializationResult {
1320513192
if (uniffi_nostr_ffi_checksum_method_filter_limit() != 4466) {
1320613193
return InitializationResult.apiChecksumMismatch
1320713194
}
13208-
if (uniffi_nostr_ffi_checksum_method_filter_match_event() != 57404) {
13209-
return InitializationResult.apiChecksumMismatch
13210-
}
1321113195
if (uniffi_nostr_ffi_checksum_method_filter_pubkey() != 31814) {
1321213196
return InitializationResult.apiChecksumMismatch
1321313197
}

0 commit comments

Comments
 (0)