Skip to content

Commit 32042e3

Browse files
authored
Add humanDescription to TransactionInfo type (#127)
* Add humanDescription to TransactionInfo type * chore: Update version
1 parent f046a87 commit 32042e3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe-global/safe-gateway-typescript-sdk",
3-
"version": "3.8.1",
3+
"version": "3.9.0",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"files": [

src/types/transactions.ts

+5
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export type Transfer = {
124124
recipient: AddressEx
125125
direction: TransferDirection
126126
transferInfo: TransferInfo
127+
humanDescription?: string
127128
}
128129

129130
export type SetFallbackHandler = {
@@ -194,6 +195,7 @@ export type SettingsChange = {
194195
type: TransactionInfoType.SETTINGS_CHANGE
195196
dataDecoded: DataDecoded
196197
settingsInfo?: SettingsInfo
198+
humanDescription?: string
197199
}
198200

199201
export type Custom = {
@@ -204,6 +206,7 @@ export type Custom = {
204206
methodName?: string
205207
actionCount?: number
206208
isCancellation: boolean
209+
humanDescription?: string
207210
}
208211

209212
export type MultiSend = {
@@ -214,6 +217,7 @@ export type MultiSend = {
214217
methodName: 'multiSend'
215218
actionCount: number
216219
isCancellation: boolean
220+
humanDescription?: string
217221
}
218222

219223
export type Cancellation = Custom & {
@@ -226,6 +230,7 @@ export type Creation = {
226230
transactionHash: string
227231
implementation?: AddressEx
228232
factory?: AddressEx
233+
humanDescription?: string
229234
}
230235

231236
export type TransactionInfo = Transfer | SettingsChange | Custom | MultiSend | Cancellation | Creation

0 commit comments

Comments
 (0)