fireblocks / fireblocks-web3-provider

Fireblocks EIP-1193 Compatible Ethereum JavaScript Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor: Remove @json-rpc-tools/utils dependency

orenyomtov opened this issue · comments

commented

It depends on tslib for runtime, which throws an error for projects that import @fireblocks/fireblocks-web3-provider and don't use tslib.

Removing the dependency will require replacing the imported type and two functions:

import {
  RequestArguments,
  formatJsonRpcRequest,
  formatJsonRpcResult,
} from "@json-rpc-tools/utils";