Bump MetaMask dependencies #508
Annotations
11 errors
|
Run yarn build:
src/block-cache.ts#L158
Type 'JsonRpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), Json>' is not assignable to type 'never'.
|
Run yarn build:
src/block-tracker-inspector.ts#L73
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").Json>' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").Json>'.
|
Run yarn build:
src/fetch.ts#L61
Type 'JsonRpcRequest<JsonRpcParams>' is not assignable to type 'PayloadWithOrigin'.
|
Run yarn build:
src/inflight-cache.ts#L26
Type 'JsonRpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), Json>' is not assignable to type 'never'.
|
Run yarn build:
src/inflight-cache.ts#L50
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils/dist/json").Json>' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").Json>'.
|
Run yarn build:
src/inflight-cache.ts#L68
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/json-rpc-engine/node_modules/@metamask/utils/dist/json").Json>' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").PendingJsonRpcResponse<import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/utils/dist/json").Json>'.
|
Run yarn build:
src/wallet.ts#L106
Argument of type '(req: JsonRpcRequest<JsonRpcParams>, res: PendingJsonRpcResponse<Json>) => Promise<void>' is not assignable to parameter of type 'AsyncJsonrpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), string | number | boolean | Json[] | { [prop: string]: Json; } | null>'.
|
Run yarn build:
src/wallet.ts#L107
Argument of type '(req: JsonRpcRequest<JsonRpcParams>, res: PendingJsonRpcResponse<Json>) => Promise<void>' is not assignable to parameter of type 'AsyncJsonrpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), string | number | boolean | Json[] | { [prop: string]: Json; } | null>'.
|
Run yarn build:
src/wallet.ts#L109
Argument of type '(req: JsonRpcRequest<JsonRpcParams>, res: PendingJsonRpcResponse<Json>) => Promise<void>' is not assignable to parameter of type 'AsyncJsonrpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), string | number | boolean | Json[] | { [prop: string]: Json; } | null>'.
|
Run yarn build:
src/wallet.ts#L110
Argument of type '(req: JsonRpcRequest<JsonRpcParams>, res: PendingJsonRpcResponse<Json>) => Promise<void>' is not assignable to parameter of type 'AsyncJsonrpcMiddleware<(Record<string, Json> & ExactOptionalGuard) | (Record<string, Json> & ExactOptionalGuard & Json[]) | (Json[] & ExactOptionalGuard & Record<string, Json>) | (Json[] & ExactOptionalGuard & Json[]), string | number | boolean | Json[] | { [prop: string]: Json; } | null>'.
|
Loading