@0xsequence/relayer 2.3.42 → 2.3.44

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,7 +241,10 @@ class LocalRelayer extends ProviderRelayer {
241
241
  return {
242
242
  page: {
243
243
  page: 0,
244
- pageSize: 100
244
+ pageSize: 100,
245
+ more: false,
246
+ column: '',
247
+ sort: []
245
248
  },
246
249
  transactions: []
247
250
  };
@@ -255,7 +258,10 @@ class LocalRelayer extends ProviderRelayer {
255
258
  return {
256
259
  page: {
257
260
  page: 0,
258
- pageSize: 100
261
+ pageSize: 100,
262
+ more: false,
263
+ column: '',
264
+ sort: []
259
265
  },
260
266
  gasSponsors: []
261
267
  };
@@ -283,20 +289,20 @@ function isAbstractSigner(signer) {
283
289
  }
284
290
 
285
291
  /* eslint-disable */
286
- // sequence-relayer v0.4.1 7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f
292
+ // sequence-relayer v0.4.1 b5902e32e652488166fc44a95f5cda0c67e10d82
287
293
  // --
288
- // Code generated by Webrpc-gen@v0.31.2 with typescript generator. DO NOT EDIT.
294
+ // Code generated by Webrpc-gen@v0.32.2 with typescript generator. DO NOT EDIT.
289
295
  //
290
296
  // webrpc-gen -schema=relayer.ridl -target=typescript -client -out=./clients/relayer.gen.ts -compat
291
297
 
292
298
  // Webrpc description and code-gen version
293
- const WebrpcVersion = 'v1';
299
+ const WebrpcVersion = "v1";
294
300
 
295
301
  // Schema version of your RIDL schema
296
- const WebrpcSchemaVersion = 'v0.4.1';
302
+ const WebrpcSchemaVersion = "v0.4.1";
297
303
 
298
304
  // Schema hash generated from your RIDL schema
299
- const WebrpcSchemaHash = '7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f';
305
+ const WebrpcSchemaHash = "b5902e32e652488166fc44a95f5cda0c67e10d82";
300
306
 
301
307
  //
302
308
  // Client interface
@@ -306,6 +312,12 @@ const WebrpcSchemaHash = '7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f';
306
312
  // Schema types
307
313
  //
308
314
 
315
+ let RepairOperation = /*#__PURE__*/function (RepairOperation) {
316
+ RepairOperation["SKIP"] = "SKIP";
317
+ RepairOperation["REQUEUE"] = "REQUEUE";
318
+ RepairOperation["DROP"] = "DROP";
319
+ return RepairOperation;
320
+ }({});
309
321
  let ETHTxnStatus = /*#__PURE__*/function (ETHTxnStatus) {
310
322
  ETHTxnStatus["UNKNOWN"] = "UNKNOWN";
311
323
  ETHTxnStatus["DROPPED"] = "DROPPED";
@@ -315,6 +327,7 @@ let ETHTxnStatus = /*#__PURE__*/function (ETHTxnStatus) {
315
327
  ETHTxnStatus["PARTIALLY_FAILED"] = "PARTIALLY_FAILED";
316
328
  ETHTxnStatus["FAILED"] = "FAILED";
317
329
  ETHTxnStatus["PENDING_PRECONDITION"] = "PENDING_PRECONDITION";
330
+ ETHTxnStatus["MINED"] = "MINED";
318
331
  return ETHTxnStatus;
319
332
  }({});
320
333
  let TransferType = /*#__PURE__*/function (TransferType) {
@@ -341,10 +354,10 @@ let FeeTokenType = /*#__PURE__*/function (FeeTokenType) {
341
354
  FeeTokenType["ERC1155_TOKEN"] = "ERC1155_TOKEN";
342
355
  return FeeTokenType;
343
356
  }({});
344
- let SortOrder = /*#__PURE__*/function (SortOrder) {
345
- SortOrder["DESC"] = "DESC";
346
- SortOrder["ASC"] = "ASC";
347
- return SortOrder;
357
+ let Order = /*#__PURE__*/function (Order) {
358
+ Order["DESC"] = "DESC";
359
+ Order["ASC"] = "ASC";
360
+ return Order;
348
361
  }({});
349
362
  //
350
363
  // Client
@@ -369,11 +382,14 @@ class Relayer {
369
382
  updateMetaTxnGasLimits: req => ['Relayer', 'updateMetaTxnGasLimits', req],
370
383
  feeTokens: () => ['Relayer', 'feeTokens'],
371
384
  feeOptions: req => ['Relayer', 'feeOptions', req],
385
+ sendMetaTxnWithBridgeGas: req => ['Relayer', 'sendMetaTxnWithBridgeGas', req],
386
+ feeOptionsWithBridgeGas: req => ['Relayer', 'feeOptionsWithBridgeGas', req],
372
387
  getMetaTxnNetworkFeeOptions: req => ['Relayer', 'getMetaTxnNetworkFeeOptions', req],
388
+ startSender: req => ['Relayer', 'startSender', req],
389
+ stopSender: req => ['Relayer', 'stopSender', req],
390
+ repairSender: req => ['Relayer', 'repairSender', req],
373
391
  getMetaTransactions: req => ['Relayer', 'getMetaTransactions', req],
374
392
  getTransactionCost: req => ['Relayer', 'getTransactionCost', req],
375
- sentTransactions: req => ['Relayer', 'sentTransactions', req],
376
- pendingTransactions: req => ['Relayer', 'pendingTransactions', req],
377
393
  getGasTank: req => ['Relayer', 'getGasTank', req],
378
394
  addGasTank: req => ['Relayer', 'addGasTank', req],
379
395
  updateGasTank: req => ['Relayer', 'updateGasTank', req],
@@ -386,6 +402,11 @@ class Relayer {
386
402
  addGasSponsor: req => ['Relayer', 'addGasSponsor', req],
387
403
  updateGasSponsor: req => ['Relayer', 'updateGasSponsor', req],
388
404
  removeGasSponsor: req => ['Relayer', 'removeGasSponsor', req],
405
+ listEcosystemGasSponsors: req => ['Relayer', 'listEcosystemGasSponsors', req],
406
+ getEcosystemGasSponsor: req => ['Relayer', 'getEcosystemGasSponsor', req],
407
+ addEcosystemGasSponsor: req => ['Relayer', 'addEcosystemGasSponsor', req],
408
+ updateEcosystemGasSponsor: req => ['Relayer', 'updateEcosystemGasSponsor', req],
409
+ removeEcosystemGasSponsor: req => ['Relayer', 'removeEcosystemGasSponsor', req],
389
410
  addressGasSponsors: req => ['Relayer', 'addressGasSponsors', req],
390
411
  getProjectBalance: req => ['Relayer', 'getProjectBalance', req],
391
412
  adjustProjectBalance: req => ['Relayer', 'adjustProjectBalance', req]
@@ -533,6 +554,28 @@ class Relayer {
533
554
  });
534
555
  });
535
556
  };
557
+ this.sendMetaTxnWithBridgeGas = (req, headers, signal) => {
558
+ return this.fetch(this.url('SendMetaTxnWithBridgeGas'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
559
+ return buildResponse(res).then(_data => {
560
+ return JsonDecode(_data, 'SendMetaTxnWithBridgeGasReturn');
561
+ });
562
+ }, error => {
563
+ throw WebrpcRequestFailedError.new({
564
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
565
+ });
566
+ });
567
+ };
568
+ this.feeOptionsWithBridgeGas = (req, headers, signal) => {
569
+ return this.fetch(this.url('FeeOptionsWithBridgeGas'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
570
+ return buildResponse(res).then(_data => {
571
+ return JsonDecode(_data, 'FeeOptionsWithBridgeGasReturn');
572
+ });
573
+ }, error => {
574
+ throw WebrpcRequestFailedError.new({
575
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
576
+ });
577
+ });
578
+ };
536
579
  this.getMetaTxnNetworkFeeOptions = (req, headers, signal) => {
537
580
  return this.fetch(this.url('GetMetaTxnNetworkFeeOptions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
538
581
  return buildResponse(res).then(_data => {
@@ -544,10 +587,10 @@ class Relayer {
544
587
  });
545
588
  });
546
589
  };
547
- this.getMetaTransactions = (req, headers, signal) => {
548
- return this.fetch(this.url('GetMetaTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
590
+ this.startSender = (req, headers, signal) => {
591
+ return this.fetch(this.url('StartSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
549
592
  return buildResponse(res).then(_data => {
550
- return JsonDecode(_data, 'GetMetaTransactionsReturn');
593
+ return JsonDecode(_data, 'StartSenderReturn');
551
594
  });
552
595
  }, error => {
553
596
  throw WebrpcRequestFailedError.new({
@@ -555,10 +598,10 @@ class Relayer {
555
598
  });
556
599
  });
557
600
  };
558
- this.getTransactionCost = (req, headers, signal) => {
559
- return this.fetch(this.url('GetTransactionCost'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
601
+ this.stopSender = (req, headers, signal) => {
602
+ return this.fetch(this.url('StopSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
560
603
  return buildResponse(res).then(_data => {
561
- return JsonDecode(_data, 'GetTransactionCostReturn');
604
+ return JsonDecode(_data, 'StopSenderReturn');
562
605
  });
563
606
  }, error => {
564
607
  throw WebrpcRequestFailedError.new({
@@ -566,10 +609,10 @@ class Relayer {
566
609
  });
567
610
  });
568
611
  };
569
- this.sentTransactions = (req, headers, signal) => {
570
- return this.fetch(this.url('SentTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
612
+ this.repairSender = (req, headers, signal) => {
613
+ return this.fetch(this.url('RepairSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
571
614
  return buildResponse(res).then(_data => {
572
- return JsonDecode(_data, 'SentTransactionsReturn');
615
+ return JsonDecode(_data, 'RepairSenderReturn');
573
616
  });
574
617
  }, error => {
575
618
  throw WebrpcRequestFailedError.new({
@@ -577,10 +620,21 @@ class Relayer {
577
620
  });
578
621
  });
579
622
  };
580
- this.pendingTransactions = (req, headers, signal) => {
581
- return this.fetch(this.url('PendingTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
623
+ this.getMetaTransactions = (req, headers, signal) => {
624
+ return this.fetch(this.url('GetMetaTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
582
625
  return buildResponse(res).then(_data => {
583
- return JsonDecode(_data, 'PendingTransactionsReturn');
626
+ return JsonDecode(_data, 'GetMetaTransactionsReturn');
627
+ });
628
+ }, error => {
629
+ throw WebrpcRequestFailedError.new({
630
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
631
+ });
632
+ });
633
+ };
634
+ this.getTransactionCost = (req, headers, signal) => {
635
+ return this.fetch(this.url('GetTransactionCost'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
636
+ return buildResponse(res).then(_data => {
637
+ return JsonDecode(_data, 'GetTransactionCostReturn');
584
638
  });
585
639
  }, error => {
586
640
  throw WebrpcRequestFailedError.new({
@@ -720,6 +774,61 @@ class Relayer {
720
774
  });
721
775
  });
722
776
  };
777
+ this.listEcosystemGasSponsors = (req, headers, signal) => {
778
+ return this.fetch(this.url('ListEcosystemGasSponsors'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
779
+ return buildResponse(res).then(_data => {
780
+ return JsonDecode(_data, 'ListEcosystemGasSponsorsReturn');
781
+ });
782
+ }, error => {
783
+ throw WebrpcRequestFailedError.new({
784
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
785
+ });
786
+ });
787
+ };
788
+ this.getEcosystemGasSponsor = (req, headers, signal) => {
789
+ return this.fetch(this.url('GetEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
790
+ return buildResponse(res).then(_data => {
791
+ return JsonDecode(_data, 'GetEcosystemGasSponsorReturn');
792
+ });
793
+ }, error => {
794
+ throw WebrpcRequestFailedError.new({
795
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
796
+ });
797
+ });
798
+ };
799
+ this.addEcosystemGasSponsor = (req, headers, signal) => {
800
+ return this.fetch(this.url('AddEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
801
+ return buildResponse(res).then(_data => {
802
+ return JsonDecode(_data, 'AddEcosystemGasSponsorReturn');
803
+ });
804
+ }, error => {
805
+ throw WebrpcRequestFailedError.new({
806
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
807
+ });
808
+ });
809
+ };
810
+ this.updateEcosystemGasSponsor = (req, headers, signal) => {
811
+ return this.fetch(this.url('UpdateEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
812
+ return buildResponse(res).then(_data => {
813
+ return JsonDecode(_data, 'UpdateEcosystemGasSponsorReturn');
814
+ });
815
+ }, error => {
816
+ throw WebrpcRequestFailedError.new({
817
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
818
+ });
819
+ });
820
+ };
821
+ this.removeEcosystemGasSponsor = (req, headers, signal) => {
822
+ return this.fetch(this.url('RemoveEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
823
+ return buildResponse(res).then(_data => {
824
+ return JsonDecode(_data, 'RemoveEcosystemGasSponsorReturn');
825
+ });
826
+ }, error => {
827
+ throw WebrpcRequestFailedError.new({
828
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
829
+ });
830
+ });
831
+ };
723
832
  this.addressGasSponsors = (req, headers, signal) => {
724
833
  return this.fetch(this.url('AddressGasSponsors'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
725
834
  return buildResponse(res).then(_data => {
@@ -796,6 +905,7 @@ const buildResponse = res => {
796
905
 
797
906
  const BIG_INT_FIELDS = {
798
907
  SendMetaTxnArgs: [['preconditions', 'TransactionPrecondition[]']],
908
+ SendMetaTxnWithBridgeGasArgs: [['preconditions', 'TransactionPrecondition[]']],
799
909
  TransactionPrecondition: ['minAmount'],
800
910
  Transactions: [['preconditions', 'TransactionPrecondition[]']]
801
911
  };
@@ -1148,7 +1258,7 @@ class AccessKeyMismatchError extends WebrpcError {
1148
1258
  this.name = error.name || 'AccessKeyMismatch';
1149
1259
  this.code = typeof error.code === 'number' ? error.code : 1102;
1150
1260
  this.message = error.message || `Access key mismatch`;
1151
- this.status = typeof error.status === 'number' ? error.status : 409;
1261
+ this.status = typeof error.status === 'number' ? error.status : 403;
1152
1262
  if (error.cause !== undefined) this.cause = error.cause;
1153
1263
  Object.setPrototypeOf(this, AccessKeyMismatchError.prototype);
1154
1264
  }
@@ -1186,6 +1296,17 @@ class UnauthorizedUserError extends WebrpcError {
1186
1296
  Object.setPrototypeOf(this, UnauthorizedUserError.prototype);
1187
1297
  }
1188
1298
  }
1299
+ class InvalidChainError extends WebrpcError {
1300
+ constructor(error = {}) {
1301
+ super(error);
1302
+ this.name = error.name || 'InvalidChain';
1303
+ this.code = typeof error.code === 'number' ? error.code : 1106;
1304
+ this.message = error.message || `Network not enabled for Access key`;
1305
+ this.status = typeof error.status === 'number' ? error.status : 403;
1306
+ if (error.cause !== undefined) this.cause = error.cause;
1307
+ Object.setPrototypeOf(this, InvalidChainError.prototype);
1308
+ }
1309
+ }
1189
1310
  class QuotaExceededError extends WebrpcError {
1190
1311
  constructor(error = {}) {
1191
1312
  super(error);
@@ -1355,6 +1476,7 @@ let errors = /*#__PURE__*/function (errors) {
1355
1476
  errors["InvalidOrigin"] = "InvalidOrigin";
1356
1477
  errors["InvalidService"] = "InvalidService";
1357
1478
  errors["UnauthorizedUser"] = "UnauthorizedUser";
1479
+ errors["InvalidChain"] = "InvalidChain";
1358
1480
  errors["QuotaExceeded"] = "QuotaExceeded";
1359
1481
  errors["QuotaRateLimit"] = "QuotaRateLimit";
1360
1482
  errors["NoDefaultKey"] = "NoDefaultKey";
@@ -1396,6 +1518,7 @@ let WebrpcErrorCodes = /*#__PURE__*/function (WebrpcErrorCodes) {
1396
1518
  WebrpcErrorCodes[WebrpcErrorCodes["InvalidOrigin"] = 1103] = "InvalidOrigin";
1397
1519
  WebrpcErrorCodes[WebrpcErrorCodes["InvalidService"] = 1104] = "InvalidService";
1398
1520
  WebrpcErrorCodes[WebrpcErrorCodes["UnauthorizedUser"] = 1105] = "UnauthorizedUser";
1521
+ WebrpcErrorCodes[WebrpcErrorCodes["InvalidChain"] = 1106] = "InvalidChain";
1399
1522
  WebrpcErrorCodes[WebrpcErrorCodes["QuotaExceeded"] = 1200] = "QuotaExceeded";
1400
1523
  WebrpcErrorCodes[WebrpcErrorCodes["QuotaRateLimit"] = 1201] = "QuotaRateLimit";
1401
1524
  WebrpcErrorCodes[WebrpcErrorCodes["NoDefaultKey"] = 1300] = "NoDefaultKey";
@@ -1437,6 +1560,7 @@ const webrpcErrorByCode = {
1437
1560
  [1103]: InvalidOriginError,
1438
1561
  [1104]: InvalidServiceError,
1439
1562
  [1105]: UnauthorizedUserError,
1563
+ [1106]: InvalidChainError,
1440
1564
  [1200]: QuotaExceededError,
1441
1565
  [1201]: QuotaRateLimitError,
1442
1566
  [1300]: NoDefaultKeyError,
@@ -1456,41 +1580,41 @@ const webrpcErrorByCode = {
1456
1580
  // Webrpc
1457
1581
  //
1458
1582
 
1459
- const WebrpcHeader = 'Webrpc';
1460
- const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.23.1;sequence-relayer@v0.4.1';
1583
+ const WebrpcHeader = "Webrpc";
1584
+ const WebrpcHeaderValue = "webrpc@v0.32.2;gen-typescript@v0.23.1;sequence-relayer@v0.4.1";
1461
1585
  function VersionFromHeader(headers) {
1462
1586
  const headerValue = headers.get(WebrpcHeader);
1463
1587
  if (!headerValue) {
1464
1588
  return {
1465
- WebrpcGenVersion: '',
1466
- codeGenName: '',
1467
- codeGenVersion: '',
1468
- schemaName: '',
1469
- schemaVersion: ''
1589
+ WebrpcGenVersion: "",
1590
+ codeGenName: "",
1591
+ codeGenVersion: "",
1592
+ schemaName: "",
1593
+ schemaVersion: ""
1470
1594
  };
1471
1595
  }
1472
1596
  return parseWebrpcGenVersions(headerValue);
1473
1597
  }
1474
1598
  function parseWebrpcGenVersions(header) {
1475
- const versions = header.split(';');
1599
+ const versions = header.split(";");
1476
1600
  if (versions.length < 3) {
1477
1601
  return {
1478
- WebrpcGenVersion: '',
1479
- codeGenName: '',
1480
- codeGenVersion: '',
1481
- schemaName: '',
1482
- schemaVersion: ''
1602
+ WebrpcGenVersion: "",
1603
+ codeGenName: "",
1604
+ codeGenVersion: "",
1605
+ schemaName: "",
1606
+ schemaVersion: ""
1483
1607
  };
1484
1608
  }
1485
- const [_, WebrpcGenVersion] = versions[0].split('@');
1486
- const [codeGenName, codeGenVersion] = versions[1].split('@');
1487
- const [schemaName, schemaVersion] = versions[2].split('@');
1609
+ const [_, WebrpcGenVersion] = versions[0].split("@");
1610
+ const [codeGenName, codeGenVersion] = versions[1].split("@");
1611
+ const [schemaName, schemaVersion] = versions[2].split("@");
1488
1612
  return {
1489
- WebrpcGenVersion: WebrpcGenVersion != null ? WebrpcGenVersion : '',
1490
- codeGenName: codeGenName != null ? codeGenName : '',
1491
- codeGenVersion: codeGenVersion != null ? codeGenVersion : '',
1492
- schemaName: schemaName != null ? schemaName : '',
1493
- schemaVersion: schemaVersion != null ? schemaVersion : ''
1613
+ WebrpcGenVersion: WebrpcGenVersion != null ? WebrpcGenVersion : "",
1614
+ codeGenName: codeGenName != null ? codeGenName : "",
1615
+ codeGenVersion: codeGenVersion != null ? codeGenVersion : "",
1616
+ schemaName: schemaName != null ? schemaName : "",
1617
+ schemaVersion: schemaVersion != null ? schemaVersion : ""
1494
1618
  };
1495
1619
  }
1496
1620
 
@@ -1499,11 +1623,12 @@ var relayer_gen = /*#__PURE__*/Object.freeze({
1499
1623
  WebrpcVersion: WebrpcVersion,
1500
1624
  WebrpcSchemaVersion: WebrpcSchemaVersion,
1501
1625
  WebrpcSchemaHash: WebrpcSchemaHash,
1626
+ RepairOperation: RepairOperation,
1502
1627
  ETHTxnStatus: ETHTxnStatus,
1503
1628
  TransferType: TransferType,
1504
1629
  SimulateStatus: SimulateStatus,
1505
1630
  FeeTokenType: FeeTokenType,
1506
- SortOrder: SortOrder,
1631
+ Order: Order,
1507
1632
  Relayer: Relayer,
1508
1633
  JsonEncode: JsonEncode,
1509
1634
  JsonDecode: JsonDecode,
@@ -1533,6 +1658,7 @@ var relayer_gen = /*#__PURE__*/Object.freeze({
1533
1658
  InvalidOriginError: InvalidOriginError,
1534
1659
  InvalidServiceError: InvalidServiceError,
1535
1660
  UnauthorizedUserError: UnauthorizedUserError,
1661
+ InvalidChainError: InvalidChainError,
1536
1662
  QuotaExceededError: QuotaExceededError,
1537
1663
  QuotaRateLimitError: QuotaRateLimitError,
1538
1664
  NoDefaultKeyError: NoDefaultKeyError,
@@ -1608,13 +1734,15 @@ class RpcRelayer {
1608
1734
  while (isCancelled === undefined || !isCancelled()) {
1609
1735
  try {
1610
1736
  const {
1611
- receipt
1737
+ receipt,
1738
+ metaTxnEnqueued
1612
1739
  } = await this.service.getMetaTxnReceipt({
1613
1740
  metaTxID: metaTxnId
1614
1741
  });
1615
1742
  if (receipt && receipt.txnReceipt && receipt.txnReceipt !== 'null' && FINAL_STATUSES.includes(receipt.status)) {
1616
1743
  return {
1617
- receipt
1744
+ receipt,
1745
+ metaTxnEnqueued
1618
1746
  };
1619
1747
  }
1620
1748
  } catch (e) {