Skip to content

[IN-131] refactor: remove storj-middleware package#210

Open
apsantiso wants to merge 2 commits intomasterfrom
refactor/remove-service-middleware-dependency
Open

[IN-131] refactor: remove storj-middleware package#210
apsantiso wants to merge 2 commits intomasterfrom
refactor/remove-service-middleware-dependency

Conversation

@apsantiso
Copy link
Copy Markdown

@apsantiso apsantiso commented Apr 7, 2026

Moved some dependencies from service-middleware to bridge as they use the models too.

I took the chance to move the most basic middlewares to TS, however, some of them are still js as I expect this PR to be as less invasive as possible. It does not make sense to make big improvements for the time being.

Changes

  • Removed service middleware as dependency.
  • Removed error types as dependency.
  • auth-farmer.js -> auth-farmer.ts.
  • Added basic-auth as dependency (required by one middleware).

@apsantiso apsantiso self-assigned this Apr 7, 2026
@apsantiso apsantiso requested a review from sg-gs as a code owner April 7, 2026 05:39
@apsantiso apsantiso changed the title [IN-131] refactor: remove storj-middleware dependencies [IN-131] refactor: remove storj-middleware dependency Apr 7, 2026
@apsantiso apsantiso changed the title [IN-131] refactor: remove storj-middleware dependency [IN-131] refactor: remove storj-middleware package Apr 7, 2026
@apsantiso apsantiso force-pushed the refactor/remove-service-middleware-dependency branch from 19f6aa6 to ae79332 Compare April 7, 2026 07:54
}
}

console.log({ test: req.query })
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants