Socket
Socket
Sign inDemoInstall

@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.3 to 6.0.0-beta.4

lib/contracts.d.ts

2

lib/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "@ethersproject/providers@6.0.0-beta.3";
export declare const version = "@ethersproject/providers@6.0.0-beta.4";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "@ethersproject/providers@6.0.0-beta.3";
export const version = "@ethersproject/providers@6.0.0-beta.4";
//# sourceMappingURL=_version.js.map

@@ -7,3 +7,3 @@ import { EnsResolver } from "./ens-resolver.js";

import type { Frozen, Listener } from "@ethersproject/properties";
import type { AccessList } from "@ethersproject/transactions";
import type { AccessList } from "@ethersproject/transaction";
import type { Networkish } from "./network.js";

@@ -122,2 +122,3 @@ import type { BlockTag, CallRequest, EventFilter, Filter, FilterByBlockHash, OrphanFilter, Provider, ProviderEvent, TransactionRequest } from "./provider.js";

constructor(_network?: "any" | Networkish);
get provider(): this;
get plugins(): Array<ProviderPlugin>;

@@ -124,0 +125,0 @@ attachPlugin(plugin: ProviderPlugin): this;

@@ -186,2 +186,3 @@ // @TODO

}
get provider() { return this; }
get plugins() {

@@ -188,0 +189,0 @@ return Array.from(__classPrivateFieldGet(this, _AbstractProvider_plugins, "f").values());

import type { Addressable } from "@ethersproject/address";
import type { TypedDataDomain, TypedDataField } from "@ethersproject/hash";
import type { TransactionLike } from "@ethersproject/transactions";
import type { TransactionLike } from "@ethersproject/transaction";
import type { BlockTag, CallRequest, Provider, TransactionRequest, TransactionResponse } from "./provider.js";

@@ -5,0 +5,0 @@ import type { Signer } from "./signer.js";

@@ -14,3 +14,3 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {

import { defineProperties, resolveProperties } from "@ethersproject/properties";
import { Transaction } from "@ethersproject/transactions";
import { Transaction } from "@ethersproject/transaction";
import { logger } from "./logger.js";

@@ -17,0 +17,0 @@ export class AbstractSigner {

import { Block, Log, TransactionReceipt, TransactionResponse } from "./provider.js";
import type { AccessList } from "@ethersproject/transactions";
import type { AccessList } from "@ethersproject/transaction";
import type { PerformActionTransaction } from "./abstract-provider.js";

@@ -4,0 +4,0 @@ import type { Filter, Provider } from "./provider.js";

@@ -32,3 +32,3 @@ // Belongs to Networks; requires abstract-provider

import { Signature } from "@ethersproject/signing-key";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";
import { Block, Log, TransactionReceipt, TransactionResponse } from "./provider.js";

@@ -35,0 +35,0 @@ import { logger } from "./logger.js";

@@ -23,2 +23,3 @@ export { AbstractProvider, UnmanagedSubscriber } from "./abstract-provider.js";

export type { ProviderPlugin, Subscriber, Subscription } from "./abstract-provider.js";
export type { ContractRunner } from "./contracts.js";
export type { CommunityResourcable } from "./community.js";

@@ -25,0 +26,0 @@ export type { AvatarLinkageType, AvatarLinkage, AvatarResult } from "./ens-resolver.js";

import { Formatter } from "./formatter.js";
import type { BigNumberish } from "@ethersproject/logger";
import type { Freezable, Frozen } from "@ethersproject/properties";
import type { TransactionLike } from "@ethersproject/transactions";
import type { TransactionLike } from "@ethersproject/transaction";
import type { NetworkPlugin } from "./plugins-network.js";

@@ -6,0 +6,0 @@ export declare type Networkish = Network | number | bigint | string | {

@@ -45,3 +45,3 @@ import { AbstractProvider } from "./abstract-provider.js";

isFrozen: () => boolean;
computeIntrinsicGas: (tx: import("@ethersproject/transactions").TransactionLike<string>) => number;
computeIntrinsicGas: (tx: import("@ethersproject/transaction").TransactionLike<string>) => number;
}>>;

@@ -48,0 +48,0 @@ _perform<T = any>(req: PerformActionRequest): Promise<T>;

@@ -21,3 +21,3 @@ // @TODO:

import { toUtf8Bytes } from "@ethersproject/strings";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";
import { fetchData, FetchRequest } from "@ethersproject/web";

@@ -24,0 +24,0 @@ import { AbstractProvider, UnmanagedSubscriber } from "./abstract-provider.js";

@@ -5,3 +5,4 @@ import type { Addressable, NameResolver } from "@ethersproject/address";

import type { Signature } from "@ethersproject/signing-key";
import type { AccessList, AccessListish, TransactionLike } from "@ethersproject/transactions";
import type { AccessList, AccessListish, TransactionLike } from "@ethersproject/transaction";
import type { ContractRunner } from "./contracts.js";
import type { Network } from "./network.js";

@@ -311,3 +312,4 @@ export declare type BlockTag = number | string;

export declare type ProviderEvent = string | Array<string | Array<string>> | EventFilter | OrphanFilter;
export interface Provider extends EventEmitterable<ProviderEvent>, NameResolver {
export interface Provider extends ContractRunner, EventEmitterable<ProviderEvent>, NameResolver {
provider: this;
getBlockNumber(): Promise<number>;

@@ -314,0 +316,0 @@ getNetwork(): Promise<Frozen<Network>>;

@@ -16,3 +16,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {

import { defineProperties } from "@ethersproject/properties";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";
import { logger } from "./logger.js";

@@ -438,2 +438,3 @@ // -----------------------

class DummyProvider {
get provider() { return this; }
async getNetwork() { return fail(); }

@@ -440,0 +441,0 @@ async getFeeData() { return fail(); }

import type { Addressable, NameResolver } from "@ethersproject/address";
import type { TypedDataDomain, TypedDataField } from "@ethersproject/hash";
import type { ContractRunner } from "./contracts.js";
import type { CallRequest, Provider, TransactionRequest, TransactionResponse } from "./provider.js";
export interface Signer extends Addressable, NameResolver {
export interface Signer extends Addressable, ContractRunner, NameResolver {
provider: null | Provider;

@@ -6,0 +7,0 @@ connect(provider: null | Provider): Signer;

@@ -11,3 +11,3 @@ {

"@ethersproject/signing-key": "^6.0.0-beta.1",
"@ethersproject/transactions": "^6.0.0-beta.1",
"@ethersproject/transaction": "^6.0.0-beta.1",
"@ethersproject/web": "^6.0.0-beta.1",

@@ -17,17 +17,2 @@ "ws": "8.5.0"

"description": "Ethereum Providers for ethers.",
"dummy": {
"@ethersproject/abstract-provider": "^6.0.0-beta.1",
"@ethersproject/abstract-signer": "^6.0.0-beta.1",
"@ethersproject/basex": "^6.0.0-beta.1",
"@ethersproject/constants": "^6.0.0-beta.1",
"@ethersproject/hash": "^6.0.0-beta.1",
"@ethersproject/networks": "^6.0.0-beta.1",
"@ethersproject/properties": "^6.0.0-beta.1",
"@ethersproject/random": "^6.0.0-beta.1",
"@ethersproject/rlp": "^6.0.0-beta.1",
"@ethersproject/sha2": "^6.0.0-beta.1",
"@ethersproject/strings": "^6.0.0-beta.1",
"@ethersproject/transactions": "^6.0.0-beta.1",
"@ethersproject/web": "^5.4.0"
},
"engines": {

@@ -37,3 +22,3 @@ "node": ">=12.17.0"

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

@@ -59,6 +44,6 @@ "Ethereum",

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

@@ -1,1 +0,1 @@

export const version = "@ethersproject/providers@6.0.0-beta.3";
export const version = "@ethersproject/providers@6.0.0-beta.4";

@@ -28,3 +28,3 @@ // @TODO

import type { Frozen, Listener } from "@ethersproject/properties";
import type { AccessList } from "@ethersproject/transactions";
import type { AccessList } from "@ethersproject/transaction";

@@ -344,2 +344,4 @@ import type { Networkish } from "./network.js";

get provider(): this { return this; }
get plugins(): Array<ProviderPlugin> {

@@ -346,0 +348,0 @@ return Array.from(this.#plugins.values());

import { defineProperties, resolveProperties } from "@ethersproject/properties";
import { Transaction } from "@ethersproject/transactions";
import { Transaction } from "@ethersproject/transaction";
import type { Addressable } from "@ethersproject/address";
import type { TypedDataDomain, TypedDataField } from "@ethersproject/hash";
import type { TransactionLike } from "@ethersproject/transactions";
import type { TransactionLike } from "@ethersproject/transaction";

@@ -8,0 +8,0 @@ import type {

@@ -22,3 +22,3 @@ // Belongs to Networks; requires abstract-provider

import { Signature } from "@ethersproject/signing-key";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";

@@ -28,3 +28,3 @@ import { Block, Log, TransactionReceipt, TransactionResponse } from "./provider.js";

import type { AccessList } from "@ethersproject/transactions";
import type { AccessList } from "@ethersproject/transaction";

@@ -31,0 +31,0 @@ import type { PerformActionTransaction } from "./abstract-provider.js";

@@ -66,2 +66,4 @@ export {

export type { ContractRunner } from "./contracts.js";
export type {

@@ -68,0 +70,0 @@ CommunityResourcable

@@ -9,3 +9,3 @@ import { getStore, setStore } from "@ethersproject/properties";

import type { Freezable, Frozen } from "@ethersproject/properties";
import type { TransactionLike } from "@ethersproject/transactions";
import type { TransactionLike } from "@ethersproject/transaction";

@@ -12,0 +12,0 @@ import type { NetworkPlugin } from "./plugins-network.js";

@@ -11,3 +11,3 @@ // @TODO:

import { toUtf8Bytes } from "@ethersproject/strings";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";
import { fetchData, FetchRequest } from "@ethersproject/web";

@@ -14,0 +14,0 @@

//import { resolveAddress } from "@ethersproject/address";
import { hexlify } from "@ethersproject/bytes";
import { defineProperties } from "@ethersproject/properties";
import { accessListify } from "@ethersproject/transactions";
import { accessListify } from "@ethersproject/transaction";

@@ -12,4 +12,5 @@ import { logger } from "./logger.js";

import type { Signature } from "@ethersproject/signing-key";
import type { AccessList, AccessListish, TransactionLike } from "@ethersproject/transactions";
import type { AccessList, AccessListish, TransactionLike } from "@ethersproject/transaction";
import type { ContractRunner } from "./contracts.js";
import type { Network } from "./network.js";

@@ -883,3 +884,4 @@

export interface Provider extends EventEmitterable<ProviderEvent>, NameResolver {
export interface Provider extends ContractRunner, EventEmitterable<ProviderEvent>, NameResolver {
provider: this;

@@ -927,2 +929,4 @@ // State

class DummyProvider implements Provider {
get provider(): this { return this; }
async getNetwork() { return fail<Frozen<Network>>(); }

@@ -929,0 +933,0 @@ async getFeeData() { return fail<FeeData>(); }

@@ -5,6 +5,7 @@

import type { ContractRunner } from "./contracts.js";
import type { CallRequest, Provider, TransactionRequest, TransactionResponse } from "./provider.js";
export interface Signer extends Addressable, NameResolver {
export interface Signer extends Addressable, ContractRunner, NameResolver {
provider: null | Provider;

@@ -11,0 +12,0 @@ connect(provider: null | Provider): Signer;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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