Skip to content

Commit b8ddb8a

Browse files
committed
refactor: hide extension helper internals
1 parent daad787 commit b8ddb8a

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

extensions/bluebubbles/src/test-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function mockBlueBubblesPrivateApiStatusOnce(
3333
mock.mockReturnValueOnce(value);
3434
}
3535

36-
export function resolveBlueBubblesAccountFromConfig(params: {
36+
function resolveBlueBubblesAccountFromConfig(params: {
3737
cfg?: { channels?: { bluebubbles?: Record<string, unknown> } };
3838
accountId?: string;
3939
}) {

extensions/discord/src/client.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ function resolveToken(params: { accountId: string; fallbackToken?: string }) {
6161
return fallback;
6262
}
6363

64-
export function resolveDiscordProxyFetch(
65-
opts: Pick<DiscordClientOpts, "cfg" | "accountId">,
66-
runtime?: Pick<RuntimeEnv, "error">,
67-
): typeof fetch | undefined {
68-
return resolveDiscordClientAccountContext(opts, runtime).proxyFetch;
69-
}
70-
7164
function resolveRest(
7265
token: string,
7366
account: ResolvedDiscordAccount,

0 commit comments

Comments
 (0)