eth-provider-types
Advanced tools
Comparing version 0.1.0-beta.4 to 0.1.0
# eth-provider-types | ||
## 0.1.0 | ||
### Minor Changes | ||
- [#307](https://github.com/BitskiCo/bitski-js/pull/307) [`b00c69e`](https://github.com/BitskiCo/bitski-js/commit/b00c69e661383c5ed8268b3de4d8a22fdd3e3929) Thanks [@pzuraq](https://github.com/pzuraq)! - Fix generics for middleware + switch to standard enums | ||
* [#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 | ||
- [#300](https://github.com/BitskiCo/bitski-js/pull/300) [`3e2ced1`](https://github.com/BitskiCo/bitski-js/commit/3e2ced1d2ff939c15f3aefec6f65fec3d97b8638) Thanks [@pzuraq](https://github.com/pzuraq)! - Switch to json rpc engine | ||
This PR updates the provider to use a simpler JSON-RPC based | ||
architecture. It also includes a number of other changes and enhancements: | ||
- Builds with Rollup instead of Browserify for smaller bundle size (down | ||
to 170kb minified). | ||
- Adds `bitski.initialize()` to reinitialize Bitski after page loads | ||
- Updates sign in and initialize methods to set `window.ethereum` to the | ||
Bitski provider after successful login. This should make it easier for | ||
devs to integrate into their DApps. | ||
- Adds storage for provider state so the provider can store custom | ||
chains, current chain ID, etc. | ||
- Adds custom chain RPC url to transaction request contexts, so we can | ||
send the transaction server side in the near future. | ||
- Updates `eth-provider-types` to be more accurate overall | ||
- Ability for middlewares to add arbitrary context to transactions/signs | ||
### Patch Changes | ||
- [#333](https://github.com/BitskiCo/bitski-js/pull/333) [`462e011`](https://github.com/BitskiCo/bitski-js/commit/462e01184269d440e9216e1d2ff92334d2d712c0) Thanks [@jtescher](https://github.com/jtescher)! - Add missing RPC methods | ||
* [#305](https://github.com/BitskiCo/bitski-js/pull/305) [`eb505af`](https://github.com/BitskiCo/bitski-js/commit/eb505aff9cf0a3e338aec278be131df1b17fb66b) Thanks [@pzuraq](https://github.com/pzuraq)! - - Add destructor for store | ||
- Also thread `Extra` type through provider and add `requestWithExtra` so | ||
requests can be made with additional context. Also add a few missing eth | ||
methods. | ||
- Make stores able to return MaybePromise so they can be more efficient | ||
## 0.1.0-beta.4 | ||
@@ -4,0 +40,0 @@ |
{ | ||
"name": "eth-provider-types", | ||
"version": "0.1.0-beta.4", | ||
"version": "0.1.0", | ||
"description": "TypeScript types for Ethereum providers, with types for every RPC method", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
34862