Skip to content

Commit

Permalink
Merge pull request #36 from rsksmart/fix/rsk-contract-parser-index-fi…
Browse files Browse the repository at this point in the history
…le-exports

fix: export getBridgeAbi function instead of abi object from the previous implementation
  • Loading branch information
IOVgomezdn authored Oct 6, 2023
2 parents f709117 + 0da7ba8 commit fcf76fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ContractParser } from './lib/ContractParser'
import { BcSearch } from './lib/BcSearch'
import Contract from './lib/Contract'
import bridge from './lib/nativeContracts/bridgeAbi'
const abi = { bridge }
import { getBridgeAbi } from './lib/nativeContracts/bridgeAbi'
const abi = { bridge: getBridgeAbi }
export { ContractParser, BcSearch, Contract, abi }
export default ContractParser

0 comments on commit fcf76fc

Please sign in to comment.