@clonegod/ttd-bsc-common 1.0.47 → 1.0.49

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.
@@ -5,5 +5,5 @@ export declare class TransactionSender {
5
5
  private _48Club;
6
6
  private blxrProxy;
7
7
  constructor(appConfig: AppConfig);
8
- sendTransaction(signedMainTx: string, eoa_tip_transaction: (eoa_address: string) => Promise<string>, order_trace_id: string): Promise<string[]>;
8
+ sendTransaction(signedMainTx: string, eoa_tip_transaction: (eoa_address: string) => Promise<string>, order_trace_id: string, pair?: string): Promise<string[]>;
9
9
  }
@@ -23,8 +23,8 @@ class TransactionSender {
23
23
  this._48Club = new _48club_1._48ClubTrade();
24
24
  this.blxrProxy = new blxr_1.BlxrTradeProxy();
25
25
  }
26
- sendTransaction(signedMainTx, eoa_tip_transaction, order_trace_id) {
27
- return __awaiter(this, void 0, void 0, function* () {
26
+ sendTransaction(signedMainTx_1, eoa_tip_transaction_1, order_trace_id_1) {
27
+ return __awaiter(this, arguments, void 0, function* (signedMainTx, eoa_tip_transaction, order_trace_id, pair = '') {
28
28
  const rpcProviders = [
29
29
  {
30
30
  name: 'Default (QuickNode / Merkle)',
@@ -67,7 +67,6 @@ class TransactionSender {
67
67
  name: 'Blxr - sendTransaction',
68
68
  enable: process.env.SEND_TX_BLXR_TX === 'true',
69
69
  send: () => __awaiter(this, void 0, void 0, function* () {
70
- let pair = '';
71
70
  const tipTx = yield eoa_tip_transaction(_1.BSC_EOA_ADDRESS.BLXR);
72
71
  this.blxrProxy.sendTransaction(pair, signedMainTx, tipTx);
73
72
  return Promise.resolve('success');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-bsc-common",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "BSC common library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",