Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Aug 26, 2024
1 parent 0e08b48 commit 2d71d2a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ethers } from 'ethers';
import Blockchains from '@depay/web3-blockchains';

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ let simulate = async function ({ blockchain, from, to, keys, api, params }) {
};

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ let simulate = async function ({ blockchain, from, to, keys, api, params }) {
};

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
var Blockchains__default = /*#__PURE__*/_interopDefaultLegacy(Blockchains);

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
};

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
};

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/evm/estimate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ethers } from 'ethers'

const findFragment = ({ fragments, method, params })=>{
return contract.interface.fragments.find((fragment) => {
return fragments.find((fragment) => {
return(
fragment.name == method &&
(fragment.inputs && params && typeof(params) === 'object' ? fragment.inputs.length == Object.keys(params).length : true)
Expand Down

0 comments on commit 2d71d2a

Please sign in to comment.