@levrbet/shared 0.1.54 → 0.1.55

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.
@@ -2,9 +2,9 @@ import { z } from "zod";
2
2
  import { LevrMarketId } from "../../../contracts";
3
3
  export declare const MarketRiskAllocationSchema: z.ZodObject<{
4
4
  asset: z.ZodString;
5
- boundedLossH: z.ZodNumber;
6
- boundedLossV: z.ZodNumber;
7
- boundedLossD: z.ZodNumber;
5
+ boundedLossA: z.ZodNumber;
6
+ boundedLossB: z.ZodNumber;
7
+ boundedLossC: z.ZodNumber;
8
8
  nFactor: z.ZodNumber;
9
9
  odds: z.ZodArray<z.ZodNumber>;
10
10
  targetScore: z.ZodOptional<z.ZodNumber>;
@@ -20,9 +20,9 @@ export declare const CreateMarketSchema: z.ZodObject<{
20
20
  marketDetails: z.ZodObject<{}, z.core.$strip>;
21
21
  marketRiskAllocation: z.ZodObject<{
22
22
  asset: z.ZodString;
23
- boundedLossH: z.ZodNumber;
24
- boundedLossV: z.ZodNumber;
25
- boundedLossD: z.ZodNumber;
23
+ boundedLossA: z.ZodNumber;
24
+ boundedLossB: z.ZodNumber;
25
+ boundedLossC: z.ZodNumber;
26
26
  nFactor: z.ZodNumber;
27
27
  odds: z.ZodArray<z.ZodNumber>;
28
28
  targetScore: z.ZodOptional<z.ZodNumber>;
@@ -7,9 +7,9 @@ const prisma_1 = require("../../../prisma");
7
7
  const validators_1 = require("../../../validators");
8
8
  exports.MarketRiskAllocationSchema = zod_1.z.object({
9
9
  asset: zod_1.z.string(), // Address is a string alias
10
- boundedLossH: zod_1.z.number(),
11
- boundedLossV: zod_1.z.number(),
12
- boundedLossD: zod_1.z.number(),
10
+ boundedLossA: zod_1.z.number(),
11
+ boundedLossB: zod_1.z.number(),
12
+ boundedLossC: zod_1.z.number(),
13
13
  nFactor: zod_1.z.number(),
14
14
  odds: zod_1.z.array(zod_1.z.number()), // Array of numbers for odds
15
15
  targetScore: zod_1.z.number().optional(), // Optional target score
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {