wharfkit / contract

Access table data, create actions, and retrieve types for Antelope-based Smart Contracts
https://wharfkit.com
Other
1 stars 1 forks source link

Option to set the `json: false` flag on `get_table_rows` back to `true` #28

Open aaroncox opened 11 months ago

aaroncox commented 11 months ago

For debugging and maybe specific use cases, it would be good if the json flag on the table query could be set back to true.

Right now its hardcoded in two places to false.

https://github.com/wharfkit/contract/blob/405bee17ec1a08d1903687d3a68e8d077a387ab0/src/contract/table.ts#L148

https://github.com/wharfkit/contract/blob/405bee17ec1a08d1903687d3a68e8d077a387ab0/src/contract/table-cursor.ts#L111