From 3a6e70bede7e0cf83a3ea9339d46b0861d6f5e5f Mon Sep 17 00:00:00 2001 From: bee-worker <70210089+bee-worker@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:26:00 +0100 Subject: [PATCH] chore: update to bee 1.12.0 (#820) * chore: update to bee * chore: update to bee * chore: update to bee * chore: update to bee * chore: update to bee * chore: update to bee * chore: update to bee * fix: wait for usable in immutable stamp test * fix: increase test timeout --------- Co-authored-by: Cafe137 --- README.md | 2 +- package.json | 2 +- src/modules/debug/status.ts | 2 +- test/integration/bee-debug-class.spec.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f8684580..4cd7fe4d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ **Warning: This project is in beta state. There might (and most probably will) be changes in the future to its API and working. Also, no guarantees can be made about its stability, efficiency, and security at this stage.** -This project is intended to be used with **Bee version 1.11.1**. Using it with older or newer Bee versions is not recommended and may not work. Stay up to date by joining the [official Discord](https://discord.gg/GU22h2utj6) and by keeping an eye on the [releases tab](https://github.com/ethersphere/bee-js/releases). +This project is intended to be used with **Bee version 1.12.0**. Using it with older or newer Bee versions is not recommended and may not work. Stay up to date by joining the [official Discord](https://discord.gg/GU22h2utj6) and by keeping an eye on the [releases tab](https://github.com/ethersphere/bee-js/releases). ## Table of Contents diff --git a/package.json b/package.json index 650556ac..3acee4a7 100644 --- a/package.json +++ b/package.json @@ -132,6 +132,6 @@ "npm": ">=6.0.0", "beeApiVersion": "4.0.0", "beeDebugApiVersion": "4.0.0", - "bee": "1.11.1-1992b846" + "bee": "1.12.0-88c1d236" } } diff --git a/src/modules/debug/status.ts b/src/modules/debug/status.ts index 1a4cf80d..e5bfe5d6 100644 --- a/src/modules/debug/status.ts +++ b/src/modules/debug/status.ts @@ -8,7 +8,7 @@ import type { Options as KyOptions } from 'ky' // Following lines bellow are automatically updated with GitHub Action when Bee version is updated // so if you are changing anything about them change the `update_bee` action accordingly! -export const SUPPORTED_BEE_VERSION_EXACT = '1.11.1-1992b846' +export const SUPPORTED_BEE_VERSION_EXACT = '1.12.0-88c1d236' export const SUPPORTED_API_VERSION = '4.0.0' export const SUPPORTED_DEBUG_API_VERSION = '4.0.0' diff --git a/test/integration/bee-debug-class.spec.ts b/test/integration/bee-debug-class.spec.ts index 48f618d3..1e8d4426 100644 --- a/test/integration/bee-debug-class.spec.ts +++ b/test/integration/bee-debug-class.spec.ts @@ -55,9 +55,9 @@ describe('Bee Debug class', () => { }) it('should have both immutable true and false', async function () { - this.timeout(BLOCKCHAIN_TRANSACTION_TIMEOUT * 2) - await beeDebug.createPostageBatch('1', 17, { immutableFlag: true, waitForUsable: false }) - await beeDebug.createPostageBatch('1', 17, { immutableFlag: false, waitForUsable: false }) + this.timeout(WAITING_USABLE_STAMP_TIMEOUT * 2 + BLOCKCHAIN_TRANSACTION_TIMEOUT * 4) + await beeDebug.createPostageBatch('1', 17, { immutableFlag: true, waitForUsable: true }) + await beeDebug.createPostageBatch('1', 17, { immutableFlag: false, waitForUsable: true }) const allBatches = await beeDebug.getAllPostageBatch() expect(allBatches.find(batch => batch.immutableFlag === true)).to.be.ok()