Skip to content

Commit bf7d562

Browse files
committed
fix: only make ABI public
1 parent f8be2dc commit bf7d562

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-multicall",
3-
"version": "2.16.0",
3+
"version": "2.16.1",
44
"description": "Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result",
55
"main": "dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

src/multicall.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,9 @@ export class Multicall {
289289

290290
/**
291291
* Build aggregate call context
292-
* exposed as public as people can decide to use this outside multicall.call
293292
* @param contractCallContexts The contract call contexts
294293
*/
295-
public buildAggregateCallContext(
294+
private buildAggregateCallContext(
296295
contractCallContexts: ContractCallContext[]
297296
): AggregateCallContext[] {
298297
const aggregateCallContext: AggregateCallContext[] = [];
@@ -512,10 +511,9 @@ export class Multicall {
512511

513512
/**
514513
* Map call contract to match contract format
515-
* exposed as public as people can decide to use this outside multicall.call
516514
* @param calls The calls context
517515
*/
518-
public mapCallContextToMatchContractFormat(
516+
private mapCallContextToMatchContractFormat(
519517
calls: AggregateCallContext[]
520518
): Array<{
521519
target: string;

0 commit comments

Comments
 (0)