fix(core): update

This commit is contained in:
2022-03-24 14:57:16 +01:00
parent 157bcff7c4
commit 9b698c6dea
5 changed files with 8708 additions and 17608 deletions

View File

@ -1,6 +1,6 @@
import * as plugins from './smartbrowser.plugins';
import * as plugins from './smartbrowser.plugins.js';
import * as interfaces from './interfaces';
import * as interfaces from './interfaces/index.js';
/**
* SmartBrowser
@ -47,7 +47,7 @@ export class SmartBrowser {
});
const screenshotBuffer = await page.screenshot({
encoding: 'binary',
});
}) as Buffer;
await page.close();
return {
name: pageId,

View File

@ -1 +1 @@
export * from './interfaces.screenshotresult';
export * from './interfaces.screenshotresult.js';