@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.
- package/README.md +5 -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
|
-
|
|
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