Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
9615d7d0e3 | |||
431f63e283 | |||
e9bf2032fb | |||
3a2e85b4e5 | |||
fdfa6a72c8 | |||
801416dc1e |
17972
package-lock.json
generated
17972
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartbrowser",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.5",
|
||||
"description": "simplified puppeteer",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
@ -21,14 +21,16 @@
|
||||
"homepage": "https://gitlab.com/pushrocks/smartbrowser#README",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartdelay": "^2.0.13",
|
||||
"@pushrocks/smartpdf": "^3.0.2",
|
||||
"@pushrocks/smartpdf": "^3.0.15",
|
||||
"@pushrocks/smartpuppeteer": "^2.0.0",
|
||||
"@pushrocks/smartunique": "^3.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.61",
|
||||
"@gitzone/tsrun": "^1.2.39",
|
||||
"@gitzone/tstest": "^1.0.69",
|
||||
"@pushrocks/tapbundle": "^5.0.3"
|
||||
"@pushrocks/tapbundle": "^5.0.3",
|
||||
"@types/node": "^18.11.9"
|
||||
},
|
||||
"private": false,
|
||||
"files": [
|
||||
|
4085
pnpm-lock.yaml
generated
Normal file
4085
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartbrowser',
|
||||
version: '2.0.5',
|
||||
description: 'simplified puppeteer'
|
||||
}
|
@ -30,7 +30,7 @@ export class SmartBrowser {
|
||||
* create a pdf from page
|
||||
* @param urlArg
|
||||
*/
|
||||
public async pdfFromPage(urlArg: string) {
|
||||
public async pdfFromPage(urlArg: string): Promise<plugins.smartpdf.IPdf> {
|
||||
const result = await this.smartpdf.getFullWebsiteAsSinglePdf(urlArg);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user