@xstoicunicornx/payjoin_test 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -3
- package/dist/{generated/payjoin_ffi.d.ts → nodejs/bindings/payjoin.d.ts} +3078 -324
- package/dist/nodejs/bindings/payjoin.d.ts.map +1 -0
- package/dist/{generated/payjoin_ffi.js → nodejs/bindings/payjoin.js} +5754 -2165
- package/dist/nodejs/bindings/payjoin.js.map +1 -0
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.d.ts +459 -136
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.js +2712 -965
- package/dist/nodejs/bindings/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index_bg.wasm.d.ts +715 -569
- package/dist/nodejs/index.d.ts +8 -0
- package/dist/nodejs/index.d.ts.map +1 -0
- package/dist/{index.js → nodejs/index.js} +3 -7
- package/dist/nodejs/index.js.map +1 -0
- package/dist/web/bindings/payjoin.d.ts +6865 -0
- package/dist/web/bindings/payjoin.d.ts.map +1 -0
- package/dist/web/bindings/payjoin.js +14435 -0
- package/dist/web/bindings/payjoin.js.map +1 -0
- package/dist/web/bindings/wasm-bindgen/index.d.ts +2504 -0
- package/dist/web/bindings/wasm-bindgen/index.js +6808 -0
- package/dist/web/bindings/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/web/bindings/wasm-bindgen/index_bg.wasm.d.ts +1211 -0
- package/dist/web/index.d.ts +8 -0
- package/dist/web/index.d.ts.map +1 -0
- package/dist/web/index.js +20 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/vite.index.d.ts +8 -0
- package/dist/web/vite.index.d.ts.map +1 -0
- package/dist/web/vite.index.js +24 -0
- package/dist/web/vite.index.js.map +1 -0
- package/package.json +44 -37
- package/dist/generated/bitcoin.d.ts +0 -4633
- package/dist/generated/bitcoin.d.ts.map +0 -1
- package/dist/generated/bitcoin.js +0 -3861
- package/dist/generated/bitcoin.js.map +0 -1
- package/dist/generated/payjoin_ffi.d.ts.map +0 -1
- package/dist/generated/payjoin_ffi.js.map +0 -1
- package/dist/generated/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/index.d.ts +0 -11
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.web.js +0 -30
|
Binary file
|
package/dist/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * as payjoin from "./generated/payjoin_ffi.js";
|
|
2
|
-
export * as bitcoin from "./generated/bitcoin.js";
|
|
3
|
-
import * as bitcoin from "./generated/bitcoin.js";
|
|
4
|
-
import * as payjoin from "./generated/payjoin_ffi.js";
|
|
5
|
-
export declare function uniffiInitAsync(): Promise<void>;
|
|
6
|
-
declare const _default: {
|
|
7
|
-
bitcoin: typeof bitcoin;
|
|
8
|
-
payjoin: typeof payjoin;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAKlD,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAItD,wBAAsB,eAAe,kBAapC;;;;;AAGD,wBAGE"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAElD,qCAAqC;AACrC,oBAAoB;AACpB,6DAA6D;AAC7D,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAEtD,IAAI,WAAW,GAAG,KAAK,CAAC;AAExB,MAAM,CAAC,KAAK,UAAU,eAAe;IACjC,IAAI,WAAW;QAAE,OAAO;IAExB,qBAAqB;IACrB,MAAM,MAAM,CAAC,mCAAmC,CAAC,CAAC;IAElD,2EAA2E;IAC3E,0EAA0E;IAC1E,sDAAsD;IACtD,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAC7B,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAE7B,WAAW,GAAG,IAAI,CAAC;AACvB,CAAC;AAED,wDAAwD;AACxD,eAAe;IACX,OAAO;IACP,OAAO;CACV,CAAC"}
|
package/dist/index.web.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Generated by uniffi-bindgen-react-native
|
|
2
|
-
// Export the generated bindings to the app.
|
|
3
|
-
export * from './../src/generated/bitcoin';
|
|
4
|
-
export * from './../src/generated/payjoin_ffi';
|
|
5
|
-
|
|
6
|
-
// Now import the bindings so we can:
|
|
7
|
-
// - intialize them
|
|
8
|
-
// - export them as namespaced objects as the default export.
|
|
9
|
-
import * as bitcoin from './../src/generated/bitcoin';
|
|
10
|
-
import * as payjoin_ffi from './../src/generated/payjoin_ffi';
|
|
11
|
-
|
|
12
|
-
import initAsync from './../src/generated/wasm-bindgen/index.js';
|
|
13
|
-
import wasmPath from './../src/generated/wasm-bindgen/index_bg.wasm';
|
|
14
|
-
|
|
15
|
-
export async function uniffiInitAsync() {
|
|
16
|
-
await initAsync({ module_or_path: wasmPath })
|
|
17
|
-
|
|
18
|
-
// Initialize the generated bindings: mostly checksums, but also callbacks.
|
|
19
|
-
// - the boolean flag ensures this loads exactly once, even if the JS code
|
|
20
|
-
// is reloaded (e.g. during development with metro).
|
|
21
|
-
bitcoin.default.initialize();
|
|
22
|
-
payjoin_ffi.default.initialize();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Export the crates as individually namespaced objects.
|
|
26
|
-
export default {
|
|
27
|
-
bitcoin,
|
|
28
|
-
payjoin_ffi,
|
|
29
|
-
};
|
|
30
|
-
|