@atomiqlabs/chain-starknet 3.1.0-beta.13 → 3.1.0-beta.14
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.
|
@@ -186,6 +186,8 @@ class StarknetChainEventsBrowser {
|
|
|
186
186
|
parsedEvent = this.parseSpvCloseEvent(event);
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
|
+
if (parsedEvent == null)
|
|
190
|
+
continue;
|
|
189
191
|
const timestamp = event.blockNumber == null ? pendingEventTime : await getBlockTimestamp(event.blockNumber);
|
|
190
192
|
parsedEvent.meta = {
|
|
191
193
|
blockTime: timestamp,
|
package/package.json
CHANGED
|
@@ -282,6 +282,7 @@ export class StarknetChainEventsBrowser implements ChainEvents<StarknetSwapData>
|
|
|
282
282
|
parsedEvent = this.parseSpvCloseEvent(event as any);
|
|
283
283
|
break;
|
|
284
284
|
}
|
|
285
|
+
if(parsedEvent==null) continue;
|
|
285
286
|
const timestamp = event.blockNumber==null ? pendingEventTime : await getBlockTimestamp(event.blockNumber);
|
|
286
287
|
parsedEvent.meta = {
|
|
287
288
|
blockTime: timestamp,
|