@atomiqlabs/chain-starknet 7.0.21 → 7.0.22

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.
@@ -22,10 +22,9 @@ class StarknetBlocks extends StarknetModule_1.StarknetModule {
22
22
  block: blockPromise,
23
23
  timestamp
24
24
  };
25
- blockPromise.catch(e => {
25
+ blockPromise.catch(() => {
26
26
  if (this.blockCache[blockTagStr] != null && this.blockCache[blockTagStr].block === blockPromise)
27
27
  delete this.blockCache[blockTagStr];
28
- throw e;
29
28
  });
30
29
  return {
31
30
  block: blockPromise,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-starknet",
3
- "version": "7.0.21",
3
+ "version": "7.0.22",
4
4
  "description": "Starknet specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -33,10 +33,9 @@ export class StarknetBlocks extends StarknetModule {
33
33
  block: blockPromise,
34
34
  timestamp
35
35
  };
36
- blockPromise.catch(e => {
36
+ blockPromise.catch(() => {
37
37
  if(this.blockCache[blockTagStr]!=null && this.blockCache[blockTagStr].block===blockPromise) delete this.blockCache[blockTagStr];
38
- throw e;
39
- })
38
+ });
40
39
  return {
41
40
  block: blockPromise,
42
41
  timestamp