@pendle/sdk-boros 0.4.21 → 0.4.22

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.
@@ -109,8 +109,8 @@ async function parseResponse(executeResponses, publicClient, waitForTransactionR
109
109
  async function getTransactionReceipt(hash, publicClient, params) {
110
110
  let rawReceipt = null;
111
111
  let attempts = 0;
112
- const maxAttempts = params?.maxAttempts ?? 20;
113
- const pollInterval = params?.pollInterval ?? 500;
112
+ const maxAttempts = params?.maxAttempts ?? 30;
113
+ const pollInterval = params?.pollInterval ?? 100;
114
114
  while (!rawReceipt && attempts < maxAttempts) {
115
115
  rawReceipt = await publicClient.request({
116
116
  method: 'eth_getTransactionReceipt',
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/sdk-boros",
3
3
  "description": "Pendle SDK for Boros",
4
4
  "license": "MIT",
5
- "version": "0.4.21",
5
+ "version": "0.4.22",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "files": [