Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/relayer

Package Overview
Dependencies
Maintainers
4
Versions
520
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/relayer - npm Package Compare versions

Comparing version 0.24.0 to 0.24.1

6

CHANGELOG.md
# @0xsequence/relayer
## 0.24.1
### Patch Changes
- relayer: wait for queued status instead of unknown
## 0.24.0

@@ -4,0 +10,0 @@

4

dist/0xsequence-relayer.cjs.dev.js

@@ -494,5 +494,5 @@ 'use strict';

metaTxID: metaTxnHash
});
}); // TODO: remove check for 'UNKNOWN' status when 'QUEUED' status is supported
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && result.receipt.status === 'UNKNOWN') {
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && (result.receipt.status === 'UNKNOWN' || result.receipt.status === 'QUEUED')) {
await new Promise(r => setTimeout(r, wait));

@@ -499,0 +499,0 @@ result = await this.service.getMetaTxnReceipt({

@@ -494,5 +494,5 @@ 'use strict';

metaTxID: metaTxnHash
});
}); // TODO: remove check for 'UNKNOWN' status when 'QUEUED' status is supported
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && result.receipt.status === 'UNKNOWN') {
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && (result.receipt.status === 'UNKNOWN' || result.receipt.status === 'QUEUED')) {
await new Promise(r => setTimeout(r, wait));

@@ -499,0 +499,0 @@ result = await this.service.getMetaTxnReceipt({

@@ -486,5 +486,5 @@ import { providers, ethers, Signer } from 'ethers';

metaTxID: metaTxnHash
});
}); // TODO: remove check for 'UNKNOWN' status when 'QUEUED' status is supported
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && result.receipt.status === 'UNKNOWN') {
while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && (result.receipt.status === 'UNKNOWN' || result.receipt.status === 'QUEUED')) {
await new Promise(r => setTimeout(r, wait));

@@ -491,0 +491,0 @@ result = await this.service.getMetaTxnReceipt({

{
"name": "@0xsequence/relayer",
"version": "0.24.0",
"version": "0.24.1",
"description": "relayer sub-package for Sequence",

@@ -5,0 +5,0 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/relayer",

@@ -57,3 +57,7 @@ import { TransactionResponse, BlockTag } from '@ethersproject/providers'

while ((!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') && result.receipt.status === 'UNKNOWN') {
// TODO: remove check for 'UNKNOWN' status when 'QUEUED' status is supported
while (
(!result.receipt.txnReceipt || result.receipt.txnReceipt === 'null') &&
(result.receipt.status === 'UNKNOWN' || result.receipt.status === 'QUEUED')
) {
await new Promise(r => setTimeout(r, wait))

@@ -60,0 +64,0 @@ result = await this.service.getMetaTxnReceipt({ metaTxID: metaTxnHash })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc