From f27a7d77a76ecb065c0cb18ad69200c116168baa Mon Sep 17 00:00:00 2001 From: Daniel <25051234+dasanra@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:54:33 +0200 Subject: [PATCH] docs: update regex syntax in Wagmi README (#582) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Docs: fix regex syntax in SDK examples (#579) * Feat extended safe info (#580) api-kit’s getSafeInfo endpoint returns way more information than our communicator’s getInfo endpoint. This causes some dapps to use the getInfo endpoint for just the readOnly flag (when running in an iframe) and then to do api-kit getSafeInfo for the nonce and other props. By returning nearly the same information from the getInfo endpoint we make developers live easier. * chore: update allowed domain in Wagmi README --------- Co-authored-by: katspaugh <381895+katspaugh@users.noreply.github.com> Co-authored-by: Daniel Dimitrov --- .changeset/dirty-meals-serve.md | 5 +++++ packages/safe-apps-wagmi/README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/dirty-meals-serve.md diff --git a/.changeset/dirty-meals-serve.md b/.changeset/dirty-meals-serve.md new file mode 100644 index 00000000..70144d39 --- /dev/null +++ b/.changeset/dirty-meals-serve.md @@ -0,0 +1,5 @@ +--- +'@safe-global/safe-apps-sdk': minor +--- + +safe.getInfo() endpoint should return extended safe information similar to api-kit's getSafeInfo endpoint diff --git a/packages/safe-apps-wagmi/README.md b/packages/safe-apps-wagmi/README.md index 451e7873..4db71678 100644 --- a/packages/safe-apps-wagmi/README.md +++ b/packages/safe-apps-wagmi/README.md @@ -24,7 +24,7 @@ const config = createConfig({ new SafeConnector({ chains, options: { - allowedDomains: [/app.safe.global$/], + allowedDomains: [/^app\.safe\.global$/], debug: false, }, }),