Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 0d14f99
Merge: c4f6899 c043c3b
Author: drptbl <jakub.mucha@icloud.com>
Date:   Fri Oct 7 10:50:48 2022 +0200

    Merge pull request #521 from dewanshparashar/patch-1

    docs: addMetamaskNetwork description made clearer

commit c4f6899
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Fri Oct 7 09:28:47 2022 +0200

    chore: add logging for disconnectWalletFromDapp(s)

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 3310758
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Fri Oct 7 09:13:57 2022 +0200

    e2e: add test cases for disconnecting without dapps connected

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 4fb2858
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Fri Oct 7 09:13:40 2022 +0200

    fix: don’t fail while disconnecting from dapp if not connected

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 80b5cbb
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Fri Oct 7 09:12:58 2022 +0200

    feat: add closeModal()

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 5eb141b
Merge: 537894f c02f903
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Oct 6 01:06:00 2022 +0200

    Merge pull request #533 from Synthetixio/master

    keep dev up to date

commit c02f903
Merge: a1b17a3 537894f
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Oct 6 01:05:29 2022 +0200

    Merge pull request #532 from Synthetixio/dev

    promote dev to master

commit a1b17a3
Author: Jakub <ci@drptbl.dev>
Date:   Wed Oct 5 23:03:38 2022 +0000

    release: v2.4.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 06cf19d
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Thu Oct 6 01:02:23 2022 +0200

    ci: update release container

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 537894f
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Thu Oct 6 01:00:07 2022 +0200

    readme: resolution is not required anymore

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit a40bbb4
Merge: 946d8e6 1c41d67
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Oct 6 00:57:22 2022 +0200

    Merge pull request #531 from Synthetixio/dev

    promote dev to master

commit 1c41d67
Merge: 2cb2098 f780111
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Oct 6 00:56:57 2022 +0200

    Merge pull request #530 from Synthetixio/fix-resolution-req

    fix: high resolution requirement

commit f780111
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Thu Oct 6 00:39:41 2022 +0200

    ci: use docker-compose.ci.yml

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 4dad622
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Thu Oct 6 00:39:28 2022 +0200

    docker: update ci compose

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit baf0511
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:49:01 2022 +0200

    ci: continue on error

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit a187881
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:31:16 2022 +0200

    chore: increase closepopup timeout

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 5db6231
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:29:21 2022 +0200

    ci: continue on error for high res

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 094f463
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:28:43 2022 +0200

    ci: cleanup not required

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit fdbec7c
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:17:06 2022 +0200

    fix: linting

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 8c37c27
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:17:01 2022 +0200

    chore: trunk upgrade

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 0a10b68
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:13:04 2022 +0200

    fix: critical vuln

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 55afe96
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:07:16 2022 +0200

    ci: run tests on low and high res

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 07f95be
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:03:19 2022 +0200

    ci: use matrix

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 3df12ec
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:02:07 2022 +0200

    chore: add note

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 4fd07e9
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:01:55 2022 +0200

    docker: remove res

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 9090ebe
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:01:47 2022 +0200

    chore: improve warning for ngrok

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 52c79c5
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 23:01:37 2022 +0200

    docker: add env files

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 99f871f
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 22:29:06 2022 +0200

    fix: add closePopup

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 85be0d6
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:51:19 2022 +0200

    fix: debug

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 859be0c
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:49:59 2022 +0200

    Squashed commit of the following:

    commit 2cb2098
    Merge: 3d5d63a ac0f779
    Author: drptbl <jakub.mucha@icloud.com>
    Date:   Wed Oct 5 21:29:24 2022 +0200

        Merge pull request #528 from Synthetixio/dependabot/github_actions/actions/checkout-3.1.0

        chore(deps): Bump actions/checkout from 3.0.2 to 3.1.0

    commit 3d5d63a
    Merge: 7f76f40 6addda3
    Author: drptbl <jakub.mucha@icloud.com>
    Date:   Wed Oct 5 21:29:11 2022 +0200

        Merge pull request #526 from Synthetixio/dependabot/github_actions/actions/cache-3.0.10

        chore(deps): Bump actions/cache from 3.0.8 to 3.0.10

    commit 7f76f40
    Merge: dd4e14a b1ca0bf
    Author: drptbl <jakub.mucha@icloud.com>
    Date:   Wed Oct 5 21:29:02 2022 +0200

        Merge pull request #522 from Synthetixio/dependabot/github_actions/github/codeql-action-2.1.26

        chore(deps): Bump github/codeql-action from 2.1.25 to 2.1.26

    commit ac0f779
    Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Date:   Tue Oct 4 17:04:51 2022 +0000

        chore(deps): Bump actions/checkout from 3.0.2 to 3.1.0

        Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
        - [Release notes](https://github.com/actions/checkout/releases)
        - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
        - [Commits](actions/checkout@v3.0.2...93ea575)

        ---
        updated-dependencies:
        - dependency-name: actions/checkout
          dependency-type: direct:production
          update-type: version-update:semver-minor
        ...

        Signed-off-by: dependabot[bot] <support@github.com>

    commit 6addda3
    Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Date:   Mon Oct 3 17:04:46 2022 +0000

        chore(deps): Bump actions/cache from 3.0.8 to 3.0.10

        Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.10.
        - [Release notes](https://github.com/actions/cache/releases)
        - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
        - [Commits](actions/cache@v3.0.8...56461b9)

        ---
        updated-dependencies:
        - dependency-name: actions/cache
          dependency-type: direct:production
          update-type: version-update:semver-patch
        ...

        Signed-off-by: dependabot[bot] <support@github.com>

    commit b1ca0bf
    Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Date:   Fri Sep 30 17:04:54 2022 +0000

        chore(deps): Bump github/codeql-action from 2.1.25 to 2.1.26

        Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.25 to 2.1.26.
        - [Release notes](https://github.com/github/codeql-action/releases)
        - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
        - [Commits](github/codeql-action@86f3159...e0e5ded)

        ---
        updated-dependencies:
        - dependency-name: github/codeql-action
          dependency-type: direct:production
          update-type: version-update:semver-patch
        ...

        Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 0f31e5d
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:49:16 2022 +0200

    fix: addnetwork

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 5930e22
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:49:09 2022 +0200

    deps: update

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 2cb2098
Merge: 3d5d63a ac0f779
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:29:24 2022 +0200

    Merge pull request #528 from Synthetixio/dependabot/github_actions/actions/checkout-3.1.0

    chore(deps): Bump actions/checkout from 3.0.2 to 3.1.0

commit 3d5d63a
Merge: 7f76f40 6addda3
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:29:11 2022 +0200

    Merge pull request #526 from Synthetixio/dependabot/github_actions/actions/cache-3.0.10

    chore(deps): Bump actions/cache from 3.0.8 to 3.0.10

commit 7f76f40
Merge: dd4e14a b1ca0bf
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:29:02 2022 +0200

    Merge pull request #522 from Synthetixio/dependabot/github_actions/github/codeql-action-2.1.26

    chore(deps): Bump github/codeql-action from 2.1.25 to 2.1.26

commit 2a4f323
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:24:56 2022 +0200

    feat: use goToNewAccount

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 2c76fbd
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:18:59 2022 +0200

    feat: use goToImportAccount

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 2891d7f
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:12:44 2022 +0200

    feat: use gotoaddnetwork

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit de4db05
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 21:07:06 2022 +0200

    feat: use goToAdvancedSettings

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit df44f86
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 20:58:29 2022 +0200

    feat: add goToSettings

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit e01c5a8
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Oct 5 20:58:15 2022 +0200

    feat: added getExtensionDetails

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit ac0f779
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Oct 4 17:04:51 2022 +0000

    chore(deps): Bump actions/checkout from 3.0.2 to 3.1.0

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3.0.2...93ea575)

    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 6addda3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 3 17:04:46 2022 +0000

    chore(deps): Bump actions/cache from 3.0.8 to 3.0.10

    Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.10.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v3.0.8...56461b9)

    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit b1ca0bf
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Sep 30 17:04:54 2022 +0000

    chore(deps): Bump github/codeql-action from 2.1.25 to 2.1.26

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.25 to 2.1.26.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@86f3159...e0e5ded)

    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit c043c3b
Author: Dewansh <dewanshparashar@yahoo.in>
Date:   Thu Sep 29 20:09:23 2022 +0530

    docs: addMetamaskNetwork description made clearer

    Great work with this library :)

    While using it, I noticed that the documentation of addMetamaskNetwork could've been a little bit clearer - this method not only adds a new network but also switches to it in the process.
    Ideally, this method should also be named just like you've named 'allowMetamaskToAddAndSwitchNetwork' which clearly tells what the function would do.

commit b44cf1c
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Mon Sep 26 22:58:51 2022 +0200

    add todo

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 263dc19
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Mon Sep 26 22:58:14 2022 +0200

    docker: pass SYNDEBUG

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit dd13339
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Mon Sep 26 22:57:47 2022 +0200

    fix: close popup with click on background

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 612f932
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Mon Sep 26 22:57:17 2022 +0200

    po: add popup background

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit dd4e14a
Merge: 83925e6 946d8e6
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Sep 22 21:05:22 2022 +0200

    Merge pull request #516 from Synthetixio/master

    keep dev up to date

commit 946d8e6
Author: Jakub <ci@drptbl.dev>
Date:   Thu Sep 22 18:54:05 2022 +0000

    release: v2.3.3

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 83925e6
Merge: 979c0c5 b2d6342
Author: drptbl <jakub.mucha@icloud.com>
Date:   Thu Sep 22 20:51:08 2022 +0200

    Merge pull request #515 from Synthetixio/dependabot/github_actions/github/codeql-action-2.1.25

    chore(deps): Bump github/codeql-action from 2.1.24 to 2.1.25

commit b2d6342
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 22 17:05:44 2022 +0000

    chore(deps): Bump github/codeql-action from 2.1.24 to 2.1.25

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.24 to 2.1.25.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@904260d...86f3159)

    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 6261845
Author: Jakub <ci@drptbl.dev>
Date:   Wed Sep 21 20:34:13 2022 +0000

    release: v2.3.3-beta.1

    Signed-off-by: Jakub <ci@drptbl.dev>

commit cfdb567
Merge: b4ffe99 979c0c5
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:32:22 2022 +0200

    Merge pull request #514 from Synthetixio/dev

    promote dev to master

commit 979c0c5
Merge: dacce32 0ac03d3
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:31:44 2022 +0200

    Merge pull request #513 from Synthetixio/download-fix

    refactor: metamask extension downloading

commit 0ac03d3
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:30:52 2022 +0200

    chore: dont redownload metamask if its present

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 79ad2c3
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:08:33 2022 +0200

    chore: switch away to download

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 190ffb2
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:08:17 2022 +0200

    chore: return tag for metamask releases

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit b635857
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:07:37 2022 +0200

    chore: improve error logging

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit c6f86ee
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:06:42 2022 +0200

    chore: add checkDirExist helper

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit e119e95
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 22:05:52 2022 +0200

    deps: add download

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 63a92e7
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 21 17:46:42 2022 +0200

    chore: add error handling

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit b4ffe99
Author: Jakub <ci@drptbl.dev>
Date:   Tue Sep 20 10:42:52 2022 +0000

    release: v2.3.3-beta.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 9955ada
Merge: 67228d4 dacce32
Author: drptbl <jakub.mucha@icloud.com>
Date:   Tue Sep 20 12:42:07 2022 +0200

    Merge pull request #512 from Synthetixio/dev

    promote dev to master

commit dacce32
Merge: 2155660 a9eb6af
Author: drptbl <jakub.mucha@icloud.com>
Date:   Tue Sep 20 12:41:40 2022 +0200

    Merge pull request #511 from Synthetixio/510-disconnectwalletfromdapp-and-disconnectwalletfromalldapps-dont-work

    fix: close disconnect popup on disconnectWalletFromAllDapps

commit a9eb6af
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Tue Sep 20 12:41:09 2022 +0200

    fix: close disconnect popup on disconnectWalletFromAllDapps

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 2155660
Merge: 9df3a0a 519c0ea
Author: drptbl <jakub.mucha@icloud.com>
Date:   Sat Sep 17 14:23:49 2022 +0200

    Merge pull request #508 from Synthetixio/dependabot/github_actions/github/codeql-action-2.1.24

    chore(deps): Bump github/codeql-action from 2.1.23 to 2.1.24

commit 519c0ea
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Sep 16 17:04:57 2022 +0000

    chore(deps): Bump github/codeql-action from 2.1.23 to 2.1.24

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.23 to 2.1.24.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@6a38b7d...904260d)

    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 9df3a0a
Merge: 1de2942 55286cb
Author: drptbl <jakub.mucha@icloud.com>
Date:   Fri Sep 16 00:10:10 2022 +0200

    Merge pull request #507 from Synthetixio/dependabot/github_actions/github/codeql-action-2.1.23

    chore(deps): Bump github/codeql-action from 2.1.22 to 2.1.23

commit 55286cb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 15 17:09:05 2022 +0000

    chore(deps): Bump github/codeql-action from 2.1.22 to 2.1.23

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.22 to 2.1.23.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@b398f52...6a38b7d)

    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 1de2942
Merge: a425bdc 67228d4
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:54:22 2022 +0200

    Merge pull request #506 from Synthetixio/master

    keep dev up to date

commit 67228d4
Author: Jakub <ci@drptbl.dev>
Date:   Wed Sep 14 15:34:22 2022 +0000

    release: v2.3.2

    Signed-off-by: Jakub <ci@drptbl.dev>

commit f4ebae0
Merge: cb00e6a a425bdc
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:32:58 2022 +0200

    Merge pull request #505 from Synthetixio/dev

    promote dev to master

commit a425bdc
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:32:31 2022 +0200

    fix: lint

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit 9ff8711
Author: Jakub Mucha <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:30:14 2022 +0200

    fix: debug mode

    Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>

commit cb00e6a
Author: Jakub <ci@drptbl.dev>
Date:   Wed Sep 14 15:13:27 2022 +0000

    release: v2.3.2-beta.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit e765d2a
Merge: 1440d30 f0fc8d6
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:12:33 2022 +0200

    Merge pull request #504 from Synthetixio/dev

    promote dev to master

commit f0fc8d6
Merge: 7fba74d 0271867
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 14 17:11:46 2022 +0200

    Merge pull request #503 from fionnachan/fix-types

    fix: allow optional params instead of requiring explicit undefined param

commit 0271867
Author: Fionna Chan <fionnacst@gmail.com>
Date:   Wed Sep 14 14:52:47 2022 +0000

    fix: allow optional params instead of requiring explicit undefined param

commit 1440d30
Author: Jakub <ci@drptbl.dev>
Date:   Wed Sep 14 07:14:21 2022 +0000

    release: v2.3.1

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 4326c0f
Author: Jakub <ci@drptbl.dev>
Date:   Wed Sep 14 07:12:13 2022 +0000

    release: v2.3.1-beta.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 5dc67d1
Merge: 61b964f 7fba74d
Author: drptbl <jakub.mucha@icloud.com>
Date:   Wed Sep 14 09:11:20 2022 +0200

    Merge pull request #501 from Synthetixio/dev

    promote dev to master

commit 61b964f
Author: Jakub <ci@drptbl.dev>
Date:   Tue Sep 13 18:13:40 2022 +0000

    release: v2.3.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 3f828be
Merge: 8a2b522 f4030fb
Author: drptbl <jakub.mucha@icloud.com>
Date:   Tue Sep 13 20:12:16 2022 +0200

    Merge pull request #496 from Synthetixio/dev

    promote dev to master

commit 8a2b522
Author: Jakub <ci@drptbl.dev>
Date:   Tue Sep 13 01:13:06 2022 +0000

    release: v2.2.1

    Signed-off-by: Jakub <ci@drptbl.dev>

commit cff35b8
Merge: 3acdc40 764e4c1
Author: drptbl <jakub.mucha@icloud.com>
Date:   Tue Sep 13 03:11:49 2022 +0200

    Merge pull request #495 from Synthetixio/dev

    promote dev to master

commit 3acdc40
Author: Jakub <ci@drptbl.dev>
Date:   Sun Sep 11 02:59:28 2022 +0000

    release: v2.2.1-beta.0

    Signed-off-by: Jakub <ci@drptbl.dev>

commit 637b156
Author: drptbl <jakub.mucha@icloud.com>
Date:   Sun Sep 11 04:58:48 2022 +0200

    Update README.md

Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>
  • Loading branch information
drptbl committed Oct 7, 2022
1 parent b009906 commit 07febbc
Show file tree
Hide file tree
Showing 22 changed files with 851 additions and 303 deletions.
52 changes: 42 additions & 10 deletions .github/workflows/audit_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v2
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2

- name: Audit dependencies
run: audit-ci --critical --report-type full
Expand All @@ -45,13 +45,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v2
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2

- name: Set yarn cache directory
run: yarn config set cache-folder .yarn-cache
continue-on-error: true

- uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # pin@v2
- uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # pin@v2
with:
path: |
.yarn-cache
Expand All @@ -76,7 +76,7 @@ jobs:
if:
always() && (github.ref == 'refs/heads/master' || github.ref ==
'refs/heads/dev' || github.event_name == 'pull_request')
uses: github/codeql-action/upload-sarif@b398f525a5587552e573b247ac661067fafa920b # pin@codeql-bundle-20210517
uses: github/codeql-action/upload-sarif@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44 # pin@codeql-bundle-20210517
with:
sarif_file: lint-results.sarif
continue-on-error: true
Expand All @@ -88,13 +88,17 @@ jobs:
github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' ||
github.event_name == 'pull_request'
runs-on: ubuntu-latest
# todo: to enable matrix strategy we need to have different wallets on each resolution because of transactions
# strategy:
# matrix:
# resolution: ['low', 'medium', 'high']

steps:
- name: Chown workspace
run: chown -R $(whoami) .

- name: Checkout
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 # pin@v2
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # pin@v1
Expand All @@ -103,15 +107,16 @@ jobs:
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # pin@v1

- name: Cache Docker layers
uses: actions/cache@515d10b4fd9bb4858066bd5769f55bd498dcdd27 # pin@v2
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # pin@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Run e2e tests
run: ./start-tests.sh
- name: Run e2e tests (low res)
run: |
docker-compose -f docker-compose.ci.yml --env-file low-res.env up --build --exit-code-from synpress
env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
Expand All @@ -122,12 +127,39 @@ jobs:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true

- name: Archive e2e artifacts (low res)
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # pin@v2
if: always()
with:
name: e2e-artifacts-low-res
path: |
docker/videos
docker/videos-ci
docker/screenshots
continue-on-error: true

- name: Run e2e tests (high res)
run: |
docker-compose -f docker-compose.ci.yml --env-file high-res.env up --build --exit-code-from synpress
env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
DOCKER_DEFAULT_PLATFORM: linux/amd64
NGROK_AUTH: ${{ secrets.NGROK_AUTH }}
CYPRESS_PRIVATE_KEY_WITH_FUNDS:
${{ secrets.CYPRESS_PRIVATE_KEY_WITH_FUNDS }}
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true

- name: Archive e2e artifacts
- name: Archive e2e artifacts (high res)
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # pin@v2
if: always()
with:
name: e2e-artifacts
name: e2e-artifacts-high-res
path: |
docker/videos
docker/videos-ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v2
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/init@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44
with:
queries: security-and-quality
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b398f525a5587552e573b247ac661067fafa920b
uses: github/codeql-action/analyze@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ jobs:
name: release

container:
image: ghcr.io/synthetixio/docker-node/ubuntu:16.17
credentials:
username: synthetixio
password: ${{ secrets.GH_PACKAGES_READ_ONLY }}
image: synthetixio/docker-node:16.17-ubuntu

steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # pin@v2
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2
with:
fetch-depth: 0
ref: master
Expand All @@ -36,7 +33,7 @@ jobs:
run: yarn config set cache-folder .yarn-cache
continue-on-error: true

- uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # pin@v2
- uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # pin@v2
with:
path: |
.yarn-cache
Expand Down
4 changes: 2 additions & 2 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*out
*logs
actions
notifications
*actions
*notifications
plugins
user_trunk.yaml
user.yaml
4 changes: 4 additions & 0 deletions .trunk/config/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Following source doesn't work in most setups
ignored:
- SC1090
- SC1091
7 changes: 7 additions & 0 deletions .trunk/config/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
# disable=SC1091
28 changes: 20 additions & 8 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
version: 0.1
runtimes:
enabled:
- go@1.18.3
- node@16.14.2
actions:
enabled:
- trunk-cache-prune
- trunk-upgrade-available
plugins:
sources:
- id: trunk
ref: v0.0.3
ref: v0.0.5
uri: https://github.com/trunk-io/plugins
cli:
version: 0.17.0-beta
version: 0.18.1-beta
sha256:
darwin_arm64: d0f10cede5ce6f2e9cf93c13b7422a87994c57912c2f1ec3b2b6273d965d3726
darwin_x86_64: de8cc96736b5888925523631926c1f5a0735bb086569ccdc3e2b62c2de2f4867
linux_x86_64: ddba5eb37e6885210b43f2466f8240fbeae5327506876705ef3935627d771d70
darwin_arm64: c25df7ef6d68a2bd8648d93830659d1675043db03d9f49182534f28e417dfda6
darwin_x86_64: 6a7a4f9c5d0ad7d3d5ea45e6a1cf11a668ea68c36f01ebe31ef95f99560a6824
linux_x86_64: d875fe70c221d6449a9cd09598ab278133c5513f52dbf6af0fca3161d7a39d46
lint:
enabled:
- actionlint@1.6.17
- eslint@8.23.0
- dotenv-linter@3.2.0
- hadolint@2.10.0
- shellcheck@0.8.0
- shfmt@3.5.0
- actionlint@1.6.20
- eslint@8.24.0
- git-diff-check@SYSTEM
- gitleaks@8.11.2
- gitleaks@8.13.0
- markdownlint@0.32.2
- prettier@2.7.1
ignore:
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ To see in which direction Synpress is headed to, take a look at
- can be used in existing
[cypress setup](https://github.com/Synthetixio/synpress/issues/346#issuecomment-1060506096)
- supports dotenv
- loads all env vars from your `.env` file automatically (from project root folder)
- loads all env vars from your `.env` file automatically (from project root
folder)
- ability to use latest metamask or lock it's version to avoid unexpected
failures related to metamask updates
- supports multi-lang of metamask, it doesn't depend on any labels
Expand Down Expand Up @@ -274,9 +275,7 @@ codespaces, they're fully supported! :)
## CI tips & tricks

- use [docker-e2e](https://github.com/Synthetixio/docker-e2e)
- stick to bigger resolutions (to make sure that whole extension is visible on
screen when opened)
- synpress is tested on 1920x1080
- synpress is tested and should work on all resolutions, starting from 800x600
- take a look at this
[example config](https://github.com/Synthetixio/synpress/blob/dev/.github/workflows/audit_and_lint.yml#L84)

Expand Down
Loading

0 comments on commit 07febbc

Please sign in to comment.