fix: adapt upstream commands to relay client
This commit is contained in:
@@ -6,10 +6,8 @@ import { TwitterClient } from '../src/lib/twitter-client.js';
|
||||
|
||||
const baseCtx = {
|
||||
resolveTimeoutFromOptions: () => undefined,
|
||||
resolveCredentialsFromOptions: async () => ({
|
||||
cookies: { authToken: 'auth', ct0: 'ct0', cookieHeader: 'auth=auth; ct0=ct0' },
|
||||
warnings: [],
|
||||
}),
|
||||
resolveRelayBaseUrlFromOptions: () => 'http://relay.test',
|
||||
resolveProfileNameFromOptions: () => undefined,
|
||||
p: () => '',
|
||||
} as unknown as CliContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user