feat(tron-wallet-snap): add Core messenger plumbing - #95
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
b67ea64 to
8624473
Compare
2339dbc to
1413a43
Compare
|
@SocketSecurity ignore npm/@metamask/assets-controller@11.2.0 |
|
@SocketSecurity ignore npm/@metamask/snaps-controllers@19.0.1 |
|
@SocketSecurity ignore npm/@metamask/assets-controllers@110.1.0 |
|
@SocketSecurity ignore npm/@metamask/config-registry-controller@2.0.0 |
|
@SocketSecurity ignore npm/@metamask/core-backend@7.0.0 |
|
@SocketSecurity ignore npm/@metamask/core-backend@8.1.0 |
|
@SocketSecurity ignore npm/@metamask/eth-json-rpc-infura@10.3.0 |
|
@SocketSecurity ignore npm/@metamask/geolocation-controller@1.0.0 |
|
@SocketSecurity ignore npm/@metamask/multichain-network-controller@3.2.2 |
|
@SocketSecurity ignore npm/@metamask/network-controller@34.0.0 |
|
@SocketSecurity ignore npm/@metamask/network-controller@35.0.0 |
|
@SocketSecurity ignore npm/@metamask/phishing-controller@17.3.1 |
|
@SocketSecurity ignore npm/@metamask/profile-sync-controller@28.3.0 |
|
@SocketSecurity ignore npm/@metamask/remote-feature-flag-controller@4.2.2 |
|
@SocketSecurity ignore npm/@metamask/remote-feature-flag-controller@5.0.0 |
|
@SocketSecurity ignore npm/@metamask/transaction-controller@69.4.0 |
|
@SocketSecurity ignore npm/@ethersproject/providers@5.8.0 |
|
@SocketSecurity ignore npm/@tanstack/query-core@5.101.4 |
|
@SocketSecurity ignore npm/keccak@3.0.4 |
|
@SocketSecurity ignore npm/ethereumjs-wallet@1.0.2 |
|
@SocketSecurity ignore npm/rlp@2.2.7 |
|
@SocketSecurity ignore npm/ulid@2.4.0 |
b8e5fa7 to
d5876a7
Compare
e2a7495 to
64e6d11
Compare
d5876a7 to
81eb154
Compare
b73d987 to
7302e9d
Compare
|
@SocketSecurity ignore npm/@metamask/assets-controller@13.1.0 @SocketSecurity ignore npm/ws@8.18.0 |
| * Typed messenger for Core controller actions available to this Snap via | ||
| * `endowment:messenger` / `getMessenger`. | ||
| */ | ||
| export type CoreMessenger = Messenger<string, CoreMessengerActions>; |
There was a problem hiding this comment.
- Must be
AsyncMessenger -
stringas namespace is too wide
81eb154 to
e49c38b
Compare
|
@cursoragent task list:
|
|
Completed the task list on What changed
Verification
PR
## Summary
- Wire `endowment:messenger` with RFF + AssetsController account-asset read actions
- Instantiate `RemoteFeatureFlagProvider` and `AssetsProvider` from preview `@metamask-previews/snap-networks-utils@0.0.0-preview-a0892371`
- `AsyncMessenger` typing with `TronWalletSnap` namespace
- Plumbing only — no migration-stage resolution or Core routing yet
Part 1 of 2 from #94. Part 2: `WPN-1497-core-adapter-routing`.PR: #95 |
f5bde1f to
f53d7bf
Compare
f53d7bf to
c9d4f0c
Compare
2242a06 to
8d95d05
Compare
Instantiate Core messenger via getMessenger and endow RemoteFeatureFlagController:getState plus AssetsController read actions. Wire RemoteFeatureFlagsProvider and AssetsProvider from @metamask/snap-networks-utils@1.0.0. No assets migration stage resolution or Core routing yet.
c9d4f0c to
d5a852a
Compare


Summary
getMessengerand endowRemoteFeatureFlagController:getStateSnapAssetsAdapterPart 1 of 2 split from #94. Part 2:
WPN-1497-core-adapter-routing.Jira
Test plan
yarn workspace @metamask/tron-wallet-snap buildyarn workspace @metamask/tron-wallet-snap run jest --no-coverage(887 tests)Stacks on #92 (
WPN-1497-snap-owned-helpers).