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

@flashbots/ethers-provider-bundle

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flashbots/ethers-provider-bundle - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

build/index.js

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

async sendRawBundle(signedBundledTransactions, targetBlockNumber, opts) {
await this.send("eth_sendBundle", [signedBundledTransactions, [`0x${targetBlockNumber.toString(16)}`, (opts === null || opts === void 0 ? void 0 : opts.minTimestamp) || 0, (opts === null || opts === void 0 ? void 0 : opts.maxTimestamp) || 0]]);
await this.send("eth_sendBundle", [signedBundledTransactions, `0x${targetBlockNumber.toString(16)}`, (opts === null || opts === void 0 ? void 0 : opts.minTimestamp) || 0, (opts === null || opts === void 0 ? void 0 : opts.maxTimestamp) || 0]);
const bundleTransactions = signedBundledTransactions.map(signedTransaction => {

@@ -50,0 +50,0 @@ const transactionDetails = ethers_1.ethers.utils.parseTransaction(signedTransaction);

{
"name": "@flashbots/ethers-provider-bundle",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

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

@@ -86,3 +86,3 @@ import { BigNumber, ethers, providers, Signer } from "ethers";

async sendRawBundle(signedBundledTransactions: Array<string>, targetBlockNumber: number, opts?: FlashbotsOptions): Promise<FlashbotsTransactionResponse> {
await this.send("eth_sendBundle", [signedBundledTransactions, [`0x${targetBlockNumber.toString(16)}`, opts?.minTimestamp || 0, opts?.maxTimestamp || 0]]);
await this.send("eth_sendBundle", [signedBundledTransactions, `0x${targetBlockNumber.toString(16)}`, opts?.minTimestamp || 0, opts?.maxTimestamp || 0]);
const bundleTransactions = signedBundledTransactions.map(signedTransaction => {

@@ -89,0 +89,0 @@ const transactionDetails = ethers.utils.parseTransaction(signedTransaction)

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