Skip to content

Commit

Permalink
docs: Update method middleware placement comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed May 30, 2024
1 parent e3b58a8 commit 03017e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { handlers as localHandlers, legacyHandlers } from './handlers';

const allHandlers = [...localHandlers, ...permissionRpcMethods.handlers];

// The primary home of RPC method implementations in MetaMask. MUST succeed
// our permissioning logic in the JSON-RPC middleware pipeline.
// The primary home of RPC method implementations in MetaMask. MUST be subsequent
// to our permissioning logic in the JSON-RPC middleware pipeline.
export const createMethodMiddleware = makeMethodMiddlewareMaker(allHandlers);

// A collection of RPC method implementations that, for legacy reasons, MAY precede
Expand Down

0 comments on commit 03017e7

Please sign in to comment.