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

@metamask/eth-query

Package Overview
Dependencies
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eth-query - npm Package Compare versions

Comparing version 3.0.1 to 4.0.0

16

index.d.ts

@@ -13,2 +13,12 @@ declare module '@metamask/eth-query' {

type Json =
| null
| boolean
| number
| string
| Json[]
| { [prop: string]: Json };
type JsonRpcParams = Json[] | Record<string, Json>;
type ProviderSendAsyncResponse<Result> = {

@@ -25,3 +35,3 @@ error?: { message: string };

type Provider = {
sendAsync<Params, Result>(
sendAsync<Params extends JsonRpcParams, Result>(
payload: SendAsyncPayload<Params>,

@@ -32,3 +42,3 @@ callback: ProviderSendAsyncCallback<Result>,

type SendAsyncPayload<Params> = {
type SendAsyncPayload<Params extends JsonRpcParams> = {
id: number;

@@ -49,3 +59,3 @@ jsonrpc: '2.0';

sendAsync<Params, Result>(
sendAsync<Params extends JsonRpcParams, Result>(
opts: Partial<SendAsyncPayload<Params>>,

@@ -52,0 +62,0 @@ callback: SendAsyncCallback<Result>,

4

package.json
{
"name": "@metamask/eth-query",
"version": "3.0.1",
"version": "4.0.0",
"description": "like web3 but for minimalists",

@@ -68,2 +68,2 @@ "homepage": "https://github.com/MetaMask/eth-query#readme",

}
}
}
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