Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
c6e3040
Adding code to capture metrics for uniswap shield
jpuri Oct 14, 2025
ac4116b
update
jpuri Oct 16, 2025
6d9b5bd
merge
jpuri Oct 16, 2025
4f5a040
update
jpuri Oct 16, 2025
df5310c
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
69bf689
updates
jpuri Oct 16, 2025
a20fbc6
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
097da15
updates
jpuri Oct 16, 2025
a5a9c8d
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
85b196f
update
jpuri Oct 16, 2025
ed0efc0
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
c7f4536
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
431e2c2
update
jpuri Oct 16, 2025
20be473
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
78488b9
update
jpuri Oct 16, 2025
c5177d1
update
jpuri Oct 16, 2025
bec49c0
update
jpuri Oct 16, 2025
dddb6bc
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
68908f3
update
jpuri Oct 16, 2025
761438f
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
cb5ecd7
update
jpuri Oct 16, 2025
2bc194b
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
e8b0252
update
jpuri Oct 16, 2025
54ce7ff
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
a7a0225
update
jpuri Oct 16, 2025
0deb589
Merge branch 'main' into uni_shield
jpuri Oct 16, 2025
d32985d
update
jpuri Oct 16, 2025
e8c1115
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 16, 2025
b07c21a
update
jpuri Oct 17, 2025
7333da1
Merge branch 'main' into uni_shield
jpuri Oct 17, 2025
24a64ca
update
jpuri Oct 17, 2025
94f2e93
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 17, 2025
35bd6ca
update
jpuri Oct 17, 2025
79b7ca9
update
jpuri Oct 17, 2025
1274e71
update
jpuri Oct 17, 2025
42c9ecd
update
jpuri Oct 17, 2025
366dda6
update
jpuri Oct 17, 2025
a6c074c
Merge branch 'main' into uni_shield
jpuri Oct 17, 2025
9bd2d91
update
jpuri Oct 17, 2025
f9ef3e0
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 17, 2025
8dba70b
update
jpuri Oct 17, 2025
08cd03e
Merge branch 'main' of https://github.com/MetaMask/metamask-extension…
jpuri Oct 21, 2025
fb5c887
update
jpuri Oct 21, 2025
a0dbac7
update
jpuri Oct 21, 2025
6c617e4
Merge branch 'main' into uni_shield
jpuri Oct 21, 2025
42e31e5
update
jpuri Oct 21, 2025
5a31e8d
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 21, 2025
21ee23d
update
jpuri Oct 21, 2025
f134f56
Merge branch 'main' into uni_shield
jpuri Oct 21, 2025
67b8bb0
update
jpuri Oct 21, 2025
779a7e0
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 21, 2025
2922845
update
jpuri Oct 21, 2025
7f67a40
update
jpuri Oct 22, 2025
50caf46
update
jpuri Oct 22, 2025
8d8aa2a
update
jpuri Oct 22, 2025
cc5e52e
update
jpuri Oct 22, 2025
b86cad0
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
f6b4d4a
update
jpuri Oct 22, 2025
15207ca
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
03d568e
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
97c397a
update
jpuri Oct 22, 2025
f5924da
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
96cbeb9
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
4326be8
update
jpuri Oct 22, 2025
68dac2c
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
cd15e6a
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
4f7553e
Update LavaMoat policies
metamaskbot Oct 22, 2025
d7db20a
update
jpuri Oct 22, 2025
ca1d62b
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
e3fbea9
update
jpuri Oct 22, 2025
b355895
update
jpuri Oct 22, 2025
460780a
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
69432fd
update
jpuri Oct 22, 2025
d0917c0
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
5007d58
update
jpuri Oct 22, 2025
1998e68
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
1ee041b
update
jpuri Oct 22, 2025
d262137
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
4a27994
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
bb9b1ee
update
jpuri Oct 22, 2025
3b1faba
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
c3bbc5a
update
jpuri Oct 22, 2025
795bba4
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
676890e
update
jpuri Oct 22, 2025
8ebe920
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 22, 2025
0299fdf
update
jpuri Oct 22, 2025
e9c778e
update
jpuri Oct 22, 2025
10d58c5
Merge branch 'main' into uni_shield
jpuri Oct 22, 2025
3521041
update
jpuri Oct 23, 2025
e1e8086
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 23, 2025
1f732ec
Merge branch 'main' into uni_shield
jpuri Oct 23, 2025
595cb61
update
jpuri Oct 23, 2025
d40be63
Merge branch 'uni_shield' of https://github.com/MetaMask/metamask-ext…
jpuri Oct 23, 2025
629b057
update
jpuri Oct 23, 2025
9d968fa
update
jpuri Oct 23, 2025
920c00c
update
jpuri Oct 23, 2025
46af97e
update
jpuri Oct 23, 2025
65d2601
update
jpuri Oct 23, 2025
6421ab6
update
jpuri Oct 23, 2025
8bd2c30
update
jpuri Oct 23, 2025
6790dcf
update
jpuri Oct 23, 2025
3a2e9a5
update
jpuri Oct 23, 2025
e8c3a02
update
jpuri Oct 23, 2025
0e54e49
update
jpuri Oct 23, 2025
317a257
update
jpuri Oct 23, 2025
3431a01
update
jpuri Oct 23, 2025
b630d7b
update
jpuri Oct 23, 2025
96f1d79
update
jpuri Oct 23, 2025
68431ba
update
jpuri Oct 23, 2025
f6e7f9b
update
jpuri Oct 23, 2025
e4a630f
update
jpuri Oct 23, 2025
6da443b
Merge branch 'main' into uni_shield
jpuri Oct 23, 2025
7e2621a
Merge branch 'main' into uni_shield
jpuri Oct 23, 2025
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
4 changes: 4 additions & 0 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2993,6 +2993,10 @@ export default class MetamaskController extends EventEmitter {
this.controllerMessenger,
`${BRIDGE_CONTROLLER_NAME}:${BridgeBackgroundAction.TRACK_METAMETRICS_EVENT}`,
),
[BridgeBackgroundAction.FETCH_QUOTES]: this.controllerMessenger.call.bind(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would go in the bridge-controller-init file in the api property.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we avoid adding to the legacy MetamaskController, but for the sake of time and codeowner review, not an urgent one.

this.controllerMessenger,
`${BRIDGE_CONTROLLER_NAME}:${BridgeBackgroundAction.FETCH_QUOTES}`,
),

// Bridge Tx submission
[BridgeStatusAction.SUBMIT_TX]: this.controllerMessenger.call.bind(
Expand Down
173 changes: 173 additions & 0 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2278,6 +2278,179 @@
"@segment/loosely-validate-event>join-component": true
}
},
"@sentry/browser>@sentry-internal/browser-utils": {
"globals": {
"PerformanceEventTiming.prototype": true,
"PerformanceObserver": true,
"XMLHttpRequest.prototype": true,
"__SENTRY_DEBUG__": true,
"addEventListener": true,
"clearTimeout": true,
"performance": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/feedback": {
"globals": {
"FormData": true,
"HTMLFormElement": true,
"__SENTRY_DEBUG__": true,
"cancelAnimationFrame": true,
"clearTimeout": true,
"document.createElement": true,
"document.createElementNS": true,
"document.createTextNode": true,
"isSecureContext": true,
"requestAnimationFrame": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/replay-canvas": {
"globals": {
"Blob": true,
"HTMLCanvasElement": true,
"HTMLImageElement": true,
"ImageData": true,
"URL.createObjectURL": true,
"WeakRef": true,
"Worker": true,
"cancelAnimationFrame": true,
"console.error": true,
"createImageBitmap": true,
"document": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/replay": {
"globals": {
"Blob": true,
"CSSConditionRule": true,
"CSSGroupingRule": true,
"CSSMediaRule": true,
"CSSRule": true,
"CSSSupportsRule": true,
"Document": true,
"DragEvent": true,
"Element": true,
"FormData": true,
"HTMLElement": true,
"HTMLFormElement": true,
"Headers": true,
"MouseEvent": true,
"MutationObserver": true,
"Node.DOCUMENT_FRAGMENT_NODE": true,
"Node.prototype.contains": true,
"PointerEvent": true,
"TextEncoder": true,
"URL": true,
"URLSearchParams": true,
"Worker": true,
"__RRWEB_EXCLUDE_IFRAME__": true,
"__RRWEB_EXCLUDE_SHADOW_DOM__": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_EXCLUDE_REPLAY_WORKER__": true,
"__rrMutationObserver": true,
"addEventListener": true,
"clearTimeout": true,
"console.debug": true,
"console.error": true,
"console.warn": true,
"customElements.get": true,
"document": true,
"innerHeight": true,
"innerWidth": true,
"location.href": true,
"location.origin": true,
"parent": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry-internal/browser-utils": true,
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser": {
"globals": {
"PerformanceObserver.supportedEntryTypes": true,
"Request": true,
"URL": true,
"XMLHttpRequest.prototype": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_RELEASE__": true,
"addEventListener": true,
"console.error": true,
"indexedDB.open": true,
"performance.timeOrigin": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry-internal/browser-utils": true,
"@sentry/browser>@sentry-internal/feedback": true,
"@sentry/browser>@sentry-internal/replay-canvas": true,
"@sentry/browser>@sentry-internal/replay": true,
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry/core": {
"globals": {
"Headers": true,
"Request": true,
"URL": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_TRACING__": true,
"clearInterval": true,
"clearTimeout": true,
"console.log": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@sentry/utils": true
}
},
"@sentry/utils": {
"globals": {
"CustomEvent": true,
"DOMError": true,
"DOMException": true,
"EdgeRuntime": true,
"Element": true,
"ErrorEvent": true,
"Event": true,
"HTMLElement": true,
"Headers": true,
"Request": true,
"Response": true,
"TextDecoder": true,
"TextEncoder": true,
"URL": true,
"__SENTRY_BROWSER_BUNDLE__": true,
"__SENTRY_DEBUG__": true,
"clearTimeout": true,
"console.error": true,
"document": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"process": true
}
},
"@solana/addresses": {
"globals": {
"Intl.Collator": true,
Expand Down
173 changes: 173 additions & 0 deletions lavamoat/browserify/experimental/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2278,6 +2278,179 @@
"@segment/loosely-validate-event>join-component": true
}
},
"@sentry/browser>@sentry-internal/browser-utils": {
"globals": {
"PerformanceEventTiming.prototype": true,
"PerformanceObserver": true,
"XMLHttpRequest.prototype": true,
"__SENTRY_DEBUG__": true,
"addEventListener": true,
"clearTimeout": true,
"performance": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/feedback": {
"globals": {
"FormData": true,
"HTMLFormElement": true,
"__SENTRY_DEBUG__": true,
"cancelAnimationFrame": true,
"clearTimeout": true,
"document.createElement": true,
"document.createElementNS": true,
"document.createTextNode": true,
"isSecureContext": true,
"requestAnimationFrame": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/replay-canvas": {
"globals": {
"Blob": true,
"HTMLCanvasElement": true,
"HTMLImageElement": true,
"ImageData": true,
"URL.createObjectURL": true,
"WeakRef": true,
"Worker": true,
"cancelAnimationFrame": true,
"console.error": true,
"createImageBitmap": true,
"document": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/replay": {
"globals": {
"Blob": true,
"CSSConditionRule": true,
"CSSGroupingRule": true,
"CSSMediaRule": true,
"CSSRule": true,
"CSSSupportsRule": true,
"Document": true,
"DragEvent": true,
"Element": true,
"FormData": true,
"HTMLElement": true,
"HTMLFormElement": true,
"Headers": true,
"MouseEvent": true,
"MutationObserver": true,
"Node.DOCUMENT_FRAGMENT_NODE": true,
"Node.prototype.contains": true,
"PointerEvent": true,
"TextEncoder": true,
"URL": true,
"URLSearchParams": true,
"Worker": true,
"__RRWEB_EXCLUDE_IFRAME__": true,
"__RRWEB_EXCLUDE_SHADOW_DOM__": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_EXCLUDE_REPLAY_WORKER__": true,
"__rrMutationObserver": true,
"addEventListener": true,
"clearTimeout": true,
"console.debug": true,
"console.error": true,
"console.warn": true,
"customElements.get": true,
"document": true,
"innerHeight": true,
"innerWidth": true,
"location.href": true,
"location.origin": true,
"parent": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry-internal/browser-utils": true,
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser": {
"globals": {
"PerformanceObserver.supportedEntryTypes": true,
"Request": true,
"URL": true,
"XMLHttpRequest.prototype": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_RELEASE__": true,
"addEventListener": true,
"console.error": true,
"indexedDB.open": true,
"performance.timeOrigin": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry-internal/browser-utils": true,
"@sentry/browser>@sentry-internal/feedback": true,
"@sentry/browser>@sentry-internal/replay-canvas": true,
"@sentry/browser>@sentry-internal/replay": true,
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry/core": {
"globals": {
"Headers": true,
"Request": true,
"URL": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_TRACING__": true,
"clearInterval": true,
"clearTimeout": true,
"console.log": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@sentry/utils": true
}
},
"@sentry/utils": {
"globals": {
"CustomEvent": true,
"DOMError": true,
"DOMException": true,
"EdgeRuntime": true,
"Element": true,
"ErrorEvent": true,
"Event": true,
"HTMLElement": true,
"Headers": true,
"Request": true,
"Response": true,
"TextDecoder": true,
"TextEncoder": true,
"URL": true,
"__SENTRY_BROWSER_BUNDLE__": true,
"__SENTRY_DEBUG__": true,
"clearTimeout": true,
"console.error": true,
"document": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"process": true
}
},
"@solana/addresses": {
"globals": {
"Intl.Collator": true,
Expand Down
Loading
Loading