(obj: unknown)
| 181 | }; |
| 182 | |
| 183 | export const stringify = (obj: unknown): string => { |
| 184 | return JSON.stringify( |
| 185 | obj, |
| 186 | (_, value) => (typeof value === 'bigint' ? value.toString() : value), // return everything else unchanged |
| 187 | ); |
| 188 | }; |
| 189 | |
| 190 | // This function is used to transform the IDL to only have update calls, all query and composite query calls are |
| 191 | // converted to update calls. This is useful to be able to dynamically leverage verification of calls for security |
no test coverage detected