Skip to content

Commit

Permalink
Merge pull request #3 from project-kardeshev/fix-logger
Browse files Browse the repository at this point in the history
fix(api): make create remote process not async
  • Loading branch information
atticusofsparta authored Nov 3, 2024
2 parents b9146a9 + dcd013b commit 68eae4e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/common/process/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,21 @@ export class Process implements AoProcess {
return new ProcessReadable(config);
}

static async createRemoteProcess({
static createRemoteProcess({
processId,
cuUrl,
muUrl,
suUrl,
cuUrl = 'http://cu.ao-testnet.xyz',
muUrl = 'http://mu.ao-testnet.xyz',
suUrl = 'http://su.ao-testnet.xyz',
signer,
logger,
}: {
processId: string;
cuUrl: string;
muUrl: string;
suUrl: string;
cuUrl?: string;
muUrl?: string;
suUrl?: string;
signer?: AoSigner;
logger?: Logger;
}): Promise<ProcessReadable | ProcessWritable> {
}): ProcessReadable | ProcessWritable {
return Process.init({
processId,
signer,
Expand Down

0 comments on commit 68eae4e

Please sign in to comment.