@atomiqlabs/chain-starknet 2.0.0-beta.0 → 2.0.0-beta.1
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.
|
@@ -241,10 +241,8 @@ class StarknetChainEventsBrowser {
|
|
|
241
241
|
lastTxHashes ?? (lastTxHashes = []);
|
|
242
242
|
const currentBlock = await this.provider.getBlockWithTxHashes("latest");
|
|
243
243
|
const currentBlockNumber = currentBlock.block_number;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
lastTxHashes[1] = await this.checkEventsSpvVaults(lastTxHashes[1], lastBlockNumber, currentBlock);
|
|
247
|
-
}
|
|
244
|
+
lastTxHashes[0] = await this.checkEventsEcrowManager(lastTxHashes[0], lastBlockNumber, currentBlock);
|
|
245
|
+
lastTxHashes[1] = await this.checkEventsSpvVaults(lastTxHashes[1], lastBlockNumber, currentBlock);
|
|
248
246
|
return {
|
|
249
247
|
txHashes: lastTxHashes,
|
|
250
248
|
blockNumber: currentBlockNumber
|
package/package.json
CHANGED
|
@@ -353,10 +353,8 @@ export class StarknetChainEventsBrowser implements ChainEvents<StarknetSwapData>
|
|
|
353
353
|
const currentBlock = await this.provider.getBlockWithTxHashes("latest");
|
|
354
354
|
const currentBlockNumber: number = (currentBlock as any).block_number;
|
|
355
355
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
lastTxHashes[1] = await this.checkEventsSpvVaults(lastTxHashes[1], lastBlockNumber, currentBlock as any);
|
|
359
|
-
}
|
|
356
|
+
lastTxHashes[0] = await this.checkEventsEcrowManager(lastTxHashes[0], lastBlockNumber, currentBlock as any);
|
|
357
|
+
lastTxHashes[1] = await this.checkEventsSpvVaults(lastTxHashes[1], lastBlockNumber, currentBlock as any);
|
|
360
358
|
|
|
361
359
|
return {
|
|
362
360
|
txHashes: lastTxHashes,
|