Skip to content

Commit 4dc73ed

Browse files
committed
Rename abi.js to index.js
To fit more in line with index.d.ts
1 parent 13d478e commit 4dc73ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
".": [
1212
"./dist/index.js"
1313
],
14-
"./abis": "./dist/contracts/abis.js",
14+
"./abis": "./dist/contracts/abis/index.js",
1515
"./abis/*": "./dist/contracts/abis/*.json",
1616
"./addresses": "./dist/contracts/addresses.json",
1717
"./products": "./dist/products/products.json",

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const main = async () => {
126126

127127
console.log('Generating abi exports');
128128
const abisPath = path.join(__dirname, '../dist/contracts/abis');
129-
const abiExportsFile = path.join(__dirname, '../dist/contracts/abis.js');
129+
const abiExportsFile = path.join(__dirname, '../dist/contracts/abis/index.js');
130130

131131
const abis = fs
132132
.readdirSync(abisPath)

0 commit comments

Comments
 (0)