Skip to content

Commit bd4688f

Browse files
fix: notify the client when native balance goes to zero (MetaMask#19389)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This PR bumps the Solana snap to its latest version. ## **Changelog** CHANGELOG entry: Notify client when native SOL balance reaches zero ([#519](MetaMask/snap-solana-wallet#519)) ## **Related issues** Fixes: ## **Manual testing steps** ```gherkin Feature: my feature name Scenario: user [verb for user action] Given [describe expected initial app state] When user [verb for user action] Then [describe expected outcome] ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
1 parent 5c48039 commit bd4688f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"@metamask/snaps-rpc-methods": "^13.5.0",
296296
"@metamask/snaps-sdk": "^9.3.0",
297297
"@metamask/snaps-utils": "^11.5.0",
298-
"@metamask/solana-wallet-snap": "^2.3.7",
298+
"@metamask/solana-wallet-snap": "^2.3.8",
299299
"@metamask/solana-wallet-standard": "^0.5.1",
300300
"@metamask/stake-sdk": "^3.2.0",
301301
"@metamask/swappable-obj-proxy": "^2.1.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6140,10 +6140,10 @@
61406140
ses "^1.14.0"
61416141
validate-npm-package-name "^5.0.0"
61426142

6143-
"@metamask/solana-wallet-snap@^2.3.7":
6144-
version "2.3.7"
6145-
resolved "https://registry.yarnpkg.com/@metamask/solana-wallet-snap/-/solana-wallet-snap-2.3.7.tgz#23da40bb5762a0dbe3f12b9d89d3cabaa5a57dd3"
6146-
integrity sha512-xHu3urjUkfMeXLm5SEl2CoBSXeWsEYIQ5SjipNBYs2ZKhhP1Tapz1OEN+TGSlusIgoWoBKyLtuUY/Xl53Kj3/w==
6143+
"@metamask/solana-wallet-snap@^2.3.8":
6144+
version "2.3.8"
6145+
resolved "https://registry.yarnpkg.com/@metamask/solana-wallet-snap/-/solana-wallet-snap-2.3.8.tgz#73d9f525d61b24e44a1889352bd1d115314bc59f"
6146+
integrity sha512-UZnsCrhFVIY2HHOEILwBI2qtlxMTGqzln3kKNVVMGJq7+UmDftHyWbaYbD8go55GkCdaOTOBZ8ZhPsSU+JxDBg==
61476147

61486148
"@metamask/solana-wallet-standard@^0.5.1":
61496149
version "0.5.1"

0 commit comments

Comments
 (0)