Skip to content

Commit

Permalink
fix: keep old NetworkNodeConfig type
Browse files Browse the repository at this point in the history
  • Loading branch information
way2ex committed Mar 10, 2023
1 parent 89735c1 commit c81324a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/adapters/abstract-adapter/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ export type Network = {
solidityNode: string;
eventServer: string;
};

export type { Network as NetworkNodeConfig };
/**
* @deprecated Use Network instead.
*/
export type NetworkNodeConfig = {
chainId: string;
chain: string;
fullNode: string;
solidityNode: string;
eventServer: string;
};
// types should be defined in @tronweb3/web3.js, such as tronweb
// as no ts in tronweb
// just defined here
Expand Down

0 comments on commit c81324a

Please sign in to comment.