Skip to content

Commit

Permalink
Merge pull request #60 from ostdotcom/develop
Browse files Browse the repository at this point in the history
Merging release 2.2.2 to develop
  • Loading branch information
kedarchandrayan authored Dec 9, 2019
2 parents c75c118 + d8c66af commit ff54174
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
[OST Javascript SDK v2.2.0](https://github.com/ostdotcom/ost-sdk-java/tree/v2.2.0)
[OST Javascript SDK v2.2.2](https://github.com/ostdotcom/ost-sdk-js/tree/v2.2.2)
---

* Readme changes for documenting new parameters in transactions module. These parameters can help to
get data between specific time interval.

[OST Javascript SDK v2.2.0](https://github.com/ostdotcom/ost-sdk-js/tree/v2.2.0)
---

* Added webhooks module to call webhook management OST APIs.
* Support for verify webhook signature.

[OST Javascript SDK v2.1.0](https://github.com/ostdotcom/ost-sdk-java/tree/v2.1.0)
[OST Javascript SDK v2.1.0](https://github.com/ostdotcom/ost-sdk-js/tree/v2.1.0)
---

* Added base tokens module to V2 API's
Expand Down Expand Up @@ -33,4 +39,4 @@
[OST Javascript SDK v0.9.1](https://github.com/ostdotcom/ost-sdk-js/tree/v0.9.1)
---
Initial release of the official OST Javascript SDK<br />
This release has the OST API V0 interaction layer implementation.
This release has the OST API V0 interaction layer implementation.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ For executing transactions, you need to understand the 4 modules described below
// Array of status values.
let statusesArray = ['CREATED', 'SUBMITTED', 'SUCCESS', 'FAILED'];
// To get transactions between a specific time interval, add start timestamp and end timestamp.
let startTime = 1563260786;
let endTime = 1563280786;
// Name of the transaction. Eg. 'like', 'download', etc.
// NOTE: Max length 25 characters (Allowed characters: [A-Za-z0-9_/s])
Expand Down Expand Up @@ -505,6 +509,8 @@ For executing transactions, you need to understand the 4 modules described below
transactionsService.getList({
user_id: userId,
start_time: startTime,
end_time: endTime,
statuses: statusesArray,
meta_properties: metaPropertiesArray,
limit: limit,
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.1
2.2.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ostdotcom/ost-sdk-js",
"version": "2.2.1",
"version": "2.2.2",
"description": "OST Platform SDK for JavaScript.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ff54174

Please sign in to comment.