Skip to content

Commit

Permalink
[worker] fix local imports
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Apr 10, 2024
1 parent 129b2a6 commit dd15ecd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/worker-api/src/encointerWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {type CallOptions, Request} from './interface.js';
import {callGetter} from './sendRequest.js';
import {PubKeyPinPair, toAccount} from "@encointer/util/common";
import type {KeyringPair} from "@polkadot/keyring/types";
import {Worker} from "@encointer/worker-api/worker.js";
import {Worker} from "./worker.js";
import type {AccountId, Balance, Moment} from "@polkadot/types/interfaces/runtime";

// Todo: This code is a WIP and will not work as is: https://github.com/encointer/encointer-js/issues/91
Expand Down
4 changes: 2 additions & 2 deletions packages/worker-api/src/integriteeWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import type {

import {type CallOptions, Request} from './interface.js';
import {callGetter, sendTrustedCall} from './sendRequest.js';
import {createTrustedCall} from "@encointer/worker-api/requests.js";
import {createTrustedCall} from "./requests.js";
import {PubKeyPinPair, toAccount} from "@encointer/util/common";
import {Worker} from "@encointer/worker-api/worker.js";
import {Worker} from "./worker.js";

export class IntegriteeWorker extends Worker {

Expand Down
2 changes: 1 addition & 1 deletion packages/worker-api/src/sendRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Request } from './interface.js';
import {
clientRequestGetter,
clientRequestTrustedGetter,
} from "@encointer/worker-api/requests.js";
} from "./requests.js";
import type {ShardIdentifier, IntegriteeTrustedCallSigned} from "@encointer/types";

const sendWorkerRequest = (self: IWorker, clientRequest: any, parserType: string, options: CallOptions): Promise<any> =>{
Expand Down

0 comments on commit dd15ecd

Please sign in to comment.