Socket
Socket
Sign inDemoInstall

web3-types

Package Overview
Dependencies
Maintainers
5
Versions
312
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-types - npm Package Compare versions

Comparing version 1.7.1-dev.f87ffbe.0 to 1.8.0

5

lib/commonjs/data_format_types.d.ts

@@ -22,2 +22,7 @@ import { Bytes, HexString, Numbers } from './primitives_types.js';

};
/**
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or
* strings.
*/
export declare type DataFormat = {

@@ -24,0 +29,0 @@ readonly number: FMT_NUMBER;

@@ -22,2 +22,7 @@ import { Bytes, HexString, Numbers } from './primitives_types.js';

};
/**
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or
* strings.
*/
export declare type DataFormat = {

@@ -24,0 +29,0 @@ readonly number: FMT_NUMBER;

4

package.json
{
"name": "web3-types",
"version": "1.7.1-dev.f87ffbe.0+f87ffbe",
"version": "1.8.0",
"description": "Provide the common data structures and interfaces for web3 modules.",

@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js",

},
"gitHead": "f87ffbe1efc38a33df241adf97d2b82e9cede7c8"
"gitHead": "07993314c5db2dfaedb51bf1243c99568b6e070f"
}

@@ -196,3 +196,6 @@ /*

eth_getUncleByBlockHashAndIndex: (blockHash: HexString32Bytes, uncleIndex: Uint) => BlockAPI;
eth_getUncleByBlockNumberAndIndex: (blockNumber: BlockNumberOrTag, uncleIndex: Uint) => BlockAPI;
eth_getUncleByBlockNumberAndIndex: (
blockNumber: BlockNumberOrTag,
uncleIndex: Uint,
) => BlockAPI;

@@ -199,0 +202,0 @@ // https://github.com/ethereum/execution-apis/blob/main/src/eth/transaction.yaml

@@ -44,2 +44,7 @@ /*

/**
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or
* strings.
*/
export type DataFormat = {

@@ -46,0 +51,0 @@ readonly number: FMT_NUMBER;

@@ -145,3 +145,2 @@ /*

export type AbiInput =

@@ -159,11 +158,9 @@ | string

export interface AbiOutput {
name: string;
type: string;
components?: AbiOutput[];
internalType?: string;
}
export interface AbiOutput {
name: string;
type: string;
components?: AbiOutput[];
internalType?: string;
}
// https://docs.soliditylang.org/en/latest/abi-spec.html#json

@@ -175,9 +172,8 @@ export type AbiFragment =

| AbiErrorFragment
| AbiFallbackFragment
| AbiFallbackFragment;
// to be compatible with web3js v1
export type AbiItem = AbiFragment
export type ContractAbi = ReadonlyArray<AbiFragment> | ReadonlyArray<AbiItem>
export type AbiItem = AbiFragment;
export type ContractAbi = ReadonlyArray<AbiFragment> | ReadonlyArray<AbiItem>;
// https://docs.soliditylang.org/en/develop/abi-spec.html#json

@@ -184,0 +180,0 @@ export type JsonFunctionInterface = {

@@ -115,3 +115,2 @@ /*

export type Eip1193EventName =

@@ -153,3 +152,2 @@ | 'connect'

export type Eip1193Compatible<API extends Web3APISpec = EthExecutionAPI> = Omit<

@@ -156,0 +154,0 @@ // eslint-disable-next-line no-use-before-define

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