eth-provider-types
Advanced tools
Comparing version 0.1.0-beta.2 to 0.1.0-beta.3
# 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30495
547
No