Open aaroncox opened 3 months ago
https://github.com/wharfkit/contract/blob/eec0425c87b8b5d6699f2a4e6b6b9903355f9321/src/utils.ts#L62-L64
This prevents a JS value of 0 from being used in the query. It just sets those fields as empty values. We need a better check here to get around these things that are false-y in JS.
Thank you for documenting this 🙇♂️ Just gonna comment to follow this issue until it gets fixed so I can update the workaround I made.
https://github.com/wharfkit/contract/blob/eec0425c87b8b5d6699f2a4e6b6b9903355f9321/src/utils.ts#L62-L64
This prevents a JS value of 0 from being used in the query. It just sets those fields as empty values. We need a better check here to get around these things that are false-y in JS.