Skip to content

Commit

Permalink
Merge pull request #239 from gnosis/bugfix/rename-token-type
Browse files Browse the repository at this point in the history
Change property name to match backend response and update types
  • Loading branch information
mmv08 authored Oct 22, 2021
2 parents 6be8835 + 9a4d3a4 commit 65a7386
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-boats-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@gnosis.pm/safe-apps-sdk': major
---

Fix type prop not matching backend response
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
path-to-signatures: 'signatures/version1/cla.json'
path-to-cla-document: 'https://gnosis-safe.io/cla/'
branch: 'cla-signatures'
allowlist: germartinez,mikheevm,rmeissner,Uxio0,dasanra,davidalbela,luarx,giacomolicari,lukasschor,tschubotz,gnosis-info,bot*,katspaugh,fmrsabino
allowlist: germartinez,mikheevm,rmeissner,Uxio0,dasanra,davidalbela,luarx,giacomolicari,lukasschor,tschubotz,gnosis-info,bot*,katspaugh,fmrsabino,yagopv
empty-commit-flag: false
blockchain-storage-flag: false
4 changes: 2 additions & 2 deletions packages/safe-apps-sdk/src/types/gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ export type MultiSigConfirmations = {
signature: string | null;
};

export type TokenType = 'ERC721' | 'ERC20' | 'ETHER';
export type TokenType = 'ERC721' | 'ERC20' | 'NATIVE_TOKEN';

export type TokenInfo = {
tokenType: TokenType;
type: TokenType;
address: string;
decimals: number;
symbol: string;
Expand Down

0 comments on commit 65a7386

Please sign in to comment.