govern icon indicating copy to clipboard operation
govern copied to clipboard

Givern.js: createDao not exported

Open giocasu opened this issue 2 years ago • 0 comments

Hi, I installed govern.js "1.0.0-beta.12" ( yarn add @aragon/govern ) and tried to execute a simple nodejs script wih createDao, but it seems the function is not exported (or not exist). The following snippet

import { createDao } from "@aragon/govern";
(function doSomething() {
	// ...
})();

gives me

index.mjs:1
import { createDao } from "@aragon/govern";
         ^^^^^^^^^
SyntaxError: Named export 'createDao' not found.

Is there an update release I should use? Thanks

Giovanni

giocasu avatar Apr 28 '22 09:04 giocasu