Skip to content

Commit 2535131

Browse files
committed
chore: docstring updates
chore: fixup package.lock chore: unpin next-auth
1 parent 6a20ba4 commit 2535131

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"lodash.isequal": "^4.5.0",
102102
"mjml": "^4.15.3",
103103
"next": "15.5.4",
104-
"next-auth": "4.24.11",
104+
"next-auth": "^4.24.11",
105105
"nodemailer": "^6.10.1",
106106
"p-limit": "^7.1.1",
107107
"pg": "^8.16.3",

src/utils/remoteSettingsClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const makeClient = (logger: Logger, fetch: typeof globalThis.fetch) =>
2626
fetch,
2727
});
2828

29-
describe("RemoteSettingsClient (mock fetch)", () => {
29+
describe("RemoteSettingsClient", () => {
3030
afterEach(() => {
3131
jest.clearAllMocks();
3232
});

src/utils/remoteSettingsClient.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ export class RemoteSettingsClient {
4040
private logger: Logger;
4141
private breachesCollectionPath: string;
4242
private fetch: typeof fetch;
43+
4344
/**
45+
* Configuration for accessing remote settings server.
46+
* Uses DI pattern for external logger and fetch dependencies
4447
*
45-
* @param opts
48+
* @param opts RemoteSettingsClientOpts
4649
*/
4750
constructor(opts: RemoteSettingsClientOpts) {
4851
this.Authorization = `Basic ${Buffer.from(opts.user + ":" + opts.password).toString("base64")}`;

0 commit comments

Comments
 (0)