eth-provider-types
Advanced tools
Comparing version 0.0.1 to 0.0.2
# eth-provider-types | ||
## 0.0.2 | ||
### Patch Changes | ||
- [#296](https://github.com/BitskiCo/bitski-js/pull/296) [`fb79c27`](https://github.com/BitskiCo/bitski-js/commit/fb79c27d597a19368a5b36beeffce98772ca267c) Thanks [@pzuraq](https://github.com/pzuraq)! - Make RPC results promises | ||
## 0.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -387,3 +387,3 @@ /** | ||
export type EthResult<T extends EthMethod> = EthMethodResults[T]; | ||
export type EthResult<T extends EthMethod> = Promise<EthMethodResults[T]>; | ||
@@ -396,3 +396,3 @@ export type EthEventListener<T extends EthEvent> = (...params: EthEventParams[T]) => void; | ||
params: EthGetBlockParams<T>; | ||
}): EthBlock<T>; | ||
}): Promise<EthBlock<T>>; | ||
request<T extends EthMethod>(req: EthRequest<T>): EthMethodResults[T]; | ||
@@ -399,0 +399,0 @@ |
{ | ||
"name": "eth-provider-types", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "TypeScript types for Ethereum providers, with types for every RPC method", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
16998