Skip to content

Commit

Permalink
GRAL-4138 fix npm example version
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-saber-3 committed Jan 22, 2024
1 parent 1e30572 commit 5538b9e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -23,7 +23,7 @@ await api.getDeal(1);
```

new version:
- New version:
```
await dealsApi.addDeal({
AddDealRequest: {
Expand All @@ -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
Expand Down

0 comments on commit 5538b9e

Please sign in to comment.