Skip to content

Commit

Permalink
v1.0.1: fix ESM import
Browse files Browse the repository at this point in the history
  • Loading branch information
neverlane committed Feb 19, 2023
1 parent 1401f00 commit 01c0632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactlab-bypass",
"version": "1.0.0",
"version": "1.0.1",
"description": "Modern ES6 Promise based bypasser for ReactLab AntiDDoS",
"main": "./dist/index.js",
"exports": {
Expand Down
3 changes: 2 additions & 1 deletion src/bypass.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ModeOfOperation as AesModes, utils as AesUtils } from 'aes-js';
import AESJS from 'aes-js';
const { ModeOfOperation: AesModes, utils: AesUtils } = AESJS;
import undici from 'undici';
import { ReactLabBypassError } from './errors';

Expand Down

0 comments on commit 01c0632

Please sign in to comment.