feat: add deeplink compression logic to sdk-multichain#1360
Merged
Conversation
ffmcgee725
marked this pull request as ready for review
October 8, 2025 09:49
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1360 +/- ##
=======================================
Coverage 74.99% 74.99%
=======================================
Files 184 184
Lines 4519 4519
Branches 1108 1108
=======================================
Hits 3389 3389
Misses 1130 1130 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
elribonazo
approved these changes
Oct 8, 2025
elribonazo
left a comment
Contributor
There was a problem hiding this comment.
LGTM, awesome PR @ffmcgee725 thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Explanation
The goal of this PR is to add deeplink compression logic to decrease size of transported payloads across established connections.
References
Checklist
Note
Compresses connection request payloads for deeplink and universal links via pako-based utility and updates deps.
packages/sdk-multichain/src/ui/index.ts):ConnectionRequestJSON before encoding forcreateDeeplinkandcreateUniversalLink.c=1flag to indicate compressed payloads.packages/sdk-multichain/src/multichain/utils/index.ts):base64EncodeandcompressString(pakodeflate) utilities; exportcompressString.packages/sdk-multichain/package.json):pakoand@types/pako.Written by Cursor Bugbot for commit 9f3894e. This will update automatically on new commits. Configure here.