@chainflip/rpc 2.2.0-alpha.7 → 2.2.0-alpha.8

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
@@ -238,14 +238,17 @@ declare const rpcResult: {
238
238
  to: z.ZodEffects<z.ZodString, string, string>;
239
239
  calldata: z.ZodString;
240
240
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
241
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
241
242
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
242
243
  }, "strip", z.ZodTypeAny, {
244
+ value: bigint;
243
245
  chain: "Tron";
244
246
  to: string;
245
247
  calldata: string;
246
248
  note: `0x${string}`;
247
249
  source_token_address?: string | undefined;
248
250
  }, {
251
+ value: string | number;
249
252
  chain: "Tron";
250
253
  to: string;
251
254
  calldata: string;
@@ -342,14 +345,17 @@ declare const rpcResult: {
342
345
  to: z.ZodEffects<z.ZodString, string, string>;
343
346
  calldata: z.ZodString;
344
347
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
348
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
345
349
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
346
350
  }, "strip", z.ZodTypeAny, {
351
+ value: bigint;
347
352
  chain: "Tron";
348
353
  to: string;
349
354
  calldata: string;
350
355
  note: `0x${string}`;
351
356
  source_token_address?: string | undefined;
352
357
  }, {
358
+ value: string | number;
353
359
  chain: "Tron";
354
360
  to: string;
355
361
  calldata: string;
package/dist/common.d.mts CHANGED
@@ -238,14 +238,17 @@ declare const rpcResult: {
238
238
  to: z.ZodEffects<z.ZodString, string, string>;
239
239
  calldata: z.ZodString;
240
240
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
241
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
241
242
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
242
243
  }, "strip", z.ZodTypeAny, {
244
+ value: bigint;
243
245
  chain: "Tron";
244
246
  to: string;
245
247
  calldata: string;
246
248
  note: `0x${string}`;
247
249
  source_token_address?: string | undefined;
248
250
  }, {
251
+ value: string | number;
249
252
  chain: "Tron";
250
253
  to: string;
251
254
  calldata: string;
@@ -342,14 +345,17 @@ declare const rpcResult: {
342
345
  to: z.ZodEffects<z.ZodString, string, string>;
343
346
  calldata: z.ZodString;
344
347
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
348
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
345
349
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
346
350
  }, "strip", z.ZodTypeAny, {
351
+ value: bigint;
347
352
  chain: "Tron";
348
353
  to: string;
349
354
  calldata: string;
350
355
  note: `0x${string}`;
351
356
  source_token_address?: string | undefined;
352
357
  }, {
358
+ value: string | number;
353
359
  chain: "Tron";
354
360
  to: string;
355
361
  calldata: string;
package/dist/parsers.cjs CHANGED
@@ -344,6 +344,7 @@ const requestSwapParameterEncoding = zod.z.discriminatedUnion("chain", [
344
344
  to: tronAddress,
345
345
  calldata: zod.z.string(),
346
346
  note: hexString,
347
+ value: numberOrHex,
347
348
  source_token_address: tronAddress.optional()
348
349
  }),
349
350
  zod.z.object({
@@ -22719,14 +22719,17 @@ declare const requestSwapParameterEncoding: z.ZodDiscriminatedUnion<"chain", [z.
22719
22719
  to: z.ZodEffects<z.ZodString, string, string>;
22720
22720
  calldata: z.ZodString;
22721
22721
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
22722
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
22722
22723
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
22723
22724
  }, "strip", z.ZodTypeAny, {
22725
+ value: bigint;
22724
22726
  chain: "Tron";
22725
22727
  to: string;
22726
22728
  calldata: string;
22727
22729
  note: `0x${string}`;
22728
22730
  source_token_address?: string | undefined;
22729
22731
  }, {
22732
+ value: string | number;
22730
22733
  chain: "Tron";
22731
22734
  to: string;
22732
22735
  calldata: string;
@@ -22719,14 +22719,17 @@ declare const requestSwapParameterEncoding: z.ZodDiscriminatedUnion<"chain", [z.
22719
22719
  to: z.ZodEffects<z.ZodString, string, string>;
22720
22720
  calldata: z.ZodString;
22721
22721
  note: z.ZodEffects<z.ZodString, `0x${string}`, string>;
22722
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
22722
22723
  source_token_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
22723
22724
  }, "strip", z.ZodTypeAny, {
22725
+ value: bigint;
22724
22726
  chain: "Tron";
22725
22727
  to: string;
22726
22728
  calldata: string;
22727
22729
  note: `0x${string}`;
22728
22730
  source_token_address?: string | undefined;
22729
22731
  }, {
22732
+ value: string | number;
22730
22733
  chain: "Tron";
22731
22734
  to: string;
22732
22735
  calldata: string;
package/dist/parsers.mjs CHANGED
@@ -341,6 +341,7 @@ const requestSwapParameterEncoding = z.discriminatedUnion("chain", [
341
341
  to: tronAddress,
342
342
  calldata: z.string(),
343
343
  note: hexString,
344
+ value: numberOrHex,
344
345
  source_token_address: tronAddress.optional()
345
346
  }),
346
347
  z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "2.2.0-alpha.7",
3
+ "version": "2.2.0-alpha.8",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "2.2.0-alpha.1",