File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed
src/plugins/pluginManager Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @daostack/arc.js" ,
3- "version" : " 2.0.0-experimental.32 " ,
3+ "version" : " 2.0.0-experimental.33 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "main" : " dist/lib/index.js" ,
Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ echo "Creating a new release"
44npm ci
55package_version=$( cat package.json | jq -r ' .version' )
66
7- # publish to npm
8- echo " publish to npm"
9- npm publish --access public
10-
117# tag on github
128echo " create tag ${package_version} "
13- git ci -a -m " Package version ${package_version} "
9+ git ci -a -m " Package version ${package_version} " --allow-empty
1410git tag -a $package_version -m " Release of version $package_version "
1511git push --tags
1612
13+ # publish to npm
14+ echo " publish to npm"
15+ npm publish --access public
16+
1717# done
1818echo " Done"
1919echo " Please update the releases tab here: https://github.com/daostack/arc.js/releases"
Original file line number Diff line number Diff line change 1- import { Interface } from 'ethers/utils'
1+ // we cannot import from 'ethers/utils` as this will run into a compile error in react-native
2+ import { utils } from 'ethers'
23import gql from 'graphql-tag'
34import {
45 Address ,
@@ -138,15 +139,15 @@ export class PluginManagerPlugin extends ProposalPlugin<
138139
139140 if ( options . add ) {
140141
141- let abiInterface : Interface
142+ let abiInterface : utils . Interface
142143
143144 if ( options . add . pluginName === 'Competition' ) {
144- abiInterface = new Interface ( this . context . getABI ( {
145+ abiInterface = new utils . Interface ( this . context . getABI ( {
145146 abiName : 'ContributionRewardExt' ,
146147 version : LATEST_ARC_VERSION
147148 } ) )
148149 } else {
149- abiInterface = new Interface ( this . context . getABI ( {
150+ abiInterface = new utils . Interface ( this . context . getABI ( {
150151 abiName : options . add . pluginName ,
151152 version : LATEST_ARC_VERSION
152153 } ) )
You can’t perform that action at this time.
0 commit comments