Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/json-rpc-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- `JsonRpcEngineV2` ([#6176](https://github.com/MetaMask/core/pull/6176))
- `JsonRpcEngineV2` ([#6176](https://github.com/MetaMask/core/pull/6176), [#6971](https://github.com/MetaMask/core/pull/6971))
- This is a complete rewrite of `JsonRpcEngine`, intended to replace the original implementation.
See the readme for details.

Expand Down
9 changes: 5 additions & 4 deletions packages/json-rpc-engine/src/v2/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ import * as allExports from '.';

describe('@metamask/json-rpc-engine/v2', () => {
it('has expected JavaScript exports', () => {
expect(Object.keys(allExports)).toMatchInlineSnapshot(`
expect(Object.keys(allExports).sort()).toMatchInlineSnapshot(`
Array [
"JsonRpcEngineError",
"JsonRpcEngineV2",
"JsonRpcServer",
"MiddlewareContext",
"asLegacyMiddleware",
"getUniqueId",
"JsonRpcServer",
"isNotification",
"isRequest",
"JsonRpcEngineError",
"JsonRpcEngineV2",
]
`);
});
Expand Down
3 changes: 2 additions & 1 deletion packages/json-rpc-engine/src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ export { asLegacyMiddleware } from './asLegacyMiddleware';
export { getUniqueId } from '../getUniqueId';
export * from './JsonRpcEngineV2';
export { JsonRpcServer } from './JsonRpcServer';
export type { MiddlewareContext, EmptyContext } from './MiddlewareContext';
export { MiddlewareContext } from './MiddlewareContext';
export type { EmptyContext } from './MiddlewareContext';
export { isNotification, isRequest, JsonRpcEngineError } from './utils';
export type {
Json,
Expand Down
Loading