Skip to content

Commit 4205d4f

Browse files
committed
Fix abi paths
1 parent d15fdd5 commit 4205d4f

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.vscode
33
node_modules
44
dist
5+
abi
56
build
67
# Config files,
78
.idea/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ $ npm run test
6767
To interact with this package's contracts within JavaScript code, you simply need to require this package's `.json` files:
6868

6969
```js
70-
const contract = require("@nibbstack/erc721/build/nf-token-enumerable.json");
70+
const contract = require("@nibbstack/erc721/abi/NFTokenEnumerable.json");
7171
console.log(contract);
7272
```
7373

hardhat.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
tests: './src/tests/*'
1919
},
2020
abiExporter: {
21-
path: './data/abi',
21+
path: './abi',
2222
clear: true,
2323
flat: true,
2424
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nibbstack/erc721",
3-
"version": "2.5.1",
3+
"version": "2.6.0",
44
"description": "Reference implementation of the ERC-721 non-fungible token standard.",
55
"scripts": {
66
"test": "npx hardhat test",

0 commit comments

Comments
 (0)