diff --git a/packages/governance/package.json b/packages/governance/package.json index 5823cdc340e..f8c77fc4b3b 100644 --- a/packages/governance/package.json +++ b/packages/governance/package.json @@ -1,9 +1,9 @@ { "name": "@agoric/governance", - "version": "0.2.3", + "version": "0.2.4", "description": "Core governance support", "type": "module", - "main": "src/paramManager.js", + "main": "src/index.js", "engines": { "node": ">=14.15.0" }, @@ -52,6 +52,7 @@ }, "files": [ "src/", + "exported.js", "NEWS.md" ], "ava": { diff --git a/packages/governance/src/index.js b/packages/governance/src/index.js index b418b12b438..f026fdc57f9 100644 --- a/packages/governance/src/index.js +++ b/packages/governance/src/index.js @@ -1,5 +1,7 @@ // @ts-check +import './types.js'; + export { ChoiceMethod, ElectionType, @@ -23,7 +25,7 @@ export { assertBallotConcernsQuestion, } from './governParam.js'; -export { ParamType, assertType } from './paramManager.js'; +export { ParamType, buildParamManager, assertType } from './paramManager.js'; export { assertContractGovernance,