@depay/widgets 12.16.2 → 12.16.3
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.
package/dist/umd/index.solana.js
CHANGED
|
@@ -28677,7 +28677,7 @@
|
|
|
28677
28677
|
method: 'POST',
|
|
28678
28678
|
body: JSON.stringify(batch),
|
|
28679
28679
|
headers: { 'Content-Type': 'application/json' },
|
|
28680
|
-
signal: AbortSignal.timeout(
|
|
28680
|
+
signal: AbortSignal.timeout(60000) // 60-second timeout
|
|
28681
28681
|
}
|
|
28682
28682
|
).then((response)=>{
|
|
28683
28683
|
if(response.ok) {
|
|
@@ -29160,7 +29160,7 @@
|
|
|
29160
29160
|
})
|
|
29161
29161
|
});
|
|
29162
29162
|
|
|
29163
|
-
const timeoutPromise = new Promise((_, reject)=>setTimeout(()=>{ reject(new Error("Web3ClientTimeout")); }, timeout ||
|
|
29163
|
+
const timeoutPromise = new Promise((_, reject)=>setTimeout(()=>{ reject(new Error("Web3ClientTimeout")); }, timeout || 60000)); // 60s default timeout
|
|
29164
29164
|
|
|
29165
29165
|
allRequestsFailed = Promise.all(allRequestsFailed.map((request)=>{
|
|
29166
29166
|
return new Promise((resolve)=>{ request.catch(resolve); })
|