New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

beignet

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beignet - npm Package Compare versions

Comparing version 0.0.39 to 0.0.40

6

dist/electrum/index.js

@@ -533,3 +533,3 @@ "use strict";

}
const allScriptHashesPromise = scriptHashes.map(async (scriptHash) => {
const allScriptHashesPromises = scriptHashes.map(async (scriptHash) => {
const response = await electrum.subscribeAddress({

@@ -547,3 +547,3 @@ scriptHash,

});
const allUtxosPromise = allUtxos.map(async (utxo) => {
const allUtxosPromises = allUtxos.map(async (utxo) => {
const response = await electrum.subscribeAddress({

@@ -567,3 +567,3 @@ scriptHash: utxo.scriptHash,

try {
await Promise.all([allScriptHashesPromise, allUtxosPromise]);
await Promise.all([...allScriptHashesPromises, ...allUtxosPromises]);
}

@@ -570,0 +570,0 @@ catch (e) {

{
"name": "beignet",
"version": "0.0.39",
"version": "0.0.40",
"description": "A self-custodial, JS Bitcoin wallet management library.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -861,3 +861,3 @@ import {

// Subscribe to all provided script hashes.
const allScriptHashesPromise = scriptHashes.map(async (scriptHash) => {
const allScriptHashesPromises = scriptHashes.map(async (scriptHash) => {
const response: ISubscribeToAddress = await electrum.subscribeAddress({

@@ -876,3 +876,3 @@ scriptHash,

const allUtxosPromise = allUtxos.map(async (utxo) => {
const allUtxosPromises = allUtxos.map(async (utxo) => {
const response: ISubscribeToAddress = await electrum.subscribeAddress({

@@ -897,3 +897,3 @@ scriptHash: utxo.scriptHash,

try {
await Promise.all([allScriptHashesPromise, allUtxosPromise]);
await Promise.all([...allScriptHashesPromises, ...allUtxosPromises]);
} catch (e) {

@@ -900,0 +900,0 @@ return err(e);

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