File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 11// Export the generated bindings to the app.
22export * as payjoin from "./generated/payjoin.js" ;
3- export * as bitcoin from "./generated/bitcoin.js" ;
43
54// Now import the bindings so we can:
65// - initialize them
76// - export them as namespaced objects as the default export.
8- import * as bitcoin from "./generated/bitcoin.js" ;
97import * as payjoin from "./generated/payjoin.js" ;
108
119let initialized = false ;
@@ -19,14 +17,12 @@ export async function uniffiInitAsync() {
1917 // Initialize the generated bindings: mostly checksums, but also callbacks.
2018 // - the boolean flag ensures this loads exactly once, even if the JS code
2119 // is reloaded (e.g. during development with metro).
22- bitcoin . default . initialize ( ) ;
2320 payjoin . default . initialize ( ) ;
2421
2522 initialized = true ;
2623}
2724
2825// Export the crates as individually namespaced objects.
2926export default {
30- bitcoin,
3127 payjoin,
3228} ;
Original file line number Diff line number Diff line change 11import unittest
22import payjoin as payjoin
3- import payjoin .bitcoin
43
54class TestURIs (unittest .TestCase ):
65 def test_todo_url_encoded (self ):
You can’t perform that action at this time.
0 commit comments