From 928bb27b3e32b4d35e796d8f2a241909a02a1647 Mon Sep 17 00:00:00 2001 From: d61b292b-2859-4ed6-8c7c-b7397ad8e351 Date: Thu, 15 Aug 2024 14:18:53 +0200 Subject: [PATCH] Fix dependencies (#128) Add `hyperbee` to installed packages Remove `debounceify` since it's not used --- .../create-a-full-peer-to-peer-filesystem-with-hyperdrive.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/howto/create-a-full-peer-to-peer-filesystem-with-hyperdrive.md b/howto/create-a-full-peer-to-peer-filesystem-with-hyperdrive.md index 1859ae9..8c4bb79 100644 --- a/howto/create-a-full-peer-to-peer-filesystem-with-hyperdrive.md +++ b/howto/create-a-full-peer-to-peer-filesystem-with-hyperdrive.md @@ -165,7 +165,7 @@ In a new terminal, create the `bee-reader-app` project with these commands: mkdir bee-reader-app cd bee-reader-app pear init -y -t terminal -npm install corestore hyperswarm hyperdrive debounceify b4a bare-process +npm install corestore hyperswarm hyperdrive hyperbee b4a bare-process ``` Adjust the `bee-reader-app/index.js` file to: @@ -174,7 +174,6 @@ Adjust the `bee-reader-app/index.js` file to: import Hyperswarm from 'hyperswarm' import Corestore from 'corestore' import Hyperbee from 'hyperbee' -import debounce from 'debounceify' import b4a from 'b4a' import process from 'bare-process' @@ -229,4 +228,4 @@ pear dev The `bee-reader-app` creates a Hyperbee instance using the Hypercore instance created with the copied public key. Every time the Hyperbee is updated (an `append` event is emitted on the underlying Hypercore), all file metadata nodes will be logged out. -Try adding or removing a few files from the writer's data directory, then pressing `Enter` in the writer's terminal to mirror the changes. \ No newline at end of file +Try adding or removing a few files from the writer's data directory, then pressing `Enter` in the writer's terminal to mirror the changes.