@aurigami/sdk 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.4",
2
+ "version": "1.7.5",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -70,4 +70,4 @@
70
70
  "jest": {
71
71
  "testURL": "https://app.aurigami.finance"
72
72
  }
73
- }
73
+ }
@@ -104,6 +104,7 @@ export async function getBlocksTimestamp(
104
104
  provider: Provider,
105
105
  blockNumbers: number[]
106
106
  ): Promise<number[]> {
107
+ if (blockNumbers.length == 0) return [];
107
108
  const CHUNK_SIZE = 100; // graphql query limit
108
109
 
109
110
  let promises = [];