@ciganov/contracts 1.1.7 → 1.1.9

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.
@@ -0,0 +1 @@
1
+ export * from './odd-finished.event';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./odd-finished.event"), exports);
@@ -0,0 +1,5 @@
1
+ export interface OddFinishedEvent {
2
+ eventId: string;
3
+ status: 'FINISHED' | 'CANCELLED';
4
+ winningOutcomes: string[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from './auth';
2
2
  export * from './account';
3
+ export * from './betting';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./auth"), exports);
18
18
  __exportStar(require("./account"), exports);
19
+ __exportStar(require("./betting"), exports);
package/dist/gen/odd.d.ts CHANGED
@@ -80,7 +80,7 @@ export interface ValidateOutcomeRequest {
80
80
  }
81
81
  export interface ValidateOutcomeResponse {
82
82
  isValid: boolean;
83
- coefficient: string;
83
+ coefficient: number;
84
84
  eventId: string;
85
85
  eventName: string;
86
86
  outcomeName: string;
@@ -109,7 +109,7 @@ message ValidateOutcomeRequest {
109
109
 
110
110
  message ValidateOutcomeResponse {
111
111
  bool is_valid = 1;
112
- string coefficient = 2;
112
+ float coefficient = 2;
113
113
  string event_id = 3;
114
114
  string event_name = 4;
115
115
  string outcome_name = 5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciganov/contracts",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Protobuf definitions and generated ts types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",