Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitmask-wallet

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitmask-wallet - npm Package Compare versions

Comparing version 0.6.0-beta.13 to 0.6.3-beta.1

nostr.d.ts

24

bitcoin.d.ts
export declare const hashPassword: (password: string) => string;
export declare const getEncryptedWallet: (hash: string, encryptedDescriptors: string) => Promise<Vault>;
export declare const decryptWallet: (hash: string, encryptedDescriptors: string) => Promise<Vault>;
export declare const upgradeWallet: (hash: string, encryptedDescriptors: string, seedPassword?: string) => Promise<string>;
export declare const newMnemonicSeed: (hash: string, seedPassword: string) => Promise<MnemonicSeedData>;
export declare const saveMnemonicSeed: (mnemonic: string, hash: string, seedPassword: string) => Promise<MnemonicSeedData>;
export declare const syncWallets: () => Promise<void>;
export declare const newWallet: (hash: string, seedPassword: string) => Promise<string>;
export declare const encryptWallet: (mnemonic: string, hash: string, seedPassword: string) => Promise<string>;
export declare const getWalletData: (descriptor: string, changeDescriptor?: string) => Promise<WalletData>;
export declare const sendSats: (descriptor: string, changeDescriptor: string, address: string, amount: bigint, feeRate: number) => Promise<TransactionData>;
export declare const drainWallet: (destination: string, descriptor: string, changeDescriptor?: string, feeRate?: number) => Promise<TransactionData>;
export declare const fundVault: (descriptor: string, changeDescriptor: string, address: string, udaAddress: string, assetAmount: bigint, udaAmount: bigint, feeRate: number) => Promise<FundVaultDetails>;

@@ -43,6 +45,2 @@ export declare const getAssetsVault: (rgbAssetsDescriptorXpub: string, rgbUdasDescriptorXpub: string) => Promise<FundVaultDetails>;

}
export interface MnemonicSeedData {
mnemonic: string;
encryptedDescriptors: string;
}
export interface Activity extends Transaction {

@@ -98,4 +96,4 @@ id: string;

immature: number;
trusted_pending: number;
untrusted_pending: number;
trustedPending: number;
untrustedPending: number;
confirmed: number;

@@ -112,7 +110,7 @@ }

export interface FundVaultDetails {
assets_output?: string;
assets_change_output?: string;
udas_output?: string;
udas_change_output?: string;
assetsOutput?: string;
assetsChangeOutput?: string;
udasOutput?: string;
udasChangeOutput?: string;
}
//# sourceMappingURL=bitcoin.d.ts.map

@@ -37,8 +37,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssetsVault = exports.fundVault = exports.sendSats = exports.getWalletData = exports.saveMnemonicSeed = exports.newMnemonicSeed = exports.upgradeWallet = exports.getEncryptedWallet = exports.hashPassword = void 0;
const BMC = __importStar(require("./pkg"));
exports.getAssetsVault = exports.fundVault = exports.drainWallet = exports.sendSats = exports.getWalletData = exports.encryptWallet = exports.newWallet = exports.syncWallets = exports.upgradeWallet = exports.decryptWallet = exports.hashPassword = void 0;
const BMC = __importStar(require("bitmask-core"));
const hashPassword = (password) => BMC.hash_password(password);
exports.hashPassword = hashPassword;
const getEncryptedWallet = (hash, encryptedDescriptors) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.get_encrypted_wallet(hash, encryptedDescriptors)); });
exports.getEncryptedWallet = getEncryptedWallet;
const decryptWallet = (hash, encryptedDescriptors) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.decrypt_wallet(hash, encryptedDescriptors)); });
exports.decryptWallet = decryptWallet;
const upgradeWallet = (hash, encryptedDescriptors, seedPassword = "") => __awaiter(void 0, void 0, void 0, function* () {

@@ -48,6 +48,8 @@ return JSON.parse(yield BMC.upgrade_wallet(hash, encryptedDescriptors, seedPassword));

exports.upgradeWallet = upgradeWallet;
const newMnemonicSeed = (hash, seedPassword) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.new_mnemonic_seed(hash, seedPassword)); });
exports.newMnemonicSeed = newMnemonicSeed;
const saveMnemonicSeed = (mnemonic, hash, seedPassword) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.save_mnemonic_seed(mnemonic, hash, seedPassword)); });
exports.saveMnemonicSeed = saveMnemonicSeed;
const syncWallets = () => __awaiter(void 0, void 0, void 0, function* () { return BMC.sync_wallets(); });
exports.syncWallets = syncWallets;
const newWallet = (hash, seedPassword) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.new_wallet(hash, seedPassword)); });
exports.newWallet = newWallet;
const encryptWallet = (mnemonic, hash, seedPassword) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.encrypt_wallet(mnemonic, hash, seedPassword)); });
exports.encryptWallet = encryptWallet;
const getWalletData = (descriptor, changeDescriptor) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.get_wallet_data(descriptor, changeDescriptor)); });

@@ -59,2 +61,6 @@ exports.getWalletData = getWalletData;

exports.sendSats = sendSats;
const drainWallet = (destination, descriptor, changeDescriptor, feeRate) => __awaiter(void 0, void 0, void 0, function* () {
return JSON.parse(yield BMC.drain_wallet(destination, descriptor, changeDescriptor, feeRate));
});
exports.drainWallet = drainWallet;
const fundVault = (descriptor, changeDescriptor, address, udaAddress, assetAmount, udaAmount, feeRate) => __awaiter(void 0, void 0, void 0, function* () {

@@ -61,0 +67,0 @@ return JSON.parse(yield BMC.fund_vault(descriptor, changeDescriptor, address, udaAddress, assetAmount, udaAmount, feeRate));

@@ -1,3 +0,12 @@

export declare const store: (nostrHexSk: string, data: Uint8Array, name?: string) => Promise<void>;
export declare const retrieve: (nostrHexSk: string, lookup: string) => Promise<string>;
export declare const store: (nostrHexSk: string, data: Uint8Array, force: boolean, name?: string, meta?: Uint8Array) => Promise<void>;
export declare const retrieve: (nostrHexSk: string, lookup: string) => Promise<Uint8Array>;
export declare const retrieveMetadata: (nostrHexSk: string, lookup: string) => Promise<FileMetadata>;
export declare const encodeHex: (bytes: Uint8Array) => string;
export declare const encodeBase64: (bytes: Uint8Array) => string;
export declare const decodeHex: (str: string) => Uint8Array;
export declare const decodeBase64: (str: string) => Uint8Array;
export interface FileMetadata {
filename: string;
metadata: Uint8Array;
}
//# sourceMappingURL=carbonado.d.ts.map

@@ -37,7 +37,17 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.retrieve = exports.store = void 0;
const BMC = __importStar(require("./pkg"));
const store = (nostrHexSk, data, name) => __awaiter(void 0, void 0, void 0, function* () { return BMC.store(nostrHexSk, name || "", data); });
exports.decodeBase64 = exports.decodeHex = exports.encodeBase64 = exports.encodeHex = exports.retrieveMetadata = exports.retrieve = exports.store = void 0;
const BMC = __importStar(require("bitmask-core"));
const store = (nostrHexSk, data, force, name, meta) => __awaiter(void 0, void 0, void 0, function* () { return BMC.store(nostrHexSk, name || "", data, force, meta); });
exports.store = store;
const retrieve = (nostrHexSk, lookup) => BMC.retrieve(nostrHexSk, lookup);
exports.retrieve = retrieve;
const retrieveMetadata = (nostrHexSk, lookup) => BMC.retrieve_metadata(nostrHexSk, lookup);
exports.retrieveMetadata = retrieveMetadata;
const encodeHex = (bytes) => BMC.encode_hex(bytes);
exports.encodeHex = encodeHex;
const encodeBase64 = (bytes) => BMC.encode_base64(bytes);
exports.encodeBase64 = encodeBase64;
const decodeHex = (str) => BMC.decode_hex(str);
exports.decodeHex = decodeHex;
const decodeBase64 = (str) => BMC.decode_base64(str);
exports.decodeBase64 = decodeBase64;
export declare const getNetwork: () => Promise<string>;
export declare const switchNetwork: (network: string) => Promise<void>;
export declare const switchNetwork: (network: Network) => Promise<void>;
export declare const getEnv: (key: string) => Promise<string>;

@@ -11,2 +11,6 @@ export declare const setEnv: (key: string, value: string) => Promise<void>;

}
export declare const DISABLE_LN: string | boolean;
export declare let LNDHUBX: boolean;
export declare let CARBONADO: boolean;
export declare const init: (networkOverride?: string) => Promise<void>;
//# sourceMappingURL=constants.d.ts.map

@@ -36,5 +36,6 @@ "use strict";

};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Network = exports.setEnv = exports.getEnv = exports.switchNetwork = exports.getNetwork = void 0;
const BMC = __importStar(require("./pkg"));
exports.init = exports.CARBONADO = exports.LNDHUBX = exports.DISABLE_LN = exports.Network = exports.setEnv = exports.getEnv = exports.switchNetwork = exports.getNetwork = void 0;
const BMC = __importStar(require("bitmask-core"));
const getNetwork = () => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.get_network()); });

@@ -55,3 +56,55 @@ exports.getNetwork = getNetwork;

})(Network = exports.Network || (exports.Network = {}));
const network = (process.env.BITCOIN_NETWORK || "");
(0, exports.switchNetwork)(network);
exports.DISABLE_LN = ((_a = process.env) === null || _a === void 0 ? void 0 : _a.DISABLE_LN) === "true" ? true : false || "";
exports.LNDHUBX = false;
exports.CARBONADO = false;
const init = (networkOverride) => __awaiter(void 0, void 0, void 0, function* () {
try {
if (networkOverride)
window.localStorage.setItem("network", networkOverride);
const storedNetwork = networkOverride || window.localStorage.getItem("network");
if (storedNetwork) {
yield (0, exports.switchNetwork)(Network[storedNetwork]);
}
else {
window.localStorage.setItem("network", Network.bitcoin);
yield (0, exports.switchNetwork)(Network.bitcoin);
}
const network = yield (0, exports.getNetwork)();
if (network === "bitcoin" && process.env.PROD_LNDHUB_ENDPOINT) {
yield (0, exports.setEnv)("LNDHUB_ENDPOINT", process.env.PROD_LNDHUB_ENDPOINT);
}
else if (process.env.TEST_LNDHUB_ENDPOINT) {
yield (0, exports.setEnv)("LNDHUB_ENDPOINT", process.env.TEST_LNDHUB_ENDPOINT);
}
if (process.env.CARBONADO_ENDPOINT) {
yield (0, exports.setEnv)("CARBONADO_ENDPOINT", process.env.CARBONADO_ENDPOINT);
}
}
catch (err) {
console.error("Error in setEnv", err);
}
const lndhubx = yield (0, exports.getEnv)("LNDHUB_ENDPOINT");
const carbonado = yield (0, exports.getEnv)("CARBONADO_ENDPOINT");
try {
yield fetch(`${lndhubx}/nodeinfo`);
exports.LNDHUBX = true;
console.debug(`${lndhubx}/nodeinfo successfully reached`);
}
catch (e) {
exports.LNDHUBX = false;
console.warn("Could not reach lndhubx", lndhubx, e);
}
try {
yield fetch(`${carbonado}/status`);
exports.CARBONADO = true;
console.debug(`${carbonado}/status successfully reached`);
}
catch (e) {
exports.CARBONADO = false;
console.warn("Could not reach carbonado", carbonado, e);
}
console.debug("Using LNDHubX endpoint:", lndhubx);
console.debug("Using Carbonado endpoint:", carbonado);
});
exports.init = init;
(0, exports.init)();

@@ -1,2 +0,1 @@

export * from "./pkg/bitmask_core_bg.js";
import * as constants from "./constants";

@@ -6,2 +5,3 @@ import * as bitcoin from "./bitcoin";

import * as lightning from "./lightning";
import * as nostr from "./nostr";
import * as carbonado from "./carbonado";

@@ -12,2 +12,3 @@ export * as constants from "./constants";

export * as lightning from "./lightning";
export * as nostr from "./nostr";
export * as carbonado from "./carbonado";

@@ -19,2 +20,3 @@ declare const _default: {

lightning: typeof lightning;
nostr: typeof nostr;
carbonado: typeof carbonado;

@@ -21,0 +23,0 @@ };

@@ -25,11 +25,4 @@ "use strict";

};
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.carbonado = exports.lightning = exports.rgb = exports.bitcoin = exports.constants = void 0;
const wasm = __importStar(require("./pkg/bitmask_core_bg.wasm"));
const bitmask_core_bg_js_1 = require("./pkg/bitmask_core_bg.js");
(0, bitmask_core_bg_js_1.__wbg_set_wasm)(wasm);
__exportStar(require("./pkg/bitmask_core_bg.js"), exports);
exports.carbonado = exports.nostr = exports.lightning = exports.rgb = exports.bitcoin = exports.constants = void 0;
const constants = __importStar(require("./constants"));

@@ -39,2 +32,3 @@ const bitcoin = __importStar(require("./bitcoin"));

const lightning = __importStar(require("./lightning"));
const nostr = __importStar(require("./nostr"));
const carbonado = __importStar(require("./carbonado"));

@@ -45,2 +39,3 @@ exports.constants = __importStar(require("./constants"));

exports.lightning = __importStar(require("./lightning"));
exports.nostr = __importStar(require("./nostr"));
exports.carbonado = __importStar(require("./carbonado"));

@@ -52,3 +47,4 @@ exports.default = {

lightning,
nostr,
carbonado,
};

@@ -8,2 +8,4 @@ export declare const createWallet: (username: string, password: string) => Promise<CreateWalletResponse>;

export declare const checkPayment: (paymentHash: string) => Promise<CheckPaymentResponse>;
export declare const swapBtcLn: (token: string) => Promise<SwapBtcLnResponse>;
export declare const swapLnBtc: (address: string, amount: bigint, token: string) => Promise<SwapLnBtcResponse>;
export interface LnCredentials {

@@ -90,2 +92,12 @@ login: string;

}
export interface SwapBtcLnResponse {
address: string;
commitment: string;
signature: string;
secret_access_key: string;
}
export interface SwapLnBtcResponse {
bolt11_invoice: string;
fee_sats: number;
}
//# sourceMappingURL=lightning.d.ts.map

@@ -37,4 +37,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.checkPayment = exports.payInvoice = exports.getTxs = exports.getBalance = exports.createInvoice = exports.auth = exports.createWallet = void 0;
const BMC = __importStar(require("./pkg"));
exports.swapLnBtc = exports.swapBtcLn = exports.checkPayment = exports.payInvoice = exports.getTxs = exports.getBalance = exports.createInvoice = exports.auth = exports.createWallet = void 0;
const BMC = __importStar(require("bitmask-core"));
const createWallet = (username, password) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.create_wallet(username, password)); });

@@ -54,1 +54,5 @@ exports.createWallet = createWallet;

exports.checkPayment = checkPayment;
const swapBtcLn = (token) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.swap_btc_ln(token)); });
exports.swapBtcLn = swapBtcLn;
const swapLnBtc = (address, amount, token) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.swap_ln_btc(address, amount, token)); });
exports.swapLnBtc = swapLnBtc;
{
"name": "bitmask-wallet",
"version": "0.6.0-beta.13",
"version": "0.6.3-beta.1",
"description": "JS/TS wrapper containing all the functionality needed to access the BitMask wallet core",
"types": "index.d.ts",
"main": "index.js",
"module": "index.js",

@@ -11,3 +10,2 @@ "files": [

"/*.js",
"/*.mjs",
"/*.d.ts",

@@ -76,2 +74,5 @@ "/*.d.ts.map"

"homepage": "https://github.com/diba-io/bitmask.js#readme",
"dependencies": {
"bitmask-core": "0.6.3-rc.1"
},
"devDependencies": {

@@ -78,0 +79,0 @@ "@types/chai": "^4.3.5",

@@ -1,2 +0,1 @@

export declare const hashPassword: (password: string) => Promise<string>;
export declare const issueContract: (nostrHexSk: string, request: IssueRequest) => Promise<IssueResponse>;

@@ -9,9 +8,11 @@ export declare const createInvoice: (nostrHexSk: string, request: InvoiceRequest) => Promise<InvoiceResponse>;

export declare const acceptTransfer: (nostrHexSk: string, request: AcceptRequest) => Promise<AcceptResponse>;
export declare const listContracts: (nostrHexSk: string) => Promise<Contract[]>;
export declare const listContracts: (nostrHexSk: string) => Promise<ContractsResponse>;
export declare const listInterfaces: (nostrHexSk: string) => Promise<InterfacesResponse>;
export declare const listSchemas: (nostrHexSk: string) => Promise<SchemasResponse>;
export declare const watcher: (nostrHexSk: string, request: WatcherRequest) => Promise<WatcherResponse>;
export declare const createWatcher: (nostrHexSk: string, request: WatcherRequest) => Promise<WatcherResponse>;
export declare const watcherDetails: (nostrHexSk: string, name: string) => Promise<WatcherDetailResponse>;
export declare const watcherNextAddress: (nostrHexSk: string, name: string) => Promise<NextAddressResponse>;
export declare const watcherWatcherNextUtxo: (nostrHexSk: string, name: string) => Promise<NextUtxoResponse>;
export declare const watcherNextAddress: (nostrHexSk: string, name: string, iface: string) => Promise<NextAddressResponse>;
export declare const watcherWatcherNextUtxo: (nostrHexSk: string, name: string, iface: string) => Promise<NextUtxoResponse>;
export declare const watcherAddress: (nostrHexSk: string, name: string, address: string) => Promise<WatcherUtxoResponse>;
export declare const watcherUtxo: (nostrHexSk: string, name: string, utxo: string) => Promise<WatcherUtxoResponse>;
export interface ContractFormats {

@@ -26,2 +27,6 @@ legacy: string;

}
export interface IssueMetadata {
uda?: MediaInfo[];
collectible?: NewCollectible[];
}
export interface IssueRequest {

@@ -35,3 +40,23 @@ ticker: string;

iface: string;
meta?: IssueMetadata;
}
export interface NewCollectible {
ticker: string;
name: string;
description: string;
media: MediaInfo[];
}
export interface UDADetail {
tokenIndex: number;
ticker: string;
name: string;
description: string;
media: MediaInfo[];
balance: bigint;
allocations: AllocationDetail[];
}
export interface ContractMetadata {
uda?: UDADetail;
collectible?: UDADetail[];
}
export interface IssueResponse {

@@ -49,2 +74,3 @@ contractId: string;

genesis: GenesisFormats;
meta?: ContractMetadata;
}

@@ -63,3 +89,3 @@ export interface ImportRequest {

supply: bigint;
precision: string;
precision: number;
balance: bigint;

@@ -69,3 +95,8 @@ allocations: AllocationDetail[];

genesis: GenesisFormats;
meta?: ContractMetadata;
}
export interface MediaInfo {
type: string;
source: string;
}
export interface InvoiceRequest {

@@ -76,2 +107,5 @@ contractId: string;

seal: string;
params: {
[key: string]: string;
};
}

@@ -100,2 +134,3 @@ export interface InvoiceResponse {

sign: boolean;
txid: string;
}

@@ -142,2 +177,3 @@ export interface RgbTransferRequest {

xpub: string;
force: boolean;
}

@@ -157,2 +193,5 @@ export interface WatcherResponse {

}
export interface WatcherUtxoResponse {
utxos: string[];
}
export interface WatcherDetail {

@@ -162,5 +201,10 @@ contractId: string;

}
export interface UDAPosition {
tokenIndex: number;
fraction: bigint;
}
export type AllocationValue = bigint | UDAPosition;
export interface AllocationDetail {
utxo: string;
value: bigint;
value: AllocationValue;
derivation: string;

@@ -167,0 +211,0 @@ isMine: boolean;

@@ -37,6 +37,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.watcherWatcherNextUtxo = exports.watcherNextAddress = exports.watcherDetails = exports.watcher = exports.listSchemas = exports.listInterfaces = exports.listContracts = exports.acceptTransfer = exports.importContract = exports.transferAsset = exports.psbtSignFile = exports.createPsbt = exports.createInvoice = exports.issueContract = exports.hashPassword = void 0;
const BMC = __importStar(require("./pkg"));
const hashPassword = (password) => __awaiter(void 0, void 0, void 0, function* () { return BMC.hash_password(password); });
exports.hashPassword = hashPassword;
exports.watcherUtxo = exports.watcherAddress = exports.watcherWatcherNextUtxo = exports.watcherNextAddress = exports.watcherDetails = exports.createWatcher = exports.listSchemas = exports.listInterfaces = exports.listContracts = exports.acceptTransfer = exports.importContract = exports.transferAsset = exports.psbtSignFile = exports.createPsbt = exports.createInvoice = exports.issueContract = void 0;
const BMC = __importStar(require("bitmask-core"));
const issueContract = (nostrHexSk, request) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.issue_contract(nostrHexSk, request)); });

@@ -62,9 +60,13 @@ exports.issueContract = issueContract;

exports.listSchemas = listSchemas;
const watcher = (nostrHexSk, request) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher(nostrHexSk, request)); });
exports.watcher = watcher;
const createWatcher = (nostrHexSk, request) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.create_watcher(nostrHexSk, request)); });
exports.createWatcher = createWatcher;
const watcherDetails = (nostrHexSk, name) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_details(nostrHexSk, name)); });
exports.watcherDetails = watcherDetails;
const watcherNextAddress = (nostrHexSk, name) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_next_address(nostrHexSk, name)); });
const watcherNextAddress = (nostrHexSk, name, iface) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_next_address(nostrHexSk, name, iface)); });
exports.watcherNextAddress = watcherNextAddress;
const watcherWatcherNextUtxo = (nostrHexSk, name) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_next_utxo(nostrHexSk, name)); });
const watcherWatcherNextUtxo = (nostrHexSk, name, iface) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_next_utxo(nostrHexSk, name, iface)); });
exports.watcherWatcherNextUtxo = watcherWatcherNextUtxo;
const watcherAddress = (nostrHexSk, name, address) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_address(nostrHexSk, name, address)); });
exports.watcherAddress = watcherAddress;
const watcherUtxo = (nostrHexSk, name, utxo) => __awaiter(void 0, void 0, void 0, function* () { return JSON.parse(yield BMC.watcher_utxo(nostrHexSk, name, utxo)); });
exports.watcherUtxo = watcherUtxo;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc