github safe-global/safe-client-gateway v1.5.0

latest releases: v1.55.0, v1.54.0, v1.53.0...
12 months ago

What's Changed

Human-Readable Descriptions – Rich Fragments (feature preview)

The Human-Readable description rich fragments are now available alongside the humanDescription (string) that was returned. #671

With the fragments available, a frontend application can now apply client-side specific logic to each component (e.g.: styling).

The components currently available are:

  • text – contains a simple text fragment.
  • tokenValue – contains the amount, logo and symbol of the token involved in this action.
  • address – contains a full Ethereum address.

These components are returned on the txInfo object (where you can also find the humanDescription):

{
  ...
  "txInfo": {
    ...
    "humanDescription": <string | null>
    "richDecodedInfo": <[RichDecodedInfoFragment] | null>
  }
}

Where a RichDecodedInfoFragment can be one of the following:

{
  "type": "text",
  "value": <string>
}
{
  "type": "tokenValue",
  "value": <string>,
  "symbol": <string | null>, // null if there is no token information available
  "logoUri": <stringified-uri | null>, // null if there is no token information available
}
{
  "type": "address",
  "value": <stringified-address>,
}

timezone_offset query parameter now available for queued transactions

GET chains/:chainId/safes/:safeAddress/transactions/queued now accepts a timezone_offset as a query parameter. This parameter can be used to set the timestamp for each queued transaction according to the user's timezone. #670

Other changes

  • refactor: Use path alias instead of relative imports in #633
  • fix: increase history timezone_offset precision in #669
  • build(deps): bump actions/checkout from 3 to 4 in #678
  • build(deps): bump @nestjs/core from 10.2.0 to 10.2.4 in #674
  • build(deps): bump @nestjs/common from 10.2.0 to 10.2.4 in #675
  • build(deps): bump coverallsapp/github-action from 2.2.1 to 2.2.2 in #679
  • build(deps-dev): bump @types/node from 20.5.1 to 20.5.9 in #673
  • build(deps-dev): bump @nestjs/testing from 10.2.0 to 10.2.4 in #676
  • build(deps-dev): bump @typescript-eslint/parser from 6.3.0 to 6.6.0 in #677

Full Changelog: v1.4.0...v1.5.0

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

NewReleases is sending notifications on new releases.