Commit 2c612ff
authored
Fix JsonRpcRequest to be valid json (#130)
fix/types: JsonRpcParams should be valid JSON values
`undefined` is not valid JSON.
https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
(Section 5):
A JSON value can be an object, array, number, string, true, false, or null.1 parent 20bb059 commit 2c612ff
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments