Skip to content

Commit

Permalink
Patch release
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcardeenas committed Jun 10, 2019
1 parent ed63ad6 commit fd67541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sulla",
"version": "1.1.0",
"version": "1.1.1",
"description": "Javascript whatsapp framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/controllers/browser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as path from 'path';
import * as puppeteer from 'puppeteer';
import puppeteer from 'puppeteer';
import { puppeteerConfig } from '../config/puppeteer.config';

export async function initWhatsapp() {
Expand All @@ -26,8 +26,8 @@ export async function injectApi(page: puppeteer.Page) {

async function initBrowser() {
const browser = await puppeteer.launch({
headless: false,
// headless: true,
// headless: false,
headless: true,
devtools: false,
userDataDir: path.join(process.cwd(), 'session'),
args: [...puppeteerConfig.chroniumArgs]
Expand Down

0 comments on commit fd67541

Please sign in to comment.