@pear-protocol/types 0.0.17 → 0.0.18

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.
@@ -82,6 +82,7 @@ export type PositionFillListResponse = z.output<typeof PositionFillListResponse>
82
82
  export declare const ProvisionalFill: z.ZodObject<{
83
83
  id: z.ZodUUID;
84
84
  positionId: z.ZodUUID;
85
+ symbol: z.ZodString;
85
86
  cloid: z.ZodOptional<z.ZodString>;
86
87
  status: z.ZodLiteral<"PROVISIONAL">;
87
88
  }, z.core.$strip>;
@@ -89,6 +90,7 @@ export declare const ProvisionalFillListResponse: z.ZodObject<{
89
90
  fills: z.ZodArray<z.ZodObject<{
90
91
  id: z.ZodUUID;
91
92
  positionId: z.ZodUUID;
93
+ symbol: z.ZodString;
92
94
  cloid: z.ZodOptional<z.ZodString>;
93
95
  status: z.ZodLiteral<"PROVISIONAL">;
94
96
  }, z.core.$strip>>;
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { CursorResponse } from '../common';
3
+ import { InstrumentId } from '../instrument';
3
4
  import { Fill } from './entities';
4
5
 
5
6
  const FillListResponse = CursorResponse.extend({
@@ -11,6 +12,7 @@ const PositionFillListResponse = z.object({
11
12
  const ProvisionalFill = z.object({
12
13
  id: z.uuid(),
13
14
  positionId: z.uuid(),
15
+ symbol: InstrumentId,
14
16
  cloid: z.string().optional(),
15
17
  status: z.literal("PROVISIONAL")
16
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",