Skip to content

Commit eccf626

Browse files
authored
fix: update decoded data param types (#59)
* fix: update decoded data param types * chore: bump version
1 parent 221a5d5 commit eccf626

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gnosis.pm/safe-react-gateway-sdk",
3-
"version": "2.8.5",
3+
"version": "2.8.6",
44
"main": "dist/index.min.js",
55
"types": "dist/index.d.ts",
66
"files": [

src/types/decoded-data.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ export type DecodedDataRequest = {
22
data: string
33
}
44

5+
type ParamValue = string | ParamValue[]
6+
57
export type DecodedDataBasicParameter = {
68
name: string
79
type: string
8-
value: string
10+
value: ParamValue
911
}
12+
1013
export type DecodedDataParameterValue = {
1114
operation: 0 | 1
1215
to: string

0 commit comments

Comments
 (0)