Commit 0531d5ee authored by yann300's avatar yann300

type name for string

parent 2e8babeb
...@@ -30,7 +30,8 @@ function format (decoded) { ...@@ -30,7 +30,8 @@ function format (decoded) {
value = value.replace('0x', '').replace(/(..)/g, '%$1') value = value.replace('0x', '').replace(/(..)/g, '%$1')
var ret = { var ret = {
length: decoded.length, length: decoded.length,
raw: decoded.value raw: decoded.value,
type: 'string'
} }
try { try {
ret.value = decodeURIComponent(value) ret.value = decodeURIComponent(value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment