Feature/wal 257 https only - #586
Conversation
| jest.mock("react-dom", () => ({ | ||
| ...jest.requireActual("react-dom"), | ||
| createPortal: (element: React.ReactElement) => element, | ||
| })); |
There was a problem hiding this comment.
mocking react-i18next and react-dom globally so we can just load components without issue
| "@shared/constants": "1.0.0", | ||
| "@shared/helpers": "1.0.0", | ||
| "@stellar/design-system": "^0.8.0", | ||
| "@stellar/design-system": "^0.8.1", |
There was a problem hiding this comment.
had to make a very small adjustment to the SDS build chain because jsdom wasn't able to load the old version
| r.type = SERVICE_TYPES.LOAD_ACCOUNT; | ||
|
|
||
| const resp = await popupMessageListener(r); | ||
| await popupMessageListener(r); |
There was a problem hiding this comment.
just fixing a couple of eslint issues
…hter into feature/WAL-257-https-only
| enum AuthorizationMap { | ||
| "", | ||
| "Authorization Required", | ||
| "Authorization Required" = 1, |
There was a problem hiding this comment.
oof, this was a very weird error that Jest did not like; it didn't like having an empty string at key 0. This is actually fine bc Horizon never returns 0 for flags
| > | ||
| <p> | ||
| <Trans domain={domain}> | ||
| The website <strong>{{ domain }}</strong> does not use an SSL |
There was a problem hiding this comment.
this is a good pattern to use if you want to wrap a translated string in bold or italics or something like that
| @@ -1,46 +1,31 @@ | |||
| import React from "react"; | |||
There was a problem hiding this comment.
fixing the tests for this view
| await waitFor(() => screen.getByTestId("SignTransaction")); | ||
| expect(screen.getByTestId("SignTransaction")).toBeDefined(); | ||
| }); | ||
| it("shows non-https domain error", async () => { |
There was a problem hiding this comment.
there's a lot of other use cases to cover here, but this took me a long time to get this whole scaffold up and running so in the interest of time, just adding the pertinent cases for this PR
acharb
left a comment
There was a problem hiding this comment.
this is awesome, exciting that we can start adding frontend testing (or at least more of it) 😄 🙌 lgtm!
| await act(async () => { | ||
| fireEvent.click(screen.getByTestId("confirm")); | ||
| await waitFor(() => screen.getByText(MNEMONIC)); | ||
| fireEvent.click(screen.getByTestId("display-mnemonic-phrase-next-btn")); |
* update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](axios/axios@v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](medialize/URI.js@v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](algolia/algoliasearch-helper-js@3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…alances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](axios/axios@v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](medialize/URI.js@v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](algolia/algoliasearch-helper-js@3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](axios/axios@v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](medialize/URI.js@v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](algolia/algoliasearch-helper-js@3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release 2.5.0 (#603) * update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](axios/axios@v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](medialize/URI.js@v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](algolia/algoliasearch-helper-js@3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](caolan/async@v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(): bumping release to 2.5.0 (#626) Co-authored-by: GitHub Action <action@github.com> * add changelog (#627) * add a first pass at Experimental Mode and SC parsing (#636) (#637) * add a first pass at Experimental Mode and SC parsing * better var naming * Add translations * use the right SDK when retrieving sourceKeys * use correct SDK for network * rm unused import * rm console Co-authored-by: GitHub Action <action@github.com> Co-authored-by: GitHub Action <action@github.com> * Add translations Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * load blocked domains into redux (#611) * add call to stellar expert w todos * finish up * cleanup * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * scam asset pt 2: add new preferences flag, show warning overlay when adding trustline to scam asset (#619) * add call to stellar expert w todos * finish up * cleanup * starting * use toml host in asset descriiption * add settings flag * finish styling with some todos * some refactoring, clean up todos * cleanup * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> * add better error messages for Add Network screen (#628) * handle add asset from warning screen (#631) * handle add asset * cleanup * clean up * use new metric name * check for suspicious characteristics when adding new asset w/ warning view (#634) * check for suspicious characteristics when adding new asset * cleanup * Add translations * pr comments * Add translations Co-authored-by: GitHub Action <action@github.com> * add warning icon to scam assets (#635) * check for suspicious characteristics when adding new asset * cleanup * Add translations * first cut * cleanup * one more icon * one more warning * use SimpleBar Co-authored-by: GitHub Action <action@github.com> * show warning view if sending/swapping with scam asset (#639) * first cut w/ hardcoded stuff * finish up * Add translations Co-authored-by: GitHub Action <action@github.com> * update from master (#643) * Release 2.5.0 (#603) * update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(): bumping release to 2.5.0 (#626) Co-authored-by: GitHub Action <action@github.com> * add changelog (#627) * add a first pass at Experimental Mode and SC parsing (#636) (#637) * add a first pass at Experimental Mode and SC parsing * better var naming * Add translations * use the right SDK when retrieving sourceKeys * use correct SDK for network * rm unused import * rm console Co-authored-by: GitHub Action <action@github.com> Co-authored-by: GitHub Action <action@github.com> * Add translations Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update soroban-client package name * Add translations * use domain when available for isScamAsset calc, change hook to useIsOwnedScamAsset (#652) * use domain when available for isScamAsset calc * use isOwnedScamAsset * use custom error infloblock component (#653) * custom error infloblock * cleanup * cleaning up some UI discrepancies (#654) * cleaning up some UI discrepancies * Add translations Co-authored-by: GitHub Action <action@github.com> * add a check to see if the assets returned exist on our network (#655) * add a check to see if the assets returned exist on our network * check the toml network passphrase to get network * qa fixes (#657) * use the force/var (#658) * fix bottom padding of new asset warning modal (#659) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * load blocked domains into redux (#611) * add call to stellar expert w todos * finish up * cleanup * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * scam asset pt 2: add new preferences flag, show warning overlay when adding trustline to scam asset (#619) * add call to stellar expert w todos * finish up * cleanup * starting * use toml host in asset descriiption * add settings flag * finish styling with some todos * some refactoring, clean up todos * cleanup * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> * add better error messages for Add Network screen (#628) * handle add asset from warning screen (#631) * handle add asset * cleanup * clean up * use new metric name * check for suspicious characteristics when adding new asset w/ warning view (#634) * check for suspicious characteristics when adding new asset * cleanup * Add translations * pr comments * Add translations Co-authored-by: GitHub Action <action@github.com> * add warning icon to scam assets (#635) * check for suspicious characteristics when adding new asset * cleanup * Add translations * first cut * cleanup * one more icon * one more warning * use SimpleBar Co-authored-by: GitHub Action <action@github.com> * show warning view if sending/swapping with scam asset (#639) * first cut w/ hardcoded stuff * finish up * Add translations Co-authored-by: GitHub Action <action@github.com> * update from master (#643) * Release 2.5.0 (#603) * update version number * WAL-394, WAL-360: dont round on dest asset amounts, show dest asset balances for swaps (#602) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * Demonic Vulnerability Part 1 (#537) * use hidden words; deref var; first pass at multi field input * prevent copy/download; only store mnemonic phrase string in memory * prevent paste and remove from memory * don't record changes if disabled * add explanation comment * Merge master 2.3.0 (#552) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * Release/2.2.0 (#526) * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * add custom select inputs (#502) * add custom asset select inputs * truncate long asset codes * PR cleanup * create a new selectassetrows comp * add helper * clean up ManageAssetRows * one more * use recommended transaction fee by default (#503) * use recommended transaction fee by default * better conditional * no children * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… (#514) * added await in async function calls (#467) * adding first attempt at beta pipeline (#483) * change workflow names * rm duped id * rm analytics and change naming * don't bother creating a PR * update naming and use a different version for FF * publish chrome to testers and rename FF artifact * upgrade chrome upload to allow publish target * just run chrome upload * try new secret keys * try the whole thing * change file path for chrome upload * change version naming and set publish to true * add `beta` to version for Firefox * update stellar-sdk for Protocol 19 (#466) * add additional tracking for payments and manage assets (#482) * add additional tracking for payments * undo formatting * add manage asset tracking * emitMetric only when submission succeeds * when fetching balances filter out liquidity pool shares (#484) * filter out liquidity pool share balances * cleanup * use asset canonical ID for key in cache (#495) * only show rate if amount input * use canonicalID for cached assets * fix trans details as well * make change for pp dest asset * use recommended tx fee by default (#506) * use recommended transaction fee by default * better conditional * no children * use mode of max fee instead of fee charged mode (#507) * use 10th percentile of max fee instead of fee charged mode * use mode instead of p10 * use recommended fee for `changeTrust` operation (#510) * update version in Settings (#511) * docs(): bumping release to 2.1.2 (#513) Co-authored-by: GitHub Action <action@github.com> * Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/2.2.0 # Conflicts: # extension/src/popup/components/manageAssets/ManageAssetRows/index.tsx Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * merging 2.3.0 into 2.2.0 - swaps, removing network from onboarding screens (#523) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * add swap support pt2 (#520) * first cut, with todos * finish swaps * add comment * edge case * create the TwoAssetCard * dont show warning if successful * remove network from onboarding screens (#522) * add a search asset view (#517) * add a search asset view * ux adjustments * move ResultsHeader outside component * update the collectedTags array (#524) * adding default and loading icons (#525) * adding default and loading icons * PR comments * make sendSettings rows clickable, add pin extension view (#527) * sendsettings * add pin extension screen * cleanup * Update extension/src/popup/views/FullscreenSuccessMessage/index.tsx Co-authored-by: Piyal Basu <pbasu235@gmail.com> * detect chrome, use old image/copy if not * update copy Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/request public key (#528) * add first pass of request public key feature * handle account switching * handle password verification * fix selecting different account * better naming * simplify autoselect logic * fix comment * use map for allAccounts * update freighter-api version * PR comments * update freighter-api ver number * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk * Bugfix/allow null network (#545) * allow null since there is a 3rd possible param * allow `null` as network param * Bugfix/allow muxed federation in sign transaction (#546) * allow null since there is a 3rd possible param * allow `null` as network param * allow muxed and federation accounts in signTransation; standardize checks for muxed/federation Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * docs(): bumping release to 2.2.0 (#547) Co-authored-by: GitHub Action <action@github.com> * add missing release notes (#548) * add missing release notes * Remove jira ticket keys * add bullet pts * fix (#549) * docs(): bumping release to 2.2.1 (#550) Co-authored-by: GitHub Action <action@github.com> * 2.2.1 release notes (#551) Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> * Just use 12 word phrases for now and cleanup UI (#553) * Feature/ledger (#557) * add connecting with ledger UI (#531) * add swap routes, and make SendAmount changes (#515) * first cut * add swap icon * make SendAmount changes * cleanup * cleanup * finish sendAmount styling * cleanup * use consts * remove important * first cut, import ledgers, got connecting to work * cleanup * UI changes / first cut with todos * finish pt1 * cleanup * cleanup * make type WalletType * add importHardwareWallet to background services w/ background tests (#538) * fix sendAmount header moving (#532) * first cut with todos * hardcoded w/ todos * cleanup * add background tests * cleanup * cleanup * merge Release/2.2.0 (#543) * fix sendAmount header moving (#532) * qa fixes (#533) * show the loader while we're waiting for asset icons to be fetched; add comments (#534) * New styles for mnemonic phrase confirmed screen (#536) * new styles * additional text styling * load assetIcons from swap screen, increase padding in accounst select (#535) * load asseticons from swap screen * increase account slide up padding * cleanup * adjust border radius for Path/Swap asset selects (#539) * adjust border radius for Path/Swap asset selects * better naming * better better naming * use first non-xlm asset as default dest asset for swaps (#540) * use non xlm for default swap dest asset * use StellarSdk Co-authored-by: Piyal Basu <pbasu235@gmail.com> * store hardwareWallet in redux, background methods changes for when hardwareWallet active (#544) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * send transactions with ledger (#554) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * support non default-bip path, store hw data in localstorage, add animation (#555) * add ledger account to account list dropdown * cleanup * finish test" * increase account list height * simplify * almost finished regular send flow, changes to manage asset view * got it all working :D, still need to cleanup * finish * cleanup * cleanup * use await * use const * animate ledger, enforce cant re-import same account * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Feature/localization (#558) * add localization config and translation files * add build cmd for translations in root * Bump jsdom from 16.4.0 to 16.5.0 (#541) Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * Bump eventsource from 1.0.7 to 1.1.1 (#518) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.3 to 2.6.4 (#462) Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 (#461) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump axios from 0.21.1 to 0.21.4 (#460) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump urijs from 1.19.2 to 1.19.11 (#459) Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.11. - [Release notes](https://github.com/medialize/URI.js/releases) - [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md) - [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.11) --- updated-dependencies: - dependency-name: urijs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump algoliasearch-helper from 3.2.2 to 3.7.0 (#350) Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js) from 3.2.2 to 3.7.0. - [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases) - [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG) - [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.2.2...3.7.0) --- updated-dependencies: - dependency-name: algoliasearch-helper dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump shelljs from 0.8.4 to 0.8.5 (#349) Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> * fix validation issues; fix typo; rm Add Asset btn (#559) * Feature/wal 264 about links (#560) * rm extra links and translate About view * fix path not found validation * add workflow to release branch (#566) * Bump async from 2.6.3 to 2.6.4 (#564) * Add Action to to auto run translations job on PR/push (#563) * Bump async from 2.6.3 to 2.6.4 Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix on statement * change on param * yarn before build * build freighter-api * try head_ref * moving ledger connect to own move, some refactoring to confirmPassword in background (#572) * first cut * finish * translations * sign external app transactions with hardware wallet (#573) * first cut * finish * translations * sign external app transaction with ledger * use signedTransaction * add check diff * fix spacing * add id * tx fee in xlm (#575) * use toFixed instead of toString (#576) * error message updates (#577) * handle rejected ledger transaction (#578) * handle tx rejected message * translations * return bipPath from confirmPassword (#579) * use toFixed instead of toString (#576) * return the bip path after confirming password * undo * cleanup * Bump terser from 4.8.0 to 4.8.1 (#580) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * display transaction error details (#584) * finish UI, clean up test * Add translations * translations * add ErrorDetails interface Co-authored-by: GitHub Action <action@github.com> * show swaps in account history (#585) * add swaps to history * cleanup * translations * Feature/wal 257 https only (#586) * add logic to check for https * add https check and fix tests * add getTransactionInfo tests and update all jest libs * rm unneeded script * rm unused mock and fix dom nesting * rm unneeded dom elements * WAL-319, WAL-342: dont allow mnemonic re-view, bottom nav hover state (#587) * add bottom nav hover state * if already confirmed mnemonic dont re-view * handle LP shares (#588) * handle lp shares * cleanup * cleanup * add asset balance UI and refactor History to share code (#590) * add asset balance UI and refactor History to share code * Add translations * PR comments; disable LP detail; use canonical asset * fix missing date * update version number Co-authored-by: GitHub Action <action@github.com> * add loader, default self payment to sent (#595) * WAL-402: asset detail send/swap use as default asset (#596) * default send/swap asset to chosen one * native * wait until we asset domain resolves before showing view (#597) * qa fixes (#599) * put LPs last * validate transaction fee * use XLM, not native for LP name * Add translations Co-authored-by: GitHub Action <action@github.com> * categorize create external account ops as Sent (#598) * categorize create external account ops as Sent * Add translations * use the Payment transaction detail * update header title and add translations Co-authored-by: GitHub Action <action@github.com> * display full decimal for destination amount in send flow * show balances for swaps * cleanup Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * WAL-446: lift asset select code to redux (#604) * lift asset select stuff to redux * use isSource * Feature/wal 434 add custom network Pt 1 (#609) * Add a custom network and switch to it * add a custom network and switch to it * fix PR comments and fix failing build * Add translations Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 edit custom network (#612) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * Feature/wal 434 add network settings in settings (#613) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode Co-authored-by: GitHub Action <action@github.com> * fix some incosistencies in styling (#614) * Add a custom network and switch to it * add a custom network and switch to it * add ability to edit network * fix PR comments and fix failing build * add removal flow * finish edit/remove custom network UI * fix import * remove unused error const * Add translations * add comments * fix isMainnet and isTestnet check for NetworkForm * add Network Settings link to Settings view * rename var and make sure it only triggers in Edit mode * fix some incosistencies in styling Co-authored-by: GitHub Action <action@github.com> * add network invalid msg; fix mainnet/testnet edit ui (#615) * add network invalid msg; fix mainnet/testnet edit ui * Add translations * add show modal helper Co-authored-by: GitHub Action <action@github.com> * remove stellar.expert usage for Custom networks (#616) * remove stellar.expert usage for Custom networks * rm stellar.expert link on view public key * Disable sentry if data sharing not allowed (#618) * Disable sentry if data sharing not allowed * add comment * add copy change * clear up language * Add translations Co-authored-by: GitHub Action <action@github.com> * add active state for active network (#620) * allow editing of active network; fix redirect (#625) * allow editing of active network; fix redirect * Add translations Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(): bumping release to 2.5.0 (#626) Co-authored-by: GitHub Action <action@github.com> * add changelog (#627) * add a first pass at Experimental Mode and SC parsing (#636) (#637) * add a first pass at Experimental Mode and SC parsing * better var naming * Add translations * use the right SDK when retrieving sourceKeys * use correct SDK for network * rm unused import * rm console Co-authored-by: GitHub Action <action@github.com> Co-authored-by: GitHub Action <action@github.com> * Add translations Co-authored-by: Piyal Basu <pbasu235@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update soroban-client package name * Add translations * use domain when available for isScamAsset calc, change hook to useIsOwnedScamAsset (#652) * use domain when available for isScamAsset calc * use isOwnedScamAsset * use custom error infloblock component (#653) * custom error infloblock * cleanup * cleaning up some UI discrepancies (#654) * cleaning up some UI discrepancies * Add translations Co-authored-by: GitHub Action <action@github.com> * add a check to see if the assets returned exist on our network (#655) * add a check to see if the assets returned exist on our network * check the toml network passphrase to get network * fix adding scam asset with ledger (#656) * qa fixes (#657) * use the force/var (#658) * fix bottom padding of new asset warning modal (#659) * Feature/wal 456 start chrome storage (#661) * first pass at using browser storage * rm comments * add defaultValue * adjust dataStorage API and migrate localStorage to chrome storage on install * add comments * upgrade freighter-api in docs * analytics updates (#663) * finish * fix * cleanup * check for isNewAsset when adding a new asset (#670) * Add translations * Acharb localstorage wrapper (#672) * add localStorage wrapper * PR changes * call it dataStorageAccess * undo merge that made this bug come back :facepalm * fix issues with forgetting to await (#673) * fix issues with forgetting to await * reject with error if we have it * update version name in UI Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com> Co-authored-by: Marco Ciaramella <marcociaramella87@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
An example of what the UI will look like