From 02c11c164b220cbeb0eec3cefb46a1d70a654891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Tillmann?= Date: Tue, 14 Dec 2021 14:56:31 +0100 Subject: [PATCH] Removed chapter regarding requestOptions that are no longer available since 0.5 --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index 6932a25..d7d0dfe 100644 --- a/README.md +++ b/README.md @@ -578,15 +578,7 @@ DEBUG=universal-analytics # Request Options -In order to add additional options to the request a `requestOptions` hash can be provided as part of the constructor options. `unviversal-analytics` uses the [`request`](https://www.npmjs.com/package/request) library. Therefor [any option available for that library](https://www.npmjs.com/package/request#requestoptions-callback) can be provided via the `requestOptions`. - -```javascript -var visitor = ua('UA-XXXX-XX', { - requestOptions: { - proxy: "…" - } -}); -``` +Due to the removal of the `request` package, request options are no longer available as of 0.5. # Shortcuts