Skip to content

Commit

Permalink
colony-js: Export popular contract factories
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed Nov 2, 2023
1 parent 8dc2ee1 commit f8cd248
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/colony-js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
export type { ContractReceipt } from 'ethers';

// Attention: always adjust to newest versions!
export const LATEST_TAG = 'glwss4';
export { IColony__factory as ColonyFactory } from './contracts/IColony/14/index.js';

export * from '@colony/core';
export * from '@colony/tokens';
export { ClientType as ClientTypeTokens } from '@colony/tokens';

export { default as getColonyNetworkClient } from './clients/ColonyNetworkClient.js';
export { IColonyNetwork__factory as ColonyNetworkFactory } from './contracts/index.js';

export * from './constants.js';
export { ClientType } from './constants.js';
Expand All @@ -18,9 +19,12 @@ export * from './types.js';
export * from './clients/Core/exports.js';
export * from './clients/Extensions/exports.js';

// Export some types
export type {
ColonyNetworkClient,
NetworkClientOptions,
} from './clients/ColonyNetworkClient.js';

export { IBasicMetaTransaction } from './contracts/index.js';
export type { ContractReceipt } from 'ethers';

export type { IBasicMetaTransaction } from './contracts/index.js';

0 comments on commit f8cd248

Please sign in to comment.