Socket
Socket
Sign inDemoInstall

@types/ethereum-protocol

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ethereum-protocol - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

78

ethereum-protocol/index.d.ts

@@ -7,3 +7,3 @@ // Type definitions for ethereum-protocol 1.0

import BigNumber from 'bignumber.js';
import BigNumber from "bignumber.js";

@@ -26,10 +26,10 @@ export type JSONRPCErrorCallback = (err: Error | null, result?: JSONRPCResponsePayload) => void;

export type ConstructorStateMutability = 'nonpayable' | 'payable';
export type StateMutability = 'pure' | 'view' | ConstructorStateMutability;
export type ConstructorStateMutability = "nonpayable" | "payable";
export type StateMutability = "pure" | "view" | ConstructorStateMutability;
export enum AbiType {
Function = 'function',
Constructor = 'constructor',
Event = 'event',
Fallback = 'fallback',
Function = "function",
Constructor = "constructor",
Event = "event",
Fallback = "fallback",
}

@@ -77,12 +77,12 @@

export enum OpCode {
DelegateCall = 'DELEGATECALL',
Revert = 'REVERT',
Create = 'CREATE',
Stop = 'STOP',
Invalid = 'INVALID',
CallCode = 'CALLCODE',
StaticCall = 'STATICCALL',
Return = 'RETURN',
Call = 'CALL',
SelfDestruct = 'SELFDESTRUCT',
DelegateCall = "DELEGATECALL",
Revert = "REVERT",
Create = "CREATE",
Stop = "STOP",
Invalid = "INVALID",
CallCode = "CALLCODE",
StaticCall = "STATICCALL",
Return = "RETURN",
Call = "CALL",
SelfDestruct = "SELFDESTRUCT",
}

@@ -109,17 +109,17 @@

export type Unit =
| 'kwei'
| 'ada'
| 'mwei'
| 'babbage'
| 'gwei'
| 'shannon'
| 'szabo'
| 'finney'
| 'ether'
| 'kether'
| 'grand'
| 'einstein'
| 'mether'
| 'gether'
| 'tether';
| "kwei"
| "ada"
| "mwei"
| "babbage"
| "gwei"
| "shannon"
| "szabo"
| "finney"
| "ether"
| "kether"
| "grand"
| "einstein"
| "mether"
| "gether"
| "tether";

@@ -259,5 +259,5 @@ export interface JSONRPCRequestPayload {

export enum BlockParamLiteral {
Earliest = 'earliest',
Latest = 'latest',
Pending = 'pending',
Earliest = "earliest",
Latest = "latest",
Pending = "pending",
}

@@ -279,6 +279,6 @@

export enum SolidityTypes {
Address = 'address',
Uint256 = 'uint256',
Uint8 = 'uint8',
Uint = 'uint',
Address = "address",
Uint256 = "uint256",
Uint8 = "uint8",
Uint = "uint",
}

@@ -285,0 +285,0 @@

{
"name": "@types/ethereum-protocol",
"version": "1.0.2",
"version": "1.0.3",
"description": "TypeScript definitions for ethereum-protocol",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ethereum-protocol",

},
"typesPublisherContentHash": "903b2e6afa40d29f8d4299bffe32295ee521a2ce4791b876cec8e12c1298a457",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "3e4d3ba5f117247aae390088a6d265a5f89f4ce8b5de3818a9450143149a6396",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 08 Jul 2021 12:01:13 GMT
* Last updated: Sat, 23 Sep 2023 17:07:22 GMT
* Dependencies: [@types/bignumber.js](https://npmjs.com/package/@types/bignumber.js)

@@ -14,0 +14,0 @@ * Global values: none

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