From 88b32149216fc2ad46b6e69ae2bcf9b03964cfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Rame=CC=81?= Date: Mon, 4 Nov 2024 17:34:54 +0100 Subject: [PATCH] fix(readme): middlewares instantiation was wrong in the main example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78642c2..42504d1 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ import { YourFirstMiddleware } from './your-own-middlewares'; // Declare which middlewares you want to chain const composition = new MiddlewareComposition( - new YourFirstMiddleware(), - new SetUtmParametersMiddleware({ + YourFirstMiddleware(), + SetUtmParametersMiddleware({ params: { utm_source: 'your-website', utm_medium: 'referral',