@chainflip/rpc 2.1.7 → 2.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.
package/dist/parsers.mjs CHANGED
@@ -564,6 +564,14 @@ const cfTradingStrategy = z.object({
564
564
  min_sell_tick: z.number(),
565
565
  max_sell_tick: z.number(),
566
566
  base_asset: rpcAssetSchema
567
+ }) }),
568
+ z.object({ OracleTracking: z.object({
569
+ min_buy_offset_tick: z.number(),
570
+ max_buy_offset_tick: z.number(),
571
+ min_sell_offset_tick: z.number(),
572
+ max_sell_offset_tick: z.number(),
573
+ base_asset: rpcAssetSchema,
574
+ quote_asset: rpcAssetSchema
567
575
  }) })
568
576
  ]),
569
577
  balance: z.array(z.tuple([rpcAssetSchema, numberOrHex]))
@@ -784,7 +792,7 @@ const ingressEgressVaultDeposit = z.object({
784
792
  ss58Format: CHAINFLIP_SS58_PREFIX
785
793
  })),
786
794
  bps: z.number()
787
- }).optional(),
795
+ }).nullable().optional(),
788
796
  affiliate_fees: z.array(z.object({
789
797
  account: z.string().transform((v) => ss58.encode({
790
798
  data: ss58.decode(v).data,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "2.1.2",