@ciganov/contracts 1.1.5 → 1.1.6

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.
@@ -28,6 +28,7 @@ export interface AddTransactionRequest {
28
28
  amount: number;
29
29
  eventId?: string | undefined;
30
30
  userId: string;
31
+ multiplier?: number | undefined;
31
32
  }
32
33
  export interface AddTransactionResponse {
33
34
  ok: boolean;
@@ -27,10 +27,11 @@ message GetUserTransactionsResponse {
27
27
  }
28
28
 
29
29
  message AddTransactionRequest {
30
- TransactionType type = 1;
31
- float amount = 2;
32
- optional string eventId = 3;
33
- string userId = 4;
30
+ TransactionType type = 1;
31
+ float amount = 2;
32
+ optional string eventId = 3;
33
+ string userId = 4;
34
+ optional float multiplier = 5;
34
35
  }
35
36
 
36
37
  message AddTransactionResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciganov/contracts",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Protobuf definitions and generated ts types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",