This repository was archived by the owner on Mar 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {
25
25
} from 'web3-types' ;
26
26
import { ConfigHardforkMismatchError , ConfigChainMismatchError } from 'web3-errors' ;
27
27
import { isNullish , toHex } from 'web3-utils' ;
28
- import { ValidationSchemaInput , Schema } from 'web3-validator' ;
28
+ import { ValidationSchemaInput } from 'web3-validator' ;
29
29
import { TransactionTypeParser } from './types.js' ;
30
30
// eslint-disable-next-line import/no-cycle
31
31
import { TransactionBuilder } from './web3_context.js' ;
@@ -523,7 +523,7 @@ export abstract class Web3Config
523
523
this . config . transactionTypeParser = val ;
524
524
}
525
525
526
- public get customTransactionSchema ( ) {
526
+ public get customTransactionSchema ( ) : ValidationSchemaInput | undefined {
527
527
return this . config . customTransactionSchema ;
528
528
}
529
529
Original file line number Diff line number Diff line change @@ -145,10 +145,10 @@ export class Web3Context<
145
145
this . _requestManager =
146
146
requestManager ??
147
147
new Web3RequestManager < API > (
148
- config ,
149
148
provider ,
150
149
config ?. enableExperimentalFeatures ?. useSubscriptionWhenCheckingBlockTimeout ,
151
150
requestManagerMiddleware ,
151
+ config ,
152
152
) ;
153
153
154
154
if ( subscriptionManager ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ import {
53
53
} from './utils.js' ;
54
54
import { Web3EventEmitter } from './web3_event_emitter.js' ;
55
55
import { RequestManagerMiddleware } from './types.js' ;
56
- import { Web3ConfigEvent , Web3ConfigOptions } from './web3_config.js' ;
56
+ import { Web3ConfigOptions } from './web3_config.js' ;
57
57
58
58
export enum Web3RequestManagerEvent {
59
59
PROVIDER_CHANGED = 'PROVIDER_CHANGED' ,
You can’t perform that action at this time.
0 commit comments