-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ffi: remove arg from
uniffi::setup_scaffolding
macro"
Removing the `nostr_sdk` arg from `uniffi::setup_scaffolding` caused issues with Swift Bindings, so revert commit 64c592a Fixes rust-nostr/nostr-sdk-swift#3 Signed-off-by: Yuki Kishimoto <[email protected]>
- Loading branch information
Showing
7 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from nostr_sdk.nostr_sdk_ffi import * | ||
from nostr_sdk.nostr_sdk_ffi import uniffi_set_event_loop | ||
from nostr_sdk.nostr_sdk import * | ||
from nostr_sdk.nostr_sdk import uniffi_set_event_loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import asyncio | ||
from nostr_sdk_ffi import * | ||
from nostr_sdk import * | ||
|
||
async def main(): | ||
nip_05 = "[email protected]" | ||
|
@@ -11,4 +11,4 @@ async def main(): | |
print(f" Unable to verify NIP05, for {public_key.to_bech32()}") | ||
|
||
if __name__ == '__main__': | ||
asyncio.run(main()) | ||
asyncio.run(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters