Ensure record keys are lowercase

This commit is contained in:
Jim Myers 2022-05-19 22:12:49 -04:00
parent fb3394443a
commit 860ab19eae
3 changed files with 3 additions and 3 deletions

View File

@ -20,5 +20,5 @@ Fill out this [form](https://forms.gle/Hii64SznA9B9dhLJ8) if your interested in
| Language | Version | Status |
| ------------------------ | ------------- | ---------------------------------------------------------------------------------- |
| ✅ [JS/TypeScript](./js) | 1.0.0-alpha.0 | ![tests](https://github.com/flipsidecrypto/sdk/actions/workflows/ci.yml/badge.svg) |
| ✅ [JS/TypeScript](./js) | 1.0.0-alpha.1 | ![tests](https://github.com/flipsidecrypto/sdk/actions/workflows/ci.yml/badge.svg) |
| 🏗 [Python](./python/) | NA | Not Yet Available |

View File

@ -1,6 +1,6 @@
{
"name": "@flipsidecrypto/velocity",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "The official Flipside Crypto Velocity SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -90,7 +90,7 @@ export class QueryResultSetBuilder implements QueryResultSet {
return queryResultJson.results.map((result) => {
let record: QueryResultRecord = {};
result.forEach((value, index) => {
record[columnLabels[index]] = value;
record[columnLabels[index].toLowerCase()] = value;
});
return record;
});