Skip to content

Commit

Permalink
fix: rename to maxun-core
Browse files Browse the repository at this point in the history
  • Loading branch information
amhsirak committed Sep 21, 2024
1 parent d870a72 commit 9eec16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maxun-core/src/interpret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class Interpreter extends EventEmitter {
: Object.entries(value).map((a) => Object.fromEntries([a]));
// every condition is treated as a single context

switch (key as (typeof operators)[number]) {
switch (key as keyof typeof operators) {
case '$and':
return array?.every((x) => this.applicable(x, context));
case '$or':
Expand Down Expand Up @@ -253,7 +253,7 @@ export default class Interpreter extends EventEmitter {
* calls all mentioned functions on the Page object.\
* \
* Manipulates the iterator indexes (experimental feature, likely to be removed in
* the following versions of waw-interpreter)
* the following versions of maxun-core)
* @param page Playwright Page object
* @param steps Array of actions.
*/
Expand Down

0 comments on commit 9eec16f

Please sign in to comment.