UNPKG

@metamask/eip-5792-middleware

Version:

Implements the JSON-RPC methods for sending multiple calls from the user's wallet, and checking their status, as referenced in EIP-5792

1 lines 1.19 kB
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,qCAAiC;AAC5D,OAAO,EAAE,cAAc,EAAE,mCAA+B;AACxD,OAAO,EACL,eAAe,EAEhB,oCAAgC;AACjC,OAAO,EAAE,eAAe,EAAE,uCAAmC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,4CAAwC;AACvE,OAAO,EAAE,qBAAqB,EAAE,6CAAyC","sourcesContent":["export type {\n ProcessSendCallsRequest,\n ProcessSendCallsHooks,\n} from './hooks/processSendCalls';\nexport { processSendCalls } from './hooks/processSendCalls';\nexport { getCallsStatus } from './hooks/getCallsStatus';\nexport {\n getCapabilities,\n type GetCapabilitiesHooks,\n} from './hooks/getCapabilities';\nexport { walletSendCalls } from './methods/wallet_sendCalls';\nexport { walletGetCallsStatus } from './methods/wallet_getCallsStatus';\nexport { walletGetCapabilities } from './methods/wallet_getCapabilities';\nexport type { EIP5792Messenger } from './types';\n\nexport type {\n GetCallsStatusHook,\n GetCallsStatusParams,\n GetCallsStatusResult,\n GetCapabilitiesHook,\n GetCapabilitiesParams,\n GetCapabilitiesResult,\n ProcessSendCallsHook,\n SendCallsPayload as SendCalls,\n SendCallsParams,\n SendCallsResult,\n} from './types';\n"]}