From 5538b9ed49c913a72309aa6bb833c560a1de3c21 Mon Sep 17 00:00:00 2001 From: Youssef Date: Mon, 22 Jan 2024 14:32:16 +0200 Subject: [PATCH] GRAL-4138 fix npm example version --- migration.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/migration.md b/migration.md index 6f70f61c..2a3a62c8 100644 --- a/migration.md +++ b/migration.md @@ -4,9 +4,9 @@ - Function signatures have changed from the previous version of the sdk. Now each function takes a strongly typed root object that contains all the parameters needed such as id and request payload, where in the previous version those were seperate function params -Example +Example functions change: -previous version: +- Previous version: ``` @@ -23,7 +23,7 @@ await api.getDeal(1); ``` -new version: +- New version: ``` await dealsApi.addDeal({ AddDealRequest: { @@ -48,12 +48,10 @@ await dealsApi.deleteDeal({ ``` - - ## Installation ``` -npm install pipedrive@1.0.0 --save +npm i pipedrive@22.3.1-rc.3 ``` ## API Reference