@thetypefounders/continue-with-google 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,10 +11,13 @@ npm install @thetypefounders/continue-with-google --save
11
11
  ## Usage
12
12
 
13
13
  ```javascript
14
+ import Puppeteer from 'puppeteer-extra';
15
+ import StealthPlugin from 'puppeteer-extra-plugin-stealth';
14
16
  import { authenticate } from '@thetypefounders/continue-with-google';
15
- import puppeteer from 'puppeteer';
16
17
 
17
- const browser = await puppeteer.launch();
18
+ Puppeteer.use(StealthPlugin());
19
+
20
+ const browser = await Puppeteer.launch();
18
21
  const page = await browser.newPage();
19
22
 
20
23
  // Go to a page that supports Google.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thetypefounders/continue-with-google",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Ivan Ukhov <ivan.ukhov@gmail.com>",
6
6
  "description": "Two-factor authentication with Google via Puppeteer",