Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitcoin-wallet-snap-monorepo",
"version": "1.7.0",
"version": "1.8.0",
"private": true,
"description": "",
"homepage": "https://github.com/MetaMask/snap-bitcoin-wallet#readme",
Expand Down
6 changes: 1 addition & 5 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snap-bitcoin-wallet.git"
},
"source": {
"shasum": "an5d3f7caF4hiwanFK329pfEXbsZVO5hvsnudh6cBq8=",
"shasum": "ZJWGWIUjaU7vre7bgrTSY68GMKyiB9RNVf6GHuksC4Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand All @@ -31,10 +31,6 @@
},
"initialPermissions": {
"endowment:webassembly": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
},
"endowment:keyring": {},
"snap_getBip32Entropy": [
{
Expand Down
4 changes: 0 additions & 4 deletions packages/snap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type {
OnAssetsConversionHandler,
OnAssetsLookupHandler,
OnCronjobHandler,
OnRpcRequestHandler,
OnKeyringRequestHandler,
OnUserInputHandler,
OnAssetHistoricalPriceHandler,
Expand Down Expand Up @@ -112,9 +111,6 @@ const assetsHandler = new AssetsHandler(
export const onCronjob: OnCronjobHandler = async ({ request }) =>
middleware.handle(async () => cronHandler.route(request));

export const onRpcRequest: OnRpcRequestHandler = async ({ origin, request }) =>
middleware.handle(async () => rpcHandler.route(origin, request));

export const onClientRequest: OnClientRequestHandler = async ({ request }) =>
middleware.handle(async () => rpcHandler.route('metamask', request));

Expand Down