Skip to content

Commit

Permalink
Add "engines" to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jun 17, 2024
1 parent 74a1d85 commit e5bdc46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"repository": "github:vgrichina/nearfs",
"author": "",
"license": "ISC",
"engines": { "node": ">=16.0" },
"dependencies": {
"@aws-sdk/client-s3": "^3.535.0",
"@aws-sdk/credential-providers": "^3.231.0",
Expand Down
1 change: 0 additions & 1 deletion scripts/load-from-near-lake.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ async function loadStream(options) {

const defaultStartBlockHeight = parseInt(process.env.NEARFS_DEFAULT_START_BLOCK_HEIGHT || '0');

const { fromEnv } = require("@aws-sdk/credential-providers");
let blocksProcessed = 0;
for await (let streamerMessage of blockStream({
startAfter: startBlockHeight || await storage.readLatestBlockHeight() || defaultStartBlockHeight, // TODO: -1?
Expand Down

0 comments on commit e5bdc46

Please sign in to comment.