feat: wownero typescript bindings, regression tests (#71)
* regression tests * ci: move regression_check to full_check workflow, reuse artifact build * feat: support wownero in monero.ts bindings * ci: test wownero regressions as well * extract wownero-cli as wownero * actually load wownero when specified * fix: commitUR not being a symbol in wownero
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { dylib } from "./bindings.ts";
|
||||
import { Sanitizer } from "./utils.ts";
|
||||
import { getSymbol, Sanitizer } from "./utils.ts";
|
||||
|
||||
export type WalletManagerPtr = Deno.PointerObject<"walletManager">;
|
||||
|
||||
@@ -17,7 +16,7 @@ export class WalletManager {
|
||||
}
|
||||
|
||||
static async new(sanitizer?: Sanitizer) {
|
||||
const ptr = await dylib.symbols.MONERO_WalletManagerFactory_getWalletManager();
|
||||
const ptr = await getSymbol("WalletManagerFactory_getWalletManager")();
|
||||
if (!ptr) {
|
||||
sanitizer?.();
|
||||
throw new Error("Failed retrieving wallet manager");
|
||||
|
||||
Reference in New Issue
Block a user