@ethersphere/bee-js 6.7.2 → 6.7.4
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/cjs/bee-debug.js
CHANGED
|
@@ -564,8 +564,8 @@ class BeeDebug {
|
|
|
564
564
|
(0, type_1.assertRequestOptions)(options);
|
|
565
565
|
return stake.getRedistributionState(this.getRequestOptionsForCall(options));
|
|
566
566
|
}
|
|
567
|
-
async waitForUsablePostageStamp(id, timeout =
|
|
568
|
-
const TIME_STEP =
|
|
567
|
+
async waitForUsablePostageStamp(id, timeout = 240000) {
|
|
568
|
+
const TIME_STEP = 2000;
|
|
569
569
|
for (let time = 0; time < timeout; time += TIME_STEP) {
|
|
570
570
|
try {
|
|
571
571
|
const stamp = await this.getPostageBatch(id);
|