@ethersphere/bee-js 6.7.2 → 6.7.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/mjs/bee-debug.js
CHANGED
|
@@ -536,8 +536,8 @@ export class BeeDebug {
|
|
|
536
536
|
assertRequestOptions(options);
|
|
537
537
|
return stake.getRedistributionState(this.getRequestOptionsForCall(options));
|
|
538
538
|
}
|
|
539
|
-
async waitForUsablePostageStamp(id, timeout =
|
|
540
|
-
const TIME_STEP =
|
|
539
|
+
async waitForUsablePostageStamp(id, timeout = 240000) {
|
|
540
|
+
const TIME_STEP = 2000;
|
|
541
541
|
for (let time = 0; time < timeout; time += TIME_STEP) {
|
|
542
542
|
try {
|
|
543
543
|
const stamp = await this.getPostageBatch(id);
|