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

eth-provider-types

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-provider-types - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.3

6

CHANGELOG.md
# eth-provider-types
## 0.1.0-beta.3
### Minor Changes
- [#309](https://github.com/BitskiCo/bitski-js/pull/309) [`868af17`](https://github.com/BitskiCo/bitski-js/commit/868af175ea21cf6a044eab519ee8f820df5657a7) Thanks [@pzuraq](https://github.com/pzuraq)! - Convert eth provider types to CJS for compat for now
## 0.1.0-beta.2

@@ -4,0 +10,0 @@

23

index.js

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

"use strict";
/**

@@ -5,4 +6,6 @@ * Provider API types from: https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation

*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.EthProviderMessageType = exports.EthEvent = exports.EthProviderRpcErrorCode = exports.EthBlockNumberTag = exports.EthMethod = void 0;
/***** JSON RPC *****/
export var EthMethod;
var EthMethod;
(function (EthMethod) {

@@ -66,4 +69,4 @@ EthMethod["web3_clientVersion"] = "web3_clientVersion";

EthMethod["wallet_getPermissions"] = "wallet_getPermissions";
})(EthMethod || (EthMethod = {}));
export var EthBlockNumberTag;
})(EthMethod = exports.EthMethod || (exports.EthMethod = {}));
var EthBlockNumberTag;
(function (EthBlockNumberTag) {

@@ -73,5 +76,5 @@ EthBlockNumberTag["Latest"] = "latest";

EthBlockNumberTag["Pending"] = "pending";
})(EthBlockNumberTag || (EthBlockNumberTag = {}));
})(EthBlockNumberTag = exports.EthBlockNumberTag || (exports.EthBlockNumberTag = {}));
/***** RPC Errors *****/
export var EthProviderRpcErrorCode;
var EthProviderRpcErrorCode;
(function (EthProviderRpcErrorCode) {

@@ -83,5 +86,5 @@ EthProviderRpcErrorCode[EthProviderRpcErrorCode["UserRejectedRequest"] = 4001] = "UserRejectedRequest";

EthProviderRpcErrorCode[EthProviderRpcErrorCode["ChainDisconnected"] = 4901] = "ChainDisconnected";
})(EthProviderRpcErrorCode || (EthProviderRpcErrorCode = {}));
})(EthProviderRpcErrorCode = exports.EthProviderRpcErrorCode || (exports.EthProviderRpcErrorCode = {}));
/***** Events *****/
export var EthEvent;
var EthEvent;
(function (EthEvent) {

@@ -94,7 +97,7 @@ EthEvent["message"] = "message";

EthEvent["data"] = "data";
})(EthEvent || (EthEvent = {}));
export var EthProviderMessageType;
})(EthEvent = exports.EthEvent || (exports.EthEvent = {}));
var EthProviderMessageType;
(function (EthProviderMessageType) {
EthProviderMessageType["eth_subscription"] = "eth_subscription";
})(EthProviderMessageType || (EthProviderMessageType = {}));
})(EthProviderMessageType = exports.EthProviderMessageType || (exports.EthProviderMessageType = {}));
//# sourceMappingURL=index.js.map
{
"name": "eth-provider-types",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.3",
"description": "TypeScript types for Ethereum providers, with types for every RPC method",
"type": "module",
"exports": "./index.js",
"main": "./index.js",
"types": "index.d.ts",

@@ -8,0 +7,0 @@ "files": [

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