-
Notifications
You must be signed in to change notification settings - Fork 237
feat/release-2.0 #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat/release-2.0 #573
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0e05267
feat: fail dropped jupiter transactions
NickKelly1 3ade320
chore: lint
NickKelly1 87d808c
fix: swap activity
NickKelly1 35775ee
feat: transaction and swap dropped status
NickKelly1 41931cd
chore: lint
NickKelly1 c0bbe9a
chore: cleanup
NickKelly1 216798b
Merge branch 'develop' into feat/fail-dropped-jupiter-transactions
NickKelly1 a28a95a
feat: add base to rango and changelly
NickKelly1 71749a2
fix: dropped jupiter sol swap transactions
NickKelly1 10dfeb0
fix: increase jupiter swap priority fee multiplier
NickKelly1 4e7071a
fix: base max fee
kvhnuke aa5c165
fix: hw wallet shaded area
kvhnuke f7ef55d
fix: send input ui breaking with multiple periods
NickKelly1 3e02753
feat: show dst network in swap activity desc when src and dst symbols…
NickKelly1 f14d212
chore: debug logger
NickKelly1 6b20354
chore: cleanup
NickKelly1 0ed9910
chore: cleanup
NickKelly1 1b5be68
chore: cleanup, enable debug logging with env vars
NickKelly1 d7a3e5d
chore: cleanup
NickKelly1 9ff1f9c
chore: cleanup
NickKelly1 1c45fd5
chore: improve typescript for global logging
NickKelly1 194ed30
chore: cleanup
NickKelly1 d1b8c83
fix: bnb max send
kvhnuke 86fcadc
fix: evm solana send low balance error messages
NickKelly1 45b17a9
fix: send balance error messages
NickKelly1 c5db516
chore: cleanup
NickKelly1 787a7fc
chore: cleanup
NickKelly1 3293012
chore: cleanup
NickKelly1 7a4a969
chore: cleanup
NickKelly1 b0b77c0
Merge pull request #569 from enkryptcom/chore/debug-logger
kvhnuke 741f728
Merge pull request #568 from enkryptcom/feat/activity-swap-descriptio…
kvhnuke b5b9fb0
Merge pull request #567 from enkryptcom/fix/send-input-ui-breaking-wi…
kvhnuke 969ea9c
Merge pull request #565 from enkryptcom/fix/base-max-fee
kvhnuke 775e897
Merge pull request #562 from enkryptcom/fix/dropped-jupiter-sol-swap-…
kvhnuke e49dcf7
devop: merge
kvhnuke 7f0f6c3
Merge pull request #558 from enkryptcom/feat/add-base-to-rango-and-ch…
kvhnuke 021167d
Merge pull request #553 from enkryptcom/feat/fail-dropped-jupiter-tra…
kvhnuke 6b06a3f
fix: rtol ltol issue
kvhnuke 3b2bfab
devop: add more unicode detections
kvhnuke 9ec50d3
devop: add new network tags from bitrock and fraxtal
kvhnuke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # VITE_DEBUG_LOG="swap:*" | ||
| VITE_DEBUG_LOG= |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| const fixedHex = (number: number, length: number) => { | ||
| let str = number.toString(16).toUpperCase(); | ||
| while (str.length < length) str = '0' + str; | ||
| return str; | ||
| }; | ||
kvhnuke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| /* Creates a unicode literal based on the string */ | ||
| const unicodeLiteral = (str: string) => { | ||
| let i; | ||
| let result = ''; | ||
| for (i = 0; i < str.length; ++i) { | ||
| if (str.charCodeAt(i) > 126 || str.charCodeAt(i) < 32) | ||
| result += '\\u' + fixedHex(str.charCodeAt(i), 4); | ||
| else result += str[i]; | ||
| } | ||
| return result; | ||
| }; | ||
| export const getRTLOLTLOSafeString = (str: string): string => { | ||
| const dangerous = /[\u202A-\u202E\u2066-\u2069\u200E\u200F\u061C]/.test(str); | ||
| if (dangerous) return unicodeLiteral(str); | ||
| return str; | ||
| }; | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| import { NetworkNames } from '@enkryptcom/types'; | ||
|
|
||
| const newNetworks = [NetworkNames.Solana]; | ||
| const newNetworks = [NetworkNames.Bitrock, NetworkNames.Fraxtal]; | ||
| const newSwaps: NetworkNames[] = []; | ||
|
|
||
kvhnuke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| export { newNetworks, newSwaps }; | ||
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.