fix: use maxun-core

This commit is contained in:
karishmas6
2024-07-31 22:46:19 +05:30
parent 820939ec78
commit 19ca0fa517
3 changed files with 5 additions and 5 deletions

View File

@@ -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";

View File

@@ -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;

View File

@@ -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";