@proton/wrap-constants 0.2.45 → 0.2.46

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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.45",
8
+ "version": "0.2.46",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "60eea545a19a85f308af2084ab11f5c47ae63db6"
47
+ "gitHead": "274e1e4b0da06caa731caa67f5d2f4475f5a25cf"
48
48
  }
@@ -111,18 +111,16 @@ export const marketParser = z.object({
111
111
  taker_fee: z.number(),
112
112
  order_min: z.number(),
113
113
  bid_token: z.object({
114
- sym: z.object({
115
- code: z.string(),
116
- precision: z.number(),
117
- }),
118
- contract: z.string()
114
+ code: z.string(),
115
+ precision: z.number(),
116
+ contract: z.string(),
117
+ multiplier: z.number()
119
118
  }),
120
119
  ask_token: z.object({
121
- sym: z.object({
122
- code: z.string(),
123
- precision: z.number(),
124
- }),
120
+ code: z.string(),
121
+ precision: z.number(),
125
122
  contract: z.string(),
123
+ multiplier: z.number()
126
124
  })
127
125
  })
128
126
  export type Market = z.infer<typeof marketParser>