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

@0xbridge/bitcoin-vault-trial

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xbridge/bitcoin-vault-trial - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

dist/cjs/utils.js

@@ -59,3 +59,2 @@ "use strict";

exports.createBinaryMetadataBuffer = createBinaryMetadataBuffer;
// src/utils.ts
const axios_1 = __importDefault(require("axios"));

@@ -66,4 +65,2 @@ const crypto_1 = __importDefault(require("crypto"));

const ecc = __importStar(require("tiny-secp256k1"));
const zlib_1 = require("zlib");
// Only need initEccLib once in your entire codebase, but if you want it here:
bitcoin.initEccLib(ecc);

@@ -176,8 +173,2 @@ const ECPair = (0, ecpair_1.default)(ecc);

}
function compressBuffer(data) {
return (0, zlib_1.deflateSync)(data);
}
function decompressBuffer(data) {
return (0, zlib_1.inflateSync)(data);
}
/**

@@ -184,0 +175,0 @@ * Convert an "0x..." Ethereum address string to its 20-byte binary representation.

@@ -10,3 +10,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
// src/utils.ts
import axios from "axios";

@@ -17,4 +16,2 @@ import crypto from "crypto";

import * as ecc from "tiny-secp256k1";
import { deflateSync, inflateSync } from "zlib";
// Only need initEccLib once in your entire codebase, but if you want it here:
bitcoin.initEccLib(ecc);

@@ -127,8 +124,2 @@ const ECPair = ECPairFactory(ecc);

}
function compressBuffer(data) {
return deflateSync(data);
}
function decompressBuffer(data) {
return inflateSync(data);
}
/**

@@ -135,0 +126,0 @@ * Convert an "0x..." Ethereum address string to its 20-byte binary representation.

2

package.json
{
"name": "@0xbridge/bitcoin-vault-trial",
"version": "1.0.1",
"version": "1.0.2",
"description": "Bitcoin-psbt implementation TypeScript library supporting ESM and CJS.",

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

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