From 6300fb566d1516edd942104103d114733af8fe45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:26:48 +0200 Subject: [PATCH 01/12] Chore(deps): Bump next from 14.2.10 to 14.2.13 (#4273) Bumps [next](https://github.com/vercel/next.js) from 14.2.10 to 14.2.13. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.10...v14.2.13) --- updated-dependencies: - dependency-name: next dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 124 +++++++++++++++++++++++++-------------------------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/package.json b/package.json index a293011eea..449d2e12ea 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "idb-keyval": "^6.2.1", "js-cookie": "^3.0.1", "lodash": "^4.17.21", - "next": "^14.2.10", + "next": "^14.2.13", "papaparse": "^5.3.2", "qrcode.react": "^3.1.0", "react": "^18.3.1", diff --git a/yarn.lock b/yarn.lock index 759c3b81d2..1c400c4c0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3829,10 +3829,10 @@ dependencies: webpack-bundle-analyzer "4.7.0" -"@next/env@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.10.tgz#1d3178340028ced2d679f84140877db4f420333c" - integrity sha512-dZIu93Bf5LUtluBXIv4woQw2cZVZ2DJTjax5/5DOs3lzEOeKLy7GxRSr4caK9/SCPdaW6bCgpye6+n4Dh9oJPw== +"@next/env@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.13.tgz#ba341ba9eb70db428fc1c754f49c3c516f7bab47" + integrity sha512-s3lh6K8cbW1h5Nga7NNeXrbe0+2jIIYK9YaA9T7IufDWnZpozdFUp6Hf0d5rNWUKu4fEuSX2rCKlGjCrtylfDw== "@next/eslint-plugin-next@14.1.0": version "14.1.0" @@ -3848,50 +3848,50 @@ dependencies: source-map "^0.7.0" -"@next/swc-darwin-arm64@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.10.tgz#49d10ca4086fbd59ee68e204f75d7136eda2aa80" - integrity sha512-V3z10NV+cvMAfxQUMhKgfQnPbjw+Ew3cnr64b0lr8MDiBJs3eLnM6RpGC46nhfMZsiXgQngCJKWGTC/yDcgrDQ== - -"@next/swc-darwin-x64@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.10.tgz#0ebeae3afb8eac433882b79543295ab83624a1a8" - integrity sha512-Y0TC+FXbFUQ2MQgimJ/7Ina2mXIKhE7F+GUe1SgnzRmwFY3hX2z8nyVCxE82I2RicspdkZnSWMn4oTjIKz4uzA== - -"@next/swc-linux-arm64-gnu@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.10.tgz#7e602916d2fb55a3c532f74bed926a0137c16f20" - integrity sha512-ZfQ7yOy5zyskSj9rFpa0Yd7gkrBnJTkYVSya95hX3zeBG9E55Z6OTNPn1j2BTFWvOVVj65C3T+qsjOyVI9DQpA== - -"@next/swc-linux-arm64-musl@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.10.tgz#6b143f628ccee490b527562e934f8de578d4be47" - integrity sha512-n2i5o3y2jpBfXFRxDREr342BGIQCJbdAUi/K4q6Env3aSx8erM9VuKXHw5KNROK9ejFSPf0LhoSkU/ZiNdacpQ== - -"@next/swc-linux-x64-gnu@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.10.tgz#086f2f16a0678890a1eb46518c4dda381b046082" - integrity sha512-GXvajAWh2woTT0GKEDlkVhFNxhJS/XdDmrVHrPOA83pLzlGPQnixqxD8u3bBB9oATBKB//5e4vpACnx5Vaxdqg== - -"@next/swc-linux-x64-musl@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.10.tgz#1befef10ed8dbcc5047b5d637a25ae3c30a0bfc3" - integrity sha512-opFFN5B0SnO+HTz4Wq4HaylXGFV+iHrVxd3YvREUX9K+xfc4ePbRrxqOuPOFjtSuiVouwe6uLeDtabjEIbkmDA== - -"@next/swc-win32-arm64-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.10.tgz#731f52c3ae3c56a26cf21d474b11ae1529531209" - integrity sha512-9NUzZuR8WiXTvv+EiU/MXdcQ1XUvFixbLIMNQiVHuzs7ZIFrJDLJDaOF1KaqttoTujpcxljM/RNAOmw1GhPPQQ== - -"@next/swc-win32-ia32-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.10.tgz#32723ef7f04e25be12af357cc72ddfdd42fd1041" - integrity sha512-fr3aEbSd1GeW3YUMBkWAu4hcdjZ6g4NBl1uku4gAn661tcxd1bHs1THWYzdsbTRLcCKLjrDZlNp6j2HTfrw+Bg== - -"@next/swc-win32-x64-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.10.tgz#ee1d036cb5ec871816f96baee7991035bb242455" - integrity sha512-UjeVoRGKNL2zfbcQ6fscmgjBAS/inHBh63mjIlfPg/NG8Yn2ztqylXt5qilYb6hoHIwaU2ogHknHWWmahJjgZQ== +"@next/swc-darwin-arm64@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.13.tgz#76f08d78360c4d27d444df7f35a56f59a48f4808" + integrity sha512-IkAmQEa2Htq+wHACBxOsslt+jMoV3msvxCn0WFSfJSkv/scy+i/EukBKNad36grRxywaXUYJc9mxEGkeIs8Bzg== + +"@next/swc-darwin-x64@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.13.tgz#1d4821d54bb01dacc6a6c32408f8468a4f4af269" + integrity sha512-Dv1RBGs2TTjkwEnFMVL5XIfJEavnLqqwYSD6LXgTPdEy/u6FlSrLBSSfe1pcfqhFEXRAgVL3Wpjibe5wXJzWog== + +"@next/swc-linux-arm64-gnu@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.13.tgz#79d9af8d3408df9990c8911889eca1ca6a308f19" + integrity sha512-yB1tYEFFqo4ZNWkwrJultbsw7NPAAxlPXURXioRl9SdW6aIefOLS+0TEsKrWBtbJ9moTDgU3HRILL6QBQnMevg== + +"@next/swc-linux-arm64-musl@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.13.tgz#b13180645865b120591db2f1e831743ebc02ab36" + integrity sha512-v5jZ/FV/eHGoWhMKYrsAweQ7CWb8xsWGM/8m1mwwZQ/sutJjoFaXchwK4pX8NqwImILEvQmZWyb8pPTcP7htWg== + +"@next/swc-linux-x64-gnu@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.13.tgz#8cb8480dfeee512648e4e08c2095aac0461b876f" + integrity sha512-aVc7m4YL7ViiRv7SOXK3RplXzOEe/qQzRA5R2vpXboHABs3w8vtFslGTz+5tKiQzWUmTmBNVW0UQdhkKRORmGA== + +"@next/swc-linux-x64-musl@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.13.tgz#df5ca922fa1e1ee81b15a06a2d3d3ace0efd2bd7" + integrity sha512-4wWY7/OsSaJOOKvMsu1Teylku7vKyTuocvDLTZQq0TYv9OjiYYWt63PiE1nTuZnqQ4RPvME7Xai+9enoiN0Wrg== + +"@next/swc-win32-arm64-msvc@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.13.tgz#8a7db6e71f526212587975f743b28e4d1cb829d1" + integrity sha512-uP1XkqCqV2NVH9+g2sC7qIw+w2tRbcMiXFEbMihkQ8B1+V6m28sshBwAB0SDmOe0u44ne1vFU66+gx/28RsBVQ== + +"@next/swc-win32-ia32-msvc@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.13.tgz#6aa664f36f2d70c5ae6ffcbbc56784d33f24522d" + integrity sha512-V26ezyjPqQpDBV4lcWIh8B/QICQ4v+M5Bo9ykLN+sqeKKBxJVDpEc6biDVyluTXTC40f5IqCU0ttth7Es2ZuMw== + +"@next/swc-win32-x64-msvc@14.2.13": + version "14.2.13" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.13.tgz#5a920eea82a58affa6146192586716cec6c87fed" + integrity sha512-WwzOEAFBGhlDHE5Z73mNU8CO8mqMNLqaG+AO9ETmzdCQlJhVtWZnOl2+rqgVQS+YHunjOWptdFmNfbpwcUuEsw== "@ngraveio/bc-ur@^1.0.0", "@ngraveio/bc-ur@^1.1.5": version "1.1.6" @@ -14609,12 +14609,12 @@ next-tick@1, next-tick@^1.1.0: resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== -next@^14.2.10: - version "14.2.10" - resolved "https://registry.yarnpkg.com/next/-/next-14.2.10.tgz#331981a4fecb1ae8af1817d4db98fc9687ee1cb6" - integrity sha512-sDDExXnh33cY3RkS9JuFEKaS4HmlWmDKP1VJioucCG6z5KuA008DPsDZOzi8UfqEk3Ii+2NCQSJrfbEWtZZfww== +next@^14.2.13: + version "14.2.13" + resolved "https://registry.yarnpkg.com/next/-/next-14.2.13.tgz#32da2ee0afbe729e2d4a467c3570def90e1c974d" + integrity sha512-BseY9YNw8QJSwLYD7hlZzl6QVDoSFHL/URN5K64kVEVpCsSOWeyjbIGK+dZUaRViHTaMQX8aqmnn0PHBbGZezg== dependencies: - "@next/env" "14.2.10" + "@next/env" "14.2.13" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -14622,15 +14622,15 @@ next@^14.2.10: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.2.10" - "@next/swc-darwin-x64" "14.2.10" - "@next/swc-linux-arm64-gnu" "14.2.10" - "@next/swc-linux-arm64-musl" "14.2.10" - "@next/swc-linux-x64-gnu" "14.2.10" - "@next/swc-linux-x64-musl" "14.2.10" - "@next/swc-win32-arm64-msvc" "14.2.10" - "@next/swc-win32-ia32-msvc" "14.2.10" - "@next/swc-win32-x64-msvc" "14.2.10" + "@next/swc-darwin-arm64" "14.2.13" + "@next/swc-darwin-x64" "14.2.13" + "@next/swc-linux-arm64-gnu" "14.2.13" + "@next/swc-linux-arm64-musl" "14.2.13" + "@next/swc-linux-x64-gnu" "14.2.13" + "@next/swc-linux-x64-musl" "14.2.13" + "@next/swc-win32-arm64-msvc" "14.2.13" + "@next/swc-win32-ia32-msvc" "14.2.13" + "@next/swc-win32-x64-msvc" "14.2.13" no-case@^3.0.4: version "3.0.4" From 3cfdf3411321786c319572de7004d7e17d2c72c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:28:32 +0200 Subject: [PATCH 02/12] Chore(deps-dev): Bump @types/react from 18.3.4 to 18.3.10 (#4274) Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.4 to 18.3.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 449d2e12ea..67f2f8611b 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@types/mdx": "^2.0.13", "@types/node": "18.11.18", "@types/qrcode": "^1.5.5", - "@types/react": "^18.3.4", + "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", "@types/react-gtm-module": "^2.0.3", "@types/semver": "^7.3.10", diff --git a/yarn.lock b/yarn.lock index 1c400c4c0a..9c94d4a146 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6013,10 +6013,10 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react@^18.3.4": - version "18.3.4" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.4.tgz#dfdd534a1d081307144c00e325c06e00312c93a3" - integrity sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw== +"@types/react@*", "@types/react@^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react@^18.3.10": + version "18.3.10" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.10.tgz#6edc26dc22ff8c9c226d3c7bf8357b013c842219" + integrity sha512-02sAAlBnP39JgXwkAq3PeU9DVaaGpZyF3MGcC0MKgQVkZor5IiiDAipVaxQHtDJAmO4GIy/rVBy/LzVj76Cyqg== dependencies: "@types/prop-types" "*" csstype "^3.0.2" From 611c321caf52f73840139ef8da365e5674d9e4d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:19:47 +0200 Subject: [PATCH 03/12] Chore(deps-dev): Bump storybook from 8.3.0 to 8.3.4 (#4275) Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 8.3.0 to 8.3.4. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v8.3.4/code/lib/cli) --- updated-dependencies: - dependency-name: storybook dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 48 ++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 67f2f8611b..636b7e8df3 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "remark-gfm": "^4.0.0", "remark-heading-id": "^1.0.1", "remark-mdx-frontmatter": "^5.0.0", - "storybook": "^8.3.0", + "storybook": "^8.3.4", "ts-prune": "^0.10.3", "typechain": "^8.3.2", "typescript": "^5.4.5", diff --git a/yarn.lock b/yarn.lock index 9c94d4a146..28424cab5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4907,17 +4907,19 @@ "@types/node" "^18.0.0" ts-dedent "^2.0.0" -"@storybook/core@8.3.0": - version "8.3.0" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.3.0.tgz#c08ff10405fa935044678c8ae92c7be14dd01bdb" - integrity sha512-UeErpD0xRIP2nFA2TjPYxtEyv24O6VRfq2XXU5ki2QPYnxOxAPBbrMHCADjgBwNS4S2NUWTaVBYxybISVbrj+w== +"@storybook/core@8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.3.4.tgz#35c1a2fbb8b31c7015647309c50a08bd20961522" + integrity sha512-4PZB91JJpuKfcjeOR2LXj3ABaPLLSd2P/SfYOKNCygrDstsQa/yay3/yN5Z9yi1cIG84KRr6/sUW+0x8HsGLPg== dependencies: "@storybook/csf" "^0.1.11" "@types/express" "^4.17.21" + better-opn "^3.0.2" browser-assert "^1.2.1" esbuild "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0" esbuild-register "^3.5.0" express "^4.19.2" + jsdoc-type-pratt-parser "^4.0.0" process "^0.11.10" recast "^0.23.5" semver "^7.6.2" @@ -7805,6 +7807,13 @@ bech32@^2.0.0: resolved "https://registry.yarnpkg.com/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== +better-opn@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/better-opn/-/better-opn-3.0.2.tgz#f96f35deaaf8f34144a4102651babcf00d1d8817" + integrity sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ== + dependencies: + open "^8.0.4" + big-integer@1.6.36: version "1.6.36" resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" @@ -9167,6 +9176,11 @@ define-data-property@^1.0.1, define-data-property@^1.1.2: es-errors "^1.3.0" gopd "^1.0.1" +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" @@ -12175,7 +12189,7 @@ is-decimal@^2.0.0: resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== -is-docker@^2.0.0: +is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== @@ -13045,6 +13059,11 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== +jsdoc-type-pratt-parser@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz#ff6b4a3f339c34a6c188cbf50a16087858d22113" + integrity sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg== + jsdom@^20.0.0: version "20.0.3" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-20.0.3.tgz#886a41ba1d4726f67a8858028c99489fed6ad4db" @@ -14915,6 +14934,15 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +open@^8.0.4: + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" @@ -17198,12 +17226,12 @@ store2@^2.14.2: resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.3.tgz#24077d7ba110711864e4f691d2af941ec533deb5" integrity sha512-4QcZ+yx7nzEFiV4BMLnr/pRa5HYzNITX2ri0Zh6sT9EyQHbBHacC6YigllUPU9X3D0f/22QCgfokpKs52YRrUg== -storybook@^8.3.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.3.0.tgz#172a5d5e415b83bcb08a3a670a2e6f34383dfea1" - integrity sha512-XKU+nem9OKX/juvJPwka1Q7DTpSbOe0IMp8ZyLQWorhFKpquJdUjryl7Z9GiFZyyTykCqH4ItQ7h8PaOmqVMOw== +storybook@^8.3.4: + version "8.3.4" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.3.4.tgz#caca649de88372679c126a9bf8ae4ed14406e9a3" + integrity sha512-nzvuK5TsEgJwcWGLGgafabBOxKn37lfJVv7ZoUVPgJIjk2mNRyJDFwYRJzUZaD37eiR/c/lQ6MoaeqlGwiXoxw== dependencies: - "@storybook/core" "8.3.0" + "@storybook/core" "8.3.4" stream-browserify@^3.0.0: version "3.0.0" From dc09af855277df7ebc1c78ab8a719c74b9f3f58d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:20:13 +0200 Subject: [PATCH 04/12] Chore(deps-dev): Bump @storybook/addon-designs from 8.0.0 to 8.0.3 (#4276) Bumps [@storybook/addon-designs](https://github.com/storybookjs/addon-designs) from 8.0.0 to 8.0.3. - [Release notes](https://github.com/storybookjs/addon-designs/releases) - [Changelog](https://github.com/storybookjs/addon-designs/blob/master/CHANGELOG.v1-6.md) - [Commits](https://github.com/storybookjs/addon-designs/compare/v8.0.0...v8.0.3) --- updated-dependencies: - dependency-name: "@storybook/addon-designs" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 636b7e8df3..38076061ce 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@openzeppelin/contracts": "^4.9.6", "@safe-global/safe-core-sdk-types": "^5.0.1", "@sentry/types": "^7.74.0", - "@storybook/addon-designs": "^8.0.0", + "@storybook/addon-designs": "^8.0.3", "@storybook/addon-essentials": "^8.0.6", "@storybook/addon-interactions": "^8.0.6", "@storybook/addon-links": "^8.0.6", diff --git a/yarn.lock b/yarn.lock index 28424cab5b..368bf7a3fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4631,10 +4631,10 @@ lodash "^4.17.21" ts-dedent "^2.0.0" -"@storybook/addon-designs@^8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@storybook/addon-designs/-/addon-designs-8.0.0.tgz#4e27a340ed1aaa34def48e6dc4437dbce09a2fd1" - integrity sha512-xCiv2PmdUXgco8IHVIY+pe5pWQQoPVwsyimhap1v68kDUuLio5glOS8pTm1zf2KWj8AqXreio/j5krOZpQyKSQ== +"@storybook/addon-designs@^8.0.3": + version "8.0.3" + resolved "https://registry.yarnpkg.com/@storybook/addon-designs/-/addon-designs-8.0.3.tgz#645ffcb4cd4c73f1b7d255951d4a7dbd46f9fe70" + integrity sha512-uArLGYDwiRDjgJHgMotOLGGYK4hq1hBb0PfTJrlBnPy6evky9khrqf4KmXrIh4ViOyZ5t01THe1DnBj52DwrEQ== dependencies: "@figspec/react" "^1.0.0" From 09e633fdc24457d108d2d3b28a9e935d1602ecb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:23:31 +0200 Subject: [PATCH 05/12] Chore(deps): Bump contributor-assistant/github-action (#4278) Bumps [contributor-assistant/github-action](https://github.com/contributor-assistant/github-action) from 2.5.2 to 2.6.1. - [Release notes](https://github.com/contributor-assistant/github-action/releases) - [Commits](https://github.com/contributor-assistant/github-action/compare/v2.5.2...v2.6.1) --- updated-dependencies: - dependency-name: contributor-assistant/github-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/cla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index b6f304330a..f578a76532 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -13,7 +13,7 @@ jobs: - name: 'CLA Assistant' if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' # Beta Release - uses: contributor-assistant/github-action@v2.5.2 + uses: contributor-assistant/github-action@v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the below token should have repo scope and must be manually added by you in the repository's secret From 795962662701ed8ccf2d74783d29ee9aec0ff57b Mon Sep 17 00:00:00 2001 From: Kyrylo Riabov Date: Wed, 2 Oct 2024 11:23:54 +0300 Subject: [PATCH 06/12] Updated @safe-global/api-kit and @safe-global/protocol-kit versions (#4279) --- package.json | 4 +-- yarn.lock | 82 ++++++++++++++-------------------------------------- 2 files changed, 24 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index 38076061ce..0c95f38684 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "@mui/material": "^5.14.20", "@mui/x-date-pickers": "^5.0.20", "@reduxjs/toolkit": "^2.2.6", - "@safe-global/api-kit": "^2.4.4", - "@safe-global/protocol-kit": "^4.1.0", + "@safe-global/api-kit": "^2.4.6", + "@safe-global/protocol-kit": "^4.1.1", "@safe-global/safe-apps-sdk": "^9.1.0", "@safe-global/safe-deployments": "^1.37.8", "@safe-global/safe-gateway-typescript-sdk": "3.22.3-beta.15", diff --git a/yarn.lock b/yarn.lock index 368bf7a3fb..760fbd9af7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4213,37 +4213,24 @@ resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.7.2.tgz#2d4260033e199b3032a08b41348ac10de21c47e9" integrity sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA== -"@safe-global/api-kit@^2.4.4": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.4.4.tgz#f53799f4e9373f4001db783c85728c11e1eb3241" - integrity sha512-5Px4OZEikamGgmoqIOstMSr6blmJws2yN7LBoCtCqt4RM9Aa9cFp1jZlENvXITSSAFiUhGa3vK8+OAmbhq2nvQ== +"@safe-global/api-kit@^2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.4.6.tgz#b1377ee16d9af2db29f59bce5262ffad59f61b82" + integrity sha512-57lXrqXnmdUdQ12ssWSVDZhpIY2HcJzDvR4w6edT8xebEaduKx2UpwRJ8U2WVEBrx5K9PYuLAPsPHs+/r0yuGg== dependencies: - "@safe-global/protocol-kit" "^4.0.4" - "@safe-global/safe-core-sdk-types" "^5.0.3" + "@safe-global/protocol-kit" "^4.1.1" + "@safe-global/safe-core-sdk-types" "^5.1.0" ethers "^6.13.1" node-fetch "^2.7.0" -"@safe-global/protocol-kit@^4.0.4": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@safe-global/protocol-kit/-/protocol-kit-4.0.4.tgz#e116edae5a4d242815ebaa55b7e9e7c1f55ee1fe" - integrity sha512-ZqlAMGnCtMt0bPhqipN65y7zKTUAMHcoPb1lQ5QgC9NJLmDR/TfpEiLddxZMXquZhKAH/r4nuRHUrfaX2NENeg== - dependencies: - "@noble/hashes" "^1.3.3" - "@safe-global/safe-core-sdk-types" "^5.0.3" - "@safe-global/safe-deployments" "^1.37.3" - abitype "^1.0.2" - ethereumjs-util "^7.1.5" - ethers "^6.13.1" - semver "^7.6.2" - -"@safe-global/protocol-kit@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@safe-global/protocol-kit/-/protocol-kit-4.1.0.tgz#8ab41e179c559840f0cd6b6ae296438dabe1793f" - integrity sha512-WAGXEn6UvKGlEYNqcWUasLZ4240sVWBg8T2SsfHoTs8Im0x2i48CNNZ5Mw9x+oKqhWs/Q9frNG6JcycN19LDRw== +"@safe-global/protocol-kit@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@safe-global/protocol-kit/-/protocol-kit-4.1.1.tgz#3c23616578c7e071cca5e5d945a2f995b6903b0d" + integrity sha512-11Jui1gIpCOV1sUn5HlT+hVn/+gJnKjik0V0aUPDKIL2zajwc+jReZK43CH5GyOHKOF7gCs2yprMHOrQuKkkqw== dependencies: "@noble/hashes" "^1.3.3" "@safe-global/safe-core-sdk-types" "^5.1.0" - "@safe-global/safe-deployments" "^1.37.3" + "@safe-global/safe-deployments" "^1.37.9" "@safe-global/safe-modules-deployments" "^2.2.1" abitype "^1.0.2" ethereumjs-util "^7.1.5" @@ -4265,13 +4252,6 @@ dependencies: abitype "^1.0.2" -"@safe-global/safe-core-sdk-types@^5.0.3": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@safe-global/safe-core-sdk-types/-/safe-core-sdk-types-5.0.3.tgz#0093898a0585efcae01b4da9cdd5998bc1f4a251" - integrity sha512-SNoIq/bYeUvxtB9bn+9FVMcCW3SCOJaK6crRN7DXY+N2xaLtTMAaGeUCPuOGsHxfAJVkO+CdiwWNFoqt9GN0Zg== - dependencies: - abitype "^1.0.2" - "@safe-global/safe-core-sdk-types@^5.1.0": version "5.1.0" resolved "https://registry.yarnpkg.com/@safe-global/safe-core-sdk-types/-/safe-core-sdk-types-5.1.0.tgz#af8d877b9af231242d023c7182f78ff4223bc3f4" @@ -4279,13 +4259,20 @@ dependencies: abitype "^1.0.2" -"@safe-global/safe-deployments@^1.37.3", "@safe-global/safe-deployments@^1.37.8": +"@safe-global/safe-deployments@^1.37.8": version "1.37.8" resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.37.8.tgz#5d51a57e4c3a9274ce09d8fe7fbe1265a1aaf4c4" integrity sha512-BT34eqSJ1K+4xJgJVY3/Yxg8TRTEvFppkt4wcirIPGCgR4/j06HptHPyDdmmqTuvih8wi8OpFHi0ncP+cGlXWA== dependencies: semver "^7.6.2" +"@safe-global/safe-deployments@^1.37.9": + version "1.37.10" + resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.37.10.tgz#2f61a25bd479332821ba2e91a575237d77406ec3" + integrity sha512-lcxX9CV+xdcLs4dF6Cx18zDww5JyqaX6RdcvU0o/34IgJ4Wjo3J/RNzJAoMhurCAfTGr+0vyJ9V13Qo50AR6JA== + dependencies: + semver "^7.6.2" + "@safe-global/safe-gateway-typescript-sdk@3.22.3-beta.15": version "3.22.3-beta.15" resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.22.3-beta.15.tgz#83c7e784b7ee0d08104c2f1b7dc99f6cdc950683" @@ -17289,16 +17276,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -17394,14 +17372,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -19157,7 +19128,7 @@ workbox-window@7.0.0: "@types/trusted-types" "^2.0.2" workbox-core "7.0.0" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -19175,15 +19146,6 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From ee1eed956abcd2fdd7df8a60a4792aa16e1a7d50 Mon Sep 17 00:00:00 2001 From: Michael <30682308+mike10ca@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:22:07 +0200 Subject: [PATCH 07/12] Tests: fix regression tests (#4299) * Tests: fix regression tests --- cypress/e2e/pages/owners.pages.js | 4 ++-- cypress/e2e/pages/swaps.pages.js | 13 +++++++------ cypress/e2e/regression/add_owner.cy.js | 2 +- cypress/e2e/regression/replace_owner.cy.js | 16 ++++++++-------- cypress/e2e/regression/swaps.cy.js | 4 ++-- cypress/e2e/safe-apps/info_modal.cy.js | 2 +- cypress/e2e/smoke/messages_offchain.cy.js | 9 ++++++--- cypress/e2e/smoke/replace_owner.cy.js | 2 +- cypress/fixtures/safes/static.json | 3 ++- cypress/fixtures/txmessages_data.json | 1 + 10 files changed, 31 insertions(+), 25 deletions(-) diff --git a/cypress/e2e/pages/owners.pages.js b/cypress/e2e/pages/owners.pages.js index 0e4100be15..039cecaee7 100644 --- a/cypress/e2e/pages/owners.pages.js +++ b/cypress/e2e/pages/owners.pages.js @@ -125,8 +125,8 @@ export function getAddressToBeRemoved() { return removedAddress } -export function openReplaceOwnerWindow() { - cy.get(replaceOwnerBtn).click({ force: true }) +export function openReplaceOwnerWindow(index) { + cy.get(replaceOwnerBtn).eq(index).click({ force: true }) cy.get(newOwnerName).should('be.visible') cy.get(newOwnerAddress).should('be.visible') } diff --git a/cypress/e2e/pages/swaps.pages.js b/cypress/e2e/pages/swaps.pages.js index 601aa9c4af..75cbc3d5db 100644 --- a/cypress/e2e/pages/swaps.pages.js +++ b/cypress/e2e/pages/swaps.pages.js @@ -274,18 +274,19 @@ export function verifyOrderIDUrl() { cy.get(create_tx.txRowTitle) .contains(orderIdStr) .parent() + .parent() .within(() => { cy.get(explorerBtn).should('have.attr', 'href').and('include', cowOrdersUrl) }) } export function verifyOrderDetails(limitPrice, expiry, slippage, interactWith, oderID, widgetFee) { - cy.get(limitPriceFld).contains(limitPrice) - cy.get(expiryFld).contains(expiry) - cy.get(slippageFld).contains(slippage) - cy.get(orderIDFld).contains(oderID) - cy.get(widgetFeeFld).contains(widgetFee) - cy.get(interactWithFld).contains(interactWith) + cy.contains(limitPrice) + cy.contains(expiry) + cy.contains(slippage) + cy.contains(oderID) + cy.contains(widgetFee) + cy.contains(interactWith) } export function verifyRecipientAlertIsDisplayed() { diff --git a/cypress/e2e/regression/add_owner.cy.js b/cypress/e2e/regression/add_owner.cy.js index a544c76021..c7418b52d4 100644 --- a/cypress/e2e/regression/add_owner.cy.js +++ b/cypress/e2e/regression/add_owner.cy.js @@ -79,7 +79,7 @@ describe('Add Owners tests', () => { owner.waitForConnectionStatus() owner.openAddOwnerWindow() owner.typeOwnerAddress(constants.SEPOLIA_OWNER_2) - createTx.changeNonce(2) + createTx.changeNonce(1) owner.clickOnNextBtn() createTx.clickOnSignTransactionBtn() createTx.clickViewTransaction() diff --git a/cypress/e2e/regression/replace_owner.cy.js b/cypress/e2e/regression/replace_owner.cy.js index e996ba60e2..3e48c78bb2 100644 --- a/cypress/e2e/regression/replace_owner.cy.js +++ b/cypress/e2e/regression/replace_owner.cy.js @@ -34,7 +34,7 @@ describe('Replace Owners tests', () => { it('Verify max characters in name field', () => { wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(0) owner.typeOwnerName(main.generateRandomString(51)) owner.verifyErrorMsgInvalidAddress(constants.addressBookErrrMsg.exceedChars) }) @@ -44,7 +44,7 @@ describe('Replace Owners tests', () => { cy.visit(constants.setupUrl + staticSafes.SEP_STATIC_SAFE_4) wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(0) owner.typeOwnerAddress(constants.addresBookContacts.user1.address) owner.verifyNewOwnerName(constants.addresBookContacts.user1.name) }) @@ -52,7 +52,7 @@ describe('Replace Owners tests', () => { it('Verify that Name field not mandatory. Verify confirmation for owner replacement is displayed', () => { wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(0) owner.typeOwnerAddress(constants.SEPOLIA_OWNER_2) owner.clickOnNextBtn() owner.verifyConfirmTransactionWindowDisplayed() @@ -61,7 +61,7 @@ describe('Replace Owners tests', () => { it('Verify relevant error messages are displayed in Address input', () => { wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(0) owner.typeOwnerAddress(main.generateRandomString(10)) owner.verifyErrorMsgInvalidAddress(constants.addressBookErrrMsg.invalidFormat) @@ -85,17 +85,17 @@ describe('Replace Owners tests', () => { eventCategory: events.txCreatedSwapOwner.category, eventAction: events.txCreatedSwapOwner.action, event: events.txCreatedSwapOwner.eventName, - safeAddress: staticSafes.SEP_STATIC_SAFE_4.slice(6), + safeAddress: staticSafes.SEP_STATIC_SAFE_25.slice(6), }, ] - cy.visit(constants.setupUrl + staticSafes.SEP_STATIC_SAFE_4) + cy.visit(constants.setupUrl + staticSafes.SEP_STATIC_SAFE_25) wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(1) cy.wait(1000) owner.typeOwnerName(ownerName) owner.typeOwnerAddress(constants.SEPOLIA_OWNER_2) - createTx.changeNonce(2) + createTx.changeNonce(0) owner.clickOnNextBtn() createTx.clickOnSignTransactionBtn() createTx.clickViewTransaction() diff --git a/cypress/e2e/regression/swaps.cy.js b/cypress/e2e/regression/swaps.cy.js index bad6689cbe..d0c426402c 100644 --- a/cypress/e2e/regression/swaps.cy.js +++ b/cypress/e2e/regression/swaps.cy.js @@ -145,7 +145,7 @@ describe('Swaps tests', () => { swaps.setSlippage('0.30') swaps.setExpiry('2') swaps.clickOnSettingsBtn() - swaps.setInputValue(20) + swaps.setInputValue(200) swaps.selectOutputCurrency(swaps.swapTokens.dai) swaps.checkSwapBtnIsVisible() swaps.isInputGreaterZero(swaps.outputCurrencyInput).then((isGreaterThanZero) => { @@ -177,7 +177,7 @@ describe('Swaps tests', () => { main.getIframeBody(iframeSelector).then(($frame) => { cy.wrap($frame).within(() => { swaps.selectInputCurrency(swaps.swapTokens.cow) - swaps.setInputValue(20) + swaps.setInputValue(200) swaps.selectOutputCurrency(swaps.swapTokens.dai) swaps.checkSwapBtnIsVisible() swaps.clickOnSettingsBtn() diff --git a/cypress/e2e/safe-apps/info_modal.cy.js b/cypress/e2e/safe-apps/info_modal.cy.js index e67ac990aa..a052bb3ba8 100644 --- a/cypress/e2e/safe-apps/info_modal.cy.js +++ b/cypress/e2e/safe-apps/info_modal.cy.js @@ -24,7 +24,7 @@ describe('Info modal tests', () => { safeapps.verifyDisclaimerIsDisplayed() }) - it('Verify info modal consent is stored when accepted', () => { + it('Verify info modal consent is stored when accepted', { defaultCommandTimeout: 20000 }, () => { safeapps.clickOnApp(safeapps.transactionBuilderStr) safeapps.clickOnOpenSafeAppBtn() safeapps.verifyDisclaimerIsDisplayed() diff --git a/cypress/e2e/smoke/messages_offchain.cy.js b/cypress/e2e/smoke/messages_offchain.cy.js index 78839b83b6..f99796563e 100644 --- a/cypress/e2e/smoke/messages_offchain.cy.js +++ b/cypress/e2e/smoke/messages_offchain.cy.js @@ -28,7 +28,8 @@ describe('[SMOKE] Offchain Messages tests', () => { main.acceptCookies() }) - it('[SMOKE] Verify summary for off-chain unsigned messages', () => { + // TODO: Clarify changes + it.skip('[SMOKE] Verify summary for off-chain unsigned messages', () => { createTx.verifySummaryByIndex(0, [ typeMessagesGeneral.sign, typeMessagesGeneral.oneOftwo, @@ -41,7 +42,8 @@ describe('[SMOKE] Offchain Messages tests', () => { ]) }) - it('[SMOKE] Verify summary for off-chain signed messages', () => { + // TODO: Clarify changes + it.skip('[SMOKE] Verify summary for off-chain signed messages', () => { createTx.verifySummaryByIndex(1, [ typeMessagesGeneral.confirmed, typeMessagesGeneral.twoOftwo, @@ -80,7 +82,8 @@ describe('[SMOKE] Offchain Messages tests', () => { main.verifyTextVisibility(values) }) - it('[SMOKE] Verify confirmation window is displayed for unsigned message', () => { + // TODO: Clarify changes + it.skip('[SMOKE] Verify confirmation window is displayed for unsigned message', () => { wallet.connectSigner(signer) messages.clickOnMessageSignBtn(2) msg_confirmation_modal.verifyConfirmationWindowTitle(modal.modalTitiles.confirmMsg) diff --git a/cypress/e2e/smoke/replace_owner.cy.js b/cypress/e2e/smoke/replace_owner.cy.js index ca931b8956..b52be981a5 100644 --- a/cypress/e2e/smoke/replace_owner.cy.js +++ b/cypress/e2e/smoke/replace_owner.cy.js @@ -33,6 +33,6 @@ describe('[SMOKE] Replace Owners tests', () => { it('[SMOKE] Verify that the owner replacement form is opened', () => { wallet.connectSigner(signer) owner.waitForConnectionStatus() - owner.openReplaceOwnerWindow() + owner.openReplaceOwnerWindow(0) }) }) diff --git a/cypress/fixtures/safes/static.json b/cypress/fixtures/safes/static.json index 83fb7ab50f..6e02c75418 100644 --- a/cypress/fixtures/safes/static.json +++ b/cypress/fixtures/safes/static.json @@ -24,5 +24,6 @@ "LINEA_STATIC_SAFE_21": "linea:0x95934e67299E0B3DD277907acABB512802f3536E", "ZKSYNC_STATIC_SAFE_22": "zksync:0x49136c0270c5682FFbb38Cb29Ecf0563b2E1F9f6", "SEP_STATIC_SAFE_23": "sep:0x589d862CE2d519d5A862066bB923da0564c3D2EA", - "SEP_STATIC_SAFE_24": "sep:0x49DC5764961DA4864DC5469f16BC68a0F765f2F2" + "SEP_STATIC_SAFE_24": "sep:0x49DC5764961DA4864DC5469f16BC68a0F765f2F2", + "SEP_STATIC_SAFE_25": "sep:0x4ECFAa2E8cb4697bCD27bdC9Ce3E16f03F73124F" } diff --git a/cypress/fixtures/txmessages_data.json b/cypress/fixtures/txmessages_data.json index fdd609947c..71816eddfb 100644 --- a/cypress/fixtures/txmessages_data.json +++ b/cypress/fixtures/txmessages_data.json @@ -3,6 +3,7 @@ "general": { "confirmed": "Confirmed", "sign": "Sign", + "zeroOftwo": "0 out of 2", "oneOftwo": "1 out of 2", "twoOftwo": "2 out of 2" }, From 5db213260e4524412856befa555d627d484c6973 Mon Sep 17 00:00:00 2001 From: Usame Algan <5880855+usame-algan@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:53:35 +0200 Subject: [PATCH 08/12] fix: Handle special characters for prefix in address input (#4287) --- src/utils/__tests__/addresses.test.ts | 95 ++++++++++++++++++++++++++- src/utils/addresses.ts | 2 +- 2 files changed, 95 insertions(+), 2 deletions(-) diff --git a/src/utils/__tests__/addresses.test.ts b/src/utils/__tests__/addresses.test.ts index fcfd3d10c4..e76d8adf35 100644 --- a/src/utils/__tests__/addresses.test.ts +++ b/src/utils/__tests__/addresses.test.ts @@ -1,4 +1,4 @@ -import { checksumAddress, isChecksummedAddress, parsePrefixedAddress, sameAddress } from '../addresses' +import { checksumAddress, cleanInputValue, isChecksummedAddress, parsePrefixedAddress, sameAddress } from '../addresses' describe('Addresses', () => { describe('checksumAddress', () => { @@ -99,4 +99,97 @@ describe('Addresses', () => { expect(address).toBe('sdfgsdfg') }) }) + + describe('cleanInputValue', () => { + it('should return the address when input is a valid address without prefix', () => { + const input = '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the address with prefix when input has a valid prefix', () => { + const input = 'prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the matched address when input contains text before the match', () => { + const input = 'some text prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the matched address when input contains text after the match', () => { + const input = 'prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd some text' + const output = cleanInputValue(input) + + expect(output).toBe('prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the original value when input does not match the regex', () => { + const input = 'invalid input' + const output = cleanInputValue(input) + + expect(output).toBe('invalid input') + }) + + it('should handle prefixes with hyphens', () => { + const input = 'uh-huh:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('uh-huh:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the address when input has uppercase letters', () => { + const input = '0xABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCD' + const output = cleanInputValue(input) + + expect(output).toBe('0xABCDEFABCDEFABCDEFABCDEFABCDEFABCDEFABCD') + }) + + it('should return the original value when Ethereum address is invalid (too short)', () => { + const input = '0x123' + const output = cleanInputValue(input) + + expect(output).toBe('0x123') + }) + + it('should trim spaces and return the address when input has leading and trailing spaces', () => { + const input = ' 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd ' + const output = cleanInputValue(input) + + expect(output).toBe('0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the first matched address when input contains multiple addresses', () => { + const input = '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd 0x1234567890abcdef1234567890abcdef12345678' + const output = cleanInputValue(input) + + expect(output).toBe('0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the address with numeric prefix', () => { + const input = '12345:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('12345:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the address when prefix is missing colon', () => { + const input = 'prefix0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe('0xabcdefabcdefabcdefabcdefabcdefabcdefabcd') + }) + + it('should return the original value when prefix contains invalid characters', () => { + const input = 'invalid!prefix:0xabcdefabcdefabcdefabcdefabcdefabcdefabcd' + const output = cleanInputValue(input) + + expect(output).toBe(input) + }) + }) }) diff --git a/src/utils/addresses.ts b/src/utils/addresses.ts index c005f37d13..bdbddadde1 100644 --- a/src/utils/addresses.ts +++ b/src/utils/addresses.ts @@ -58,7 +58,7 @@ export const formatPrefixedAddress = (address: string, prefix?: string): string } export const cleanInputValue = (value: string): string => { - const regex = /(?:([a-z0-9]+):)?(0x[a-f0-9]{40})\b/i + const regex = /(?:([^\s:]+):)?(0x[a-f0-9]{40})\b/i const match = value.match(regex) // if match, return the address with optional prefix if (match) return match[0] From 4cb0bfbee6252d200ceb6187745c51ee6a238dbc Mon Sep 17 00:00:00 2001 From: Usame Algan <5880855+usame-algan@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:54:17 +0200 Subject: [PATCH 09/12] fix: Poll safe creation info after creation reliably (#4294) --- .../CounterfactualSuccessScreen.tsx | 12 +++++++++--- .../hooks/usePendingSafeStatuses.ts | 17 ++++++++++------- .../services/safeCreationEvents.ts | 2 ++ src/features/counterfactual/utils.ts | 8 ++++++-- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/src/features/counterfactual/CounterfactualSuccessScreen.tsx b/src/features/counterfactual/CounterfactualSuccessScreen.tsx index f798e5b99e..55dcd1cbf1 100644 --- a/src/features/counterfactual/CounterfactualSuccessScreen.tsx +++ b/src/features/counterfactual/CounterfactualSuccessScreen.tsx @@ -1,7 +1,7 @@ import EthHashInfo from '@/components/common/EthHashInfo' import { safeCreationPendingStatuses } from '@/features/counterfactual/hooks/usePendingSafeStatuses' import { SafeCreationEvent, safeCreationSubscribe } from '@/features/counterfactual/services/safeCreationEvents' -import { useCurrentChain } from '@/hooks/useChains' +import { useChain, useCurrentChain } from '@/hooks/useChains' import { useEffect, useState } from 'react' import { Box, Button, Dialog, DialogContent, Typography } from '@mui/material' import CheckRoundedIcon from '@mui/icons-material/CheckRounded' @@ -9,12 +9,18 @@ import CheckRoundedIcon from '@mui/icons-material/CheckRounded' const CounterfactualSuccessScreen = () => { const [open, setOpen] = useState(false) const [safeAddress, setSafeAddress] = useState() - const chain = useCurrentChain() + const [chainId, setChainId] = useState() + const currentChain = useCurrentChain() + const chain = useChain(chainId || currentChain?.chainId || '') useEffect(() => { const unsubFns = Object.entries(safeCreationPendingStatuses).map(([event]) => safeCreationSubscribe(event as SafeCreationEvent, async (detail) => { if (event === SafeCreationEvent.INDEXED) { + if ('chainId' in detail) { + setChainId(detail.chainId) + } + setSafeAddress(detail.safeAddress) setOpen(true) } @@ -60,7 +66,7 @@ const CounterfactualSuccessScreen = () => { {safeAddress && ( - + )} diff --git a/src/features/counterfactual/hooks/usePendingSafeStatuses.ts b/src/features/counterfactual/hooks/usePendingSafeStatuses.ts index acca28f50d..39d5259224 100644 --- a/src/features/counterfactual/hooks/usePendingSafeStatuses.ts +++ b/src/features/counterfactual/hooks/usePendingSafeStatuses.ts @@ -40,7 +40,7 @@ const usePendingSafeMonitor = (): void => { // Monitor pending safe creation mining/validating progress useEffect(() => { - Object.entries(undeployedSafesByChain).forEach(([, undeployedSafes]) => { + Object.entries(undeployedSafesByChain).forEach(([chainId, undeployedSafes]) => { Object.entries(undeployedSafes).forEach(([safeAddress, undeployedSafe]) => { if (undeployedSafe?.status.status === PendingSafeStatus.AWAITING_EXECUTION) { monitoredSafes.current[safeAddress] = false @@ -64,11 +64,11 @@ const usePendingSafeMonitor = (): void => { monitoredSafes.current[safeAddress] = true if (isProcessing) { - checkSafeActivation(provider, txHash, safeAddress, type, startBlock) + checkSafeActivation(provider, txHash, safeAddress, type, chainId, startBlock) } if (isRelaying) { - checkSafeActionViaRelay(taskId, safeAddress, type) + checkSafeActionViaRelay(taskId, safeAddress, type, chainId) } } @@ -109,6 +109,8 @@ const usePendingSafeStatus = (): void => { useEffect(() => { const unsubFns = Object.entries(safeCreationPendingStatuses).map(([event, status]) => safeCreationSubscribe(event as SafeCreationEvent, async (detail) => { + const creationChainId = 'chainId' in detail ? detail.chainId : chainId + if (event === SafeCreationEvent.SUCCESS) { gtmSetSafeAddress(detail.safeAddress) @@ -120,23 +122,24 @@ const usePendingSafeStatus = (): void => { trackEvent(CREATE_SAFE_EVENTS.CREATED_SAFE) } - pollSafeInfo(chainId, detail.safeAddress).finally(() => { + pollSafeInfo(creationChainId, detail.safeAddress).finally(() => { safeCreationDispatch(SafeCreationEvent.INDEXED, { groupKey: detail.groupKey, safeAddress: detail.safeAddress, + chainId: creationChainId, }) }) return } if (event === SafeCreationEvent.INDEXED) { - dispatch(removeUndeployedSafe({ chainId, address: detail.safeAddress })) + dispatch(removeUndeployedSafe({ chainId: creationChainId, address: detail.safeAddress })) } if (status === null) { dispatch( updateUndeployedSafeStatus({ - chainId, + chainId: creationChainId, address: detail.safeAddress, status: { status: PendingSafeStatus.AWAITING_EXECUTION, @@ -151,7 +154,7 @@ const usePendingSafeStatus = (): void => { dispatch( updateUndeployedSafeStatus({ - chainId, + chainId: creationChainId, address: detail.safeAddress, status: { status, diff --git a/src/features/counterfactual/services/safeCreationEvents.ts b/src/features/counterfactual/services/safeCreationEvents.ts index 1e65d807de..668d185c36 100644 --- a/src/features/counterfactual/services/safeCreationEvents.ts +++ b/src/features/counterfactual/services/safeCreationEvents.ts @@ -25,10 +25,12 @@ export interface SafeCreationEvents { groupKey: string safeAddress: string type: PayMethod + chainId: string } [SafeCreationEvent.INDEXED]: { groupKey: string safeAddress: string + chainId: string } [SafeCreationEvent.FAILED]: { groupKey: string diff --git a/src/features/counterfactual/utils.ts b/src/features/counterfactual/utils.ts index e4ba6d7dc3..1042177a69 100644 --- a/src/features/counterfactual/utils.ts +++ b/src/features/counterfactual/utils.ts @@ -189,7 +189,7 @@ const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)) * @param txHash * @param maxAttempts */ -async function retryGetTransaction(provider: Provider, txHash: string, maxAttempts = 6) { +async function retryGetTransaction(provider: Provider, txHash: string, maxAttempts = 8) { for (let attempt = 0; attempt < maxAttempts; attempt++) { const txResponse = await provider.getTransaction(txHash) if (txResponse !== null) { @@ -208,6 +208,7 @@ export const checkSafeActivation = async ( txHash: string, safeAddress: string, type: PayMethod, + chainId: string, startBlock?: number, ) => { try { @@ -233,6 +234,7 @@ export const checkSafeActivation = async ( groupKey: CF_TX_GROUP_KEY, safeAddress, type, + chainId, }) } catch (err) { const _err = err as EthersError @@ -242,6 +244,7 @@ export const checkSafeActivation = async ( groupKey: CF_TX_GROUP_KEY, safeAddress, type, + chainId, }) return } @@ -263,7 +266,7 @@ export const checkSafeActivation = async ( } } -export const checkSafeActionViaRelay = (taskId: string, safeAddress: string, type: PayMethod) => { +export const checkSafeActionViaRelay = (taskId: string, safeAddress: string, type: PayMethod, chainId: string) => { const TIMEOUT_TIME = 2 * 60 * 1000 // 2 minutes let intervalId: NodeJS.Timeout @@ -281,6 +284,7 @@ export const checkSafeActionViaRelay = (taskId: string, safeAddress: string, typ groupKey: CF_TX_GROUP_KEY, safeAddress, type, + chainId, }) break case TaskState.ExecReverted: From d89f1efb3d691dab3852d47a14c185529406c786 Mon Sep 17 00:00:00 2001 From: Arya Nair Date: Fri, 4 Oct 2024 13:45:11 +0530 Subject: [PATCH 10/12] Bug chain prefix toggle (#4271) * fix(UI): chain prefix toggle in address display * chore: fix linting issues * fix(UI): logic for chain prefix toggle --- src/components/sidebar/QrCodeButton/QrModal.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/sidebar/QrCodeButton/QrModal.tsx b/src/components/sidebar/QrCodeButton/QrModal.tsx index 50f5b15e82..04ec8df5ba 100644 --- a/src/components/sidebar/QrCodeButton/QrModal.tsx +++ b/src/components/sidebar/QrCodeButton/QrModal.tsx @@ -47,7 +47,13 @@ const QrModal = ({ onClose }: { onClose: () => void }): ReactElement => { /> - + 0} + hasExplorer + showCopyButton + /> From 1ebb25cdd0bb636c8815a4217262a7c990d08487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=B3vis=20Neto?= Date: Fri, 4 Oct 2024 10:30:28 +0200 Subject: [PATCH 11/12] fix(display-raw-data): Show raw data when the method name and parameters is missing in a tx (#4260) * fix(display-raw-data): show raw data if no params and method exists in a tx * chore(readability): improve condition readability * chore(unit-tests): add raw data test case in DecodedTx component --- .../TxDetails/TxData/DecodedData/index.tsx | 3 +- src/components/tx/DecodedTx/index.test.tsx | 40 +++++++++++++++++++ src/components/tx/DecodedTx/index.tsx | 2 +- 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/src/components/transactions/TxDetails/TxData/DecodedData/index.tsx b/src/components/transactions/TxDetails/TxData/DecodedData/index.tsx index c8d23ff1dd..37f8735a4d 100644 --- a/src/components/transactions/TxDetails/TxData/DecodedData/index.tsx +++ b/src/components/transactions/TxDetails/TxData/DecodedData/index.tsx @@ -48,9 +48,10 @@ export const DecodedData = ({ txData, toInfo }: Props): ReactElement | null => { ? 'this Safe Account' : addressInfo?.name || toInfo?.name || txData.to.name const avatar = addressInfo?.logoUri || toInfo?.logoUri || txData.to.logoUri + const isFallback = !method && !txData?.dataDecoded?.parameters let decodedData = <> - if (txData.dataDecoded) { + if (txData.dataDecoded && !isFallback) { decodedData = } else if (txData.hexData) { // When no decoded data, display raw hex data diff --git a/src/components/tx/DecodedTx/index.test.tsx b/src/components/tx/DecodedTx/index.test.tsx index 73d0d222db..078c5c8895 100644 --- a/src/components/tx/DecodedTx/index.test.tsx +++ b/src/components/tx/DecodedTx/index.test.tsx @@ -2,6 +2,7 @@ import { fireEvent, render } from '@/tests/test-utils' import { type SafeTransaction } from '@safe-global/safe-core-sdk-types' import DecodedTx from '.' import { waitFor } from '@testing-library/react' +import type { DecodedDataResponse } from '@safe-global/safe-gateway-typescript-sdk' describe('DecodedTx', () => { it('should render a native transfer', async () => { @@ -52,6 +53,45 @@ describe('DecodedTx', () => { }) }) + it('should render a transfer with custom data details', async () => { + const result = render( + , + ) + + expect(result.queryByText('Value:')).toBeInTheDocument() + expect(result.queryByText('Data (hex-encoded)')).toBeInTheDocument() + + fireEvent.click(result.getByText('Advanced details')) + + await waitFor(() => { + expect(result.queryByText('safeTxGas:')).toBeInTheDocument() + expect(result.queryByText('Raw data:')).toBeInTheDocument() + }) + }) + it('should render an ERC20 transfer', async () => { const result = render( { trackEvent({ ...MODALS_EVENTS.TX_DETAILS, label: expanded ? 'Open' : 'Close' }) } - const addressInfoIndex = txDetails?.txData?.addressInfoIndex const txData = { dataDecoded: decodedData, to: { value: tx?.data.to || '' }, value: tx?.data.value, + hexData: tx?.data.data, operation: tx?.data.operation === OperationType.DelegateCall ? Operation.DELEGATE : Operation.CALL, trustedDelegateCallTarget: txDetails?.txData?.trustedDelegateCallTarget ?? true, addressInfoIndex, From da41027ff5261d638880ce7cfc7243422366c0c3 Mon Sep 17 00:00:00 2001 From: Michael <30682308+mike10ca@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:30:17 +0200 Subject: [PATCH 12/12] Tests: Update readme and env example files (#4310) --- .env.example | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.env.example b/.env.example index a4f3101a82..2503d6269e 100644 --- a/.env.example +++ b/.env.example @@ -45,3 +45,5 @@ NEXT_PUBLIC_BLOCKAID_CLIENT_ID NEXT_PUBLIC_SOCIAL_WALLET_OPTIONS_STAGING= NEXT_PUBLIC_SOCIAL_WALLET_OPTIONS_PRODUCTION= +# Cypress wallet private keys +CYPRESS_WALLET_CREDENTIALS= \ No newline at end of file diff --git a/README.md b/README.md index f890fa7578..97e85fa559 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ yarn cypress:open ``` You can then choose which e2e tests to run. +Some tests will require signer private keys, please include them in your .env file ## Component template