watcher-ts/packages/util/src/index.ts
Nabarun Gogoi dc06ada7c4
Add validation methods for watcher config (#425)
* Add validation for config file

* Add support for websocket endpoints to be checked for contract deployment

* Add flag to toggle validation

* Update log message for paid rpc method validation

* Update log message for validation

* Rename enableValidation to enableConfigValidation

* Check deployment only if contract address is in a valid format

* Update httpValidateEndpoint method to check if endpoint is up instead of response as ok

* Update log messages

* Update log messages

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
2023-10-16 16:39:21 +05:30

30 lines
769 B
TypeScript

//
// Copyright 2022 Vulcanize, Inc.
//
export * from './config';
export * from './database';
export * from './job-queue';
export * from './constants';
export * from './misc';
export * from './fill';
export * from './events';
export * from './types';
export * from './indexer';
export * from './job-runner';
export * from './state-helper';
export * from './index-block';
export * from './metrics';
export * from './gql-metrics';
export * from './common';
export * from './server';
export * from './graph/graph-decimal';
export * from './graph/database';
export * from './graph/utils';
export * from './graph/state-utils';
export * from './graph/types';
export * from './payments';
export * from './eth';
export * from './consensus';
export * from './validate-config';