mirror of
https://github.com/FlipsideCrypto/sdk.git
synced 2026-02-06 10:46:43 +00:00
Ensure record keys are lowercase
This commit is contained in:
parent
fb3394443a
commit
860ab19eae
@ -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 |  |
|
||||
| ✅ [JS/TypeScript](./js) | 1.0.0-alpha.1 |  |
|
||||
| 🏗 [Python](./python/) | NA | Not Yet Available |
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user