github 5afe/safe-client-gateway v3.15.0
Version 3.15.0

latest releases: v3.53.0, v3.52.0, v3.51.0...
2 years ago

What's Changed

  • Some Safe Apps might set access restrictions (eg.: for the host that is accessing those same apps). Each Safe App now includes a collection of restrictions (if any exist) for a specific Safe App, allowing the clients the possibility of handling apps that are restricted in a different way #774
  • Current available types of restrictions:
    • NO_RESTRICTIONS – no restrictions set for this Safe App
    • DOMAIN_ALLOWLIST – only domains set in the returned collection are allowed to access the Safe App
  • Clients can use the query parameter ?client_url=<domain> to retrieve apps that are set to have no restrictions and restricted to that domain
GET /api/v1/chains/<chain_id>/safe-apps
{
  "accessControl": {
    "type": "NO_RESTRICTIONS" // No restrictions for this safe app
  },
}
GET /api/v1/chains/<chain_id>/safe-apps
{
  "accessControl": {
    "type": "DOMAIN_ALLOWLIST",
    "value": [
      "http://domain.com" // This domain is the only one allowed to access this Safe App. Accessing from any other is not guaranteed to work
    ]
  }
}

Full Changelog: v3.14.0...v3.15.0

Don't miss a new safe-client-gateway release

NewReleases is sending notifications on new releases.