@chainflip/rpc 1.8.8 → 1.8.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/common.d.cts CHANGED
@@ -111,16 +111,6 @@ type RpcRequest = WithHash<{
111
111
  additionalOrders?: Nullish<AdditionalOrder[]>
112
112
  ];
113
113
  cf_swap_rate_v3: [
114
- fromAsset: UncheckedAssetAndChain,
115
- toAsset: UncheckedAssetAndChain,
116
- amount: `0x${string}`,
117
- brokerComission?: Nullish<number>,
118
- dcaParams?: Nullish<{
119
- number_of_chunks: number;
120
- chunk_interval: number;
121
- }>,
122
- additionalOrders?: Nullish<AdditionalOrder[]>
123
- ] | [
124
114
  fromAsset: UncheckedAssetAndChain,
125
115
  toAsset: UncheckedAssetAndChain,
126
116
  amount: `0x${string}`,
@@ -130,7 +120,7 @@ type RpcRequest = WithHash<{
130
120
  chunk_interval: number;
131
121
  }>,
132
122
  ccmData?: Nullish<{
133
- gas_budget: HexString;
123
+ gas_budget: number;
134
124
  message_length: number;
135
125
  }>,
136
126
  excludeFees?: Nullish<SwapFeeType[]>,
package/dist/common.d.ts CHANGED
@@ -111,16 +111,6 @@ type RpcRequest = WithHash<{
111
111
  additionalOrders?: Nullish<AdditionalOrder[]>
112
112
  ];
113
113
  cf_swap_rate_v3: [
114
- fromAsset: UncheckedAssetAndChain,
115
- toAsset: UncheckedAssetAndChain,
116
- amount: `0x${string}`,
117
- brokerComission?: Nullish<number>,
118
- dcaParams?: Nullish<{
119
- number_of_chunks: number;
120
- chunk_interval: number;
121
- }>,
122
- additionalOrders?: Nullish<AdditionalOrder[]>
123
- ] | [
124
114
  fromAsset: UncheckedAssetAndChain,
125
115
  toAsset: UncheckedAssetAndChain,
126
116
  amount: `0x${string}`,
@@ -130,7 +120,7 @@ type RpcRequest = WithHash<{
130
120
  chunk_interval: number;
131
121
  }>,
132
122
  ccmData?: Nullish<{
133
- gas_budget: HexString;
123
+ gas_budget: number;
134
124
  message_length: number;
135
125
  }>,
136
126
  excludeFees?: Nullish<SwapFeeType[]>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.7.0",