Skip to content

Commit

Permalink
deps: eth-block-tracker@^8.0.0 -> @metamask/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 23, 2024
1 parent 7604ffb commit 7ee7e75
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/eth-block-tracker": "9.0.0",
"@metamask/eth-json-rpc-provider": "^2.1.0",
"@metamask/eth-sig-util": "^7.0.0",
"@metamask/json-rpc-engine": "^7.1.1",
"@metamask/rpc-errors": "^6.0.0",
"@metamask/utils": "^8.1.0",
"eth-block-tracker": "^8.0.0",
"klona": "^2.0.6",
"pify": "^5.0.0",
"safe-stable-stringify": "^2.4.3"
Expand Down
2 changes: 1 addition & 1 deletion src/block-cache.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PollingBlockTracker } from '@metamask/eth-block-tracker';
import { providerFromEngine } from '@metamask/eth-json-rpc-provider';
import { JsonRpcEngine } from '@metamask/json-rpc-engine';
import { PollingBlockTracker } from 'eth-block-tracker';
import pify from 'pify';

import { createBlockCacheMiddleware } from '.';
Expand Down
2 changes: 1 addition & 1 deletion src/block-cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PollingBlockTracker } from '@metamask/eth-block-tracker';
import { createAsyncMiddleware } from '@metamask/json-rpc-engine';
import type { Json, JsonRpcParams, JsonRpcRequest } from '@metamask/utils';
import type { PollingBlockTracker } from 'eth-block-tracker';

import { projectLogger, createModuleLogger } from './logging-utils';
import type {
Expand Down
2 changes: 1 addition & 1 deletion src/block-ref-rewrite.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { PollingBlockTracker } from '@metamask/eth-block-tracker';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { createAsyncMiddleware } from '@metamask/json-rpc-engine';
import type { Json, JsonRpcParams } from '@metamask/utils';
import type { PollingBlockTracker } from 'eth-block-tracker';

import { blockTagParamIndex } from './utils/cache';

Expand Down
2 changes: 1 addition & 1 deletion src/block-ref.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PollingBlockTracker } from '@metamask/eth-block-tracker';
import { providerFromEngine } from '@metamask/eth-json-rpc-provider';
import type { SafeEventEmitterProvider } from '@metamask/eth-json-rpc-provider';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { JsonRpcEngine } from '@metamask/json-rpc-engine';
import { PollingBlockTracker } from 'eth-block-tracker';

import { createBlockRefMiddleware } from '.';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/block-ref.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { PollingBlockTracker } from '@metamask/eth-block-tracker';
import type { SafeEventEmitterProvider } from '@metamask/eth-json-rpc-provider';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { createAsyncMiddleware } from '@metamask/json-rpc-engine';
Expand All @@ -6,7 +7,6 @@ import type {
JsonRpcParams,
PendingJsonRpcResponse,
} from '@metamask/utils';
import type { PollingBlockTracker } from 'eth-block-tracker';
import { klona } from 'klona/full';
import pify from 'pify';

Expand Down
2 changes: 1 addition & 1 deletion src/block-tracker-inspector.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { PollingBlockTracker } from '@metamask/eth-block-tracker';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { createAsyncMiddleware } from '@metamask/json-rpc-engine';
import type {
Json,
JsonRpcParams,
PendingJsonRpcResponse,
} from '@metamask/utils';
import type { PollingBlockTracker } from 'eth-block-tracker';

import { projectLogger, createModuleLogger } from './logging-utils';

Expand Down
2 changes: 1 addition & 1 deletion src/retryOnEmpty.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { PollingBlockTracker } from '@metamask/eth-block-tracker';
import { providerFromEngine } from '@metamask/eth-json-rpc-provider';
import type { SafeEventEmitterProvider } from '@metamask/eth-json-rpc-provider';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { JsonRpcEngine } from '@metamask/json-rpc-engine';
import { errorCodes, rpcErrors } from '@metamask/rpc-errors';
import type { Json, JsonRpcParams, JsonRpcRequest } from '@metamask/utils';
import { PollingBlockTracker } from 'eth-block-tracker';

import { createRetryOnEmptyMiddleware } from '.';
import type { ProviderRequestStub } from '../test/util/helpers';
Expand Down
2 changes: 1 addition & 1 deletion src/retryOnEmpty.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { PollingBlockTracker } from '@metamask/eth-block-tracker';
import type { SafeEventEmitterProvider } from '@metamask/eth-json-rpc-provider';
import type { JsonRpcMiddleware } from '@metamask/json-rpc-engine';
import { createAsyncMiddleware } from '@metamask/json-rpc-engine';
Expand All @@ -6,7 +7,6 @@ import type {
JsonRpcParams,
PendingJsonRpcResponse,
} from '@metamask/utils';
import type { PollingBlockTracker } from 'eth-block-tracker';
import { klona } from 'klona/full';
import pify from 'pify';

Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,19 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-block-tracker@npm:9.0.0":
version: 9.0.0
resolution: "@metamask/eth-block-tracker@npm:9.0.0"
dependencies:
"@metamask/eth-json-rpc-provider": ^2.1.0
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.1.0
json-rpc-random-id: ^1.0.1
pify: ^5.0.0
checksum: 1069ca945d04a485ca3b92cb6f2744793be9375876c4c995405ee2736e8ca68aba8ecb4a422d40341d5fa708044be4483cbd78ae87ae383c25f3214321322ad9
languageName: node
linkType: hard

"@metamask/eth-json-rpc-middleware@workspace:.":
version: 0.0.0-use.local
resolution: "@metamask/eth-json-rpc-middleware@workspace:."
Expand All @@ -939,6 +952,7 @@ __metadata:
"@metamask/eslint-config-jest": ^12.1.0
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/eth-block-tracker": 9.0.0
"@metamask/eth-json-rpc-provider": ^2.1.0
"@metamask/eth-sig-util": ^7.0.0
"@metamask/json-rpc-engine": ^7.1.1
Expand All @@ -958,7 +972,6 @@ __metadata:
eslint-plugin-n: ^15.7.0
eslint-plugin-prettier: ^4.2.1
eslint-plugin-promise: ^6.1.1
eth-block-tracker: ^8.0.0
jest: ^27.5.1
klona: ^2.0.6
pify: ^5.0.0
Expand Down Expand Up @@ -3046,19 +3059,6 @@ __metadata:
languageName: node
linkType: hard

"eth-block-tracker@npm:^8.0.0":
version: 8.0.0
resolution: "eth-block-tracker@npm:8.0.0"
dependencies:
"@metamask/eth-json-rpc-provider": ^2.1.0
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.1.0
json-rpc-random-id: ^1.0.1
pify: ^5.0.0
checksum: 3416c2ee653f81d1f71f3a9b80e04837fb516494f64ded45c053dfc24c6c6ce8dac7e5b8376cd57f52838f43a93d20a8e17d4d875e50d1e4c267543ffe0e6ad8
languageName: node
linkType: hard

"ethereum-cryptography@npm:^2.0.0, ethereum-cryptography@npm:^2.1.2":
version: 2.1.2
resolution: "ethereum-cryptography@npm:2.1.2"
Expand Down

0 comments on commit 7ee7e75

Please sign in to comment.