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

@ethersproject/providers

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/providers - npm Package Compare versions

Comparing version 6.0.0-beta.4 to 6.0.0-beta.5

4

lib/abstract-provider.js

@@ -176,4 +176,2 @@ // @TODO

}
//this.#approxNumber = -2;
//this.#approxNumberT0 = 0;
__classPrivateFieldSet(this, _AbstractProvider_performCache, new Map(), "f");

@@ -581,3 +579,3 @@ __classPrivateFieldSet(this, _AbstractProvider_subs, new Map(), "f");

this.off("block", listener);
reject(logger.makeError("timeout", "TIMEOUT", {}));
reject(logger.makeError("timeout", "TIMEOUT", { reason: "timeout" }));
}, timeout);

@@ -584,0 +582,0 @@ }

@@ -20,3 +20,3 @@ {

"ethereum": "donations.ethers.eth",
"gitHead": "0ca05ffdaa9e1307a696cbf5f5fa4b8aed7d8da1",
"gitHead": "d1696bfa26b800157764d795efd7bd07fe36a758",
"keywords": [

@@ -42,6 +42,6 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0xeefd94b84228a86fb22539b8af45bf597c0827a68243714659b103da5ff1c609",
"tarballHash": "0xdb27132f14a78ce15debbeb4e15d7c8aea409d3d23c7c8046032786ccbb6d401",
"type": "module",
"types": "./lib/index.d.ts",
"version": "6.0.0-beta.4"
"version": "6.0.0-beta.5"
}

@@ -329,4 +329,2 @@ // @TODO

//this.#approxNumber = -2;
//this.#approxNumberT0 = 0;
this.#performCache = new Map();

@@ -456,3 +454,3 @@

// State
async getBlockNumber() {
async getBlockNumber(): Promise<number> {
return logger.getNumber(await this.#perform({ method: "getBlockNumber" }), "%response");

@@ -881,3 +879,3 @@ }

this.off("block", listener);
reject(logger.makeError("timeout", "TIMEOUT", { }));
reject(logger.makeError("timeout", "TIMEOUT", { reason: "timeout" }));
}, timeout);

@@ -884,0 +882,0 @@ }

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