update abi-gen with new method interfaces (#2325)
* update abi-gen with new method interfaces * wip: get all packages to build * wip: get all packages to build * Fix two contract wrapper calls * Export necessary types part of the contract wrapper public interfaces * Revive and fix wrapper_unit_tests * Remove duplicate type * Fix lib_exchange_rich_error_decoder tests * Fix remaining test failures in contracts-* packages * Prettier fixes * remove transactionHelper * lint and update changelogs * Fix prettier * Revert changes to reference docs * Add back changelog already published and add revert changelog entry * Add missing CHANGELOG entries * Add missing comma * Update mesh-rpc-client dep * Update Mesh RPC logic in @0x/orderbook to v6.0.1-beta * Align package versions
This commit is contained in:
@@ -34,6 +34,7 @@ export const docGenConfigs: DocGenConfigs = {
|
||||
'Web3WrapperErrors',
|
||||
'AssetBuyerError',
|
||||
'ContractError',
|
||||
'SubscriptionErrors',
|
||||
'TypedDataError',
|
||||
'SwapQuoterError',
|
||||
'SwapQuoteGetOutputOpts',
|
||||
@@ -45,6 +46,11 @@ export const docGenConfigs: DocGenConfigs = {
|
||||
'IndexedFilterValues',
|
||||
'OrderInfo',
|
||||
'TransactionOpts',
|
||||
'ContractEvent',
|
||||
'SendTransactionOpts',
|
||||
'AwaitTransactionOpts',
|
||||
'ContractFunctionObj',
|
||||
'ContractTxFunctionObj',
|
||||
'EventCallback ',
|
||||
],
|
||||
// Some libraries only export types. In those cases, we cannot check if the exported types are part of the
|
||||
|
@@ -427,9 +427,9 @@ export class DocGenerateUtils {
|
||||
throw new Error(
|
||||
`GENERATE_DOCS: WARNING - ${
|
||||
this._packageName
|
||||
} is exporting one of ${innerExportItems} which is
|
||||
itself exported from an external package. To fix this, export the external dependency directly,
|
||||
not indirectly through ${innerExportPath}.`,
|
||||
} is exporting one of ${innerExportItems} from a package which is itself exporting from another\
|
||||
internal package ${innerExportPath}. To fix this, export the dependency directly from ${innerExportPath}\
|
||||
instead of the intermediate package.`,
|
||||
);
|
||||
} else {
|
||||
const absoluteSrcPath = path.join(pathIfExists, 'src', `${innerExportPath}.ts`);
|
||||
|
Reference in New Issue
Block a user