Skip to content

Commit

Permalink
docs: update regex syntax in Wagmi README (#582)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Daniel Dimitrov <[email protected]>
  • Loading branch information
3 people authored Jun 12, 2024
1 parent 4855af3 commit f27a7d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dirty-meals-serve.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/safe-apps-wagmi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config = createConfig({
new SafeConnector({
chains,
options: {
allowedDomains: [/app.safe.global$/],
allowedDomains: [/^app\.safe\.global$/],
debug: false,
},
}),
Expand Down

0 comments on commit f27a7d7

Please sign in to comment.