@clonegod/ttd-sol-common 2.0.28 → 2.0.29

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.
@@ -94,7 +94,9 @@ const sendBundleWithJito = async (mainTx, tipTx) => {
94
94
  };
95
95
  try {
96
96
  const response = await client.post(url, requestData);
97
- return response.data.result;
97
+ const bundleId = response.data.result;
98
+ console.log(`[sendBundleWithJito] bundleId: ${bundleId}`);
99
+ return bundleId;
98
100
  }
99
101
  catch (error) {
100
102
  if (error instanceof axios_1.AxiosError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "2.0.28",
3
+ "version": "2.0.29",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -76,7 +76,10 @@ export const sendBundleWithJito = async (mainTx: Transaction, tipTx: Transaction
76
76
  // id: 1
77
77
  // }
78
78
  // console.dir(response.data, { depth: null })
79
- return response.data.result;
79
+ const bundleId = response.data.result;
80
+ console.log(`[sendBundleWithJito] bundleId: ${bundleId}`);
81
+
82
+ return bundleId;
80
83
  } catch (error) {
81
84
  if(error instanceof AxiosError) {
82
85
  // 提取关键错误信息