Skip to content

Commit

Permalink
Merge pull request #120 from HausDAO/fix/imports
Browse files Browse the repository at this point in the history
Fix imports
  • Loading branch information
santteegt authored Jan 3, 2024
2 parents b69c4e3 + e0fb0fd commit 1af2763
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "@daohaus/baal-contracts",
"version": "1.2.14",
"version": "1.2.15",
"description": "Lo, also it is the time of His rain.",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "./dist/src/index.js",
"./hardhat": "./dist/src/hardhat/index.js"
},
"lockfileVersion": 2,
"files": [
"/contracts/**/*.sol",
Expand Down
5 changes: 5 additions & 0 deletions src/hardhat/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export * from "../signDelegation";
export * from "../signPermit";
export * from "../signVote";
export * from "../util";
export * from "../../test/utils";
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@ export { MultiSend__factory as MultiSendFactory } from "./types/factories/@gnosi
export { IBaalToken } from "./types/contracts/interfaces/IBaalToken";
export { IBaal } from "./types/contracts/interfaces/IBaal";

export * from "./signDelegation";
export * from "./signPermit";
export * from "./signVote";
export * from "./util";
export * from "./addresses/setup";
export { deployments as DEPLOYMENT_ADDRESSES } from "./addresses/deployed";
export * from "../test/utils";
6 changes: 4 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"strictNullChecks": true,
"target": "es6"
},
"exclude": ["node_modules"],
"files": ["src/index.ts"],
"files": [
"src/index.ts",
"src/hardhat/index.ts"
],
"include": [
"hardhat.config.ts",
"src/types/contracts/Baal.ts",
Expand Down

0 comments on commit 1af2763

Please sign in to comment.