Skip to content

Commit ec56cdc

Browse files
committed
chore(bindings): dropping bitcoin_ffi
1 parent 38b378d commit ec56cdc

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

payjoin-ffi/javascript/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
// Export the generated bindings to the app.
22
export * 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";
97
import * as payjoin from "./generated/payjoin.js";
108

119
let 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.
2926
export default {
30-
bitcoin,
3127
payjoin,
3228
};

payjoin-ffi/python/scripts/generate_bindings.sh

100644100755
File mode changed.

payjoin-ffi/python/test/test_payjoin_unit_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import unittest
22
import payjoin as payjoin
3-
import payjoin.bitcoin
43

54
class TestURIs(unittest.TestCase):
65
def test_todo_url_encoded(self):

0 commit comments

Comments
 (0)