fix: use maxun-core
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Action, ActionType, Coordinates, TagName } from "../../types";
|
||||
import { WhereWhatPair, WorkflowFile } from '@wbr-project/wbr-interpret';
|
||||
import { WhereWhatPair, WorkflowFile } from 'maxun-core';
|
||||
import logger from "../../logger";
|
||||
import { Socket } from "socket.io";
|
||||
import { Page } from "playwright";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Interpreter, { WorkflowFile } from "@wbr-project/wbr-interpret";
|
||||
import Interpreter, { WorkflowFile } from "maxun-core";
|
||||
import logger from "../../logger";
|
||||
import { Socket } from "socket.io";
|
||||
import { Page } from "playwright";
|
||||
@@ -8,7 +8,7 @@ import { InterpreterSettings } from "../../types";
|
||||
* This class implements the main interpretation functions.
|
||||
* It holds some information about the current interpretation process and
|
||||
* registers to some events to allow the client (frontend) to interact with the interpreter.
|
||||
* It uses the [@wbr-project/wbr-interpret](https://www.npmjs.com/package/@wbr-project/wbr-interpret)
|
||||
* It uses the [maxun-core](https://www.npmjs.com/package/maxun-core)
|
||||
* library to interpret the workflow.
|
||||
* @category WorkflowManagement
|
||||
*/
|
||||
@@ -26,7 +26,7 @@ export class WorkflowInterpreter {
|
||||
|
||||
/**
|
||||
* The instance of the {@link Interpreter} class used to interpret the workflow.
|
||||
* From @wbr-project/wbr-interpret.
|
||||
* From maxun-core.
|
||||
* @private
|
||||
*/
|
||||
private interpreter: Interpreter | null = null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Page } from "playwright";
|
||||
import { Action, ActionType, Coordinates, TagName } from "../types";
|
||||
import { WhereWhatPair, WorkflowFile } from "@wbr-project/wbr-interpret";
|
||||
import { WhereWhatPair, WorkflowFile } from "maxun-core";
|
||||
import logger from "../logger";
|
||||
import { getBestSelectorForAction } from "./utils";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user