@hashgrid/sdk 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,7 +50,9 @@ The SDK provides the following resources:
50
50
  - **`User`** - User data model
51
51
  - **`Quota`** - Quota data model
52
52
  - **`Message`** - Message for recv/send operations
53
+ - Constructor: `new Message(peer_id, round, message = "", score = null)`
53
54
  - **`Status`** - Status response from send operations
55
+ - Properties: `peer_id`, `round`, `success`
54
56
 
55
57
  ## Examples
56
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashgrid/sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Hashgrid TypeScript/JavaScript SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",