@pear-protocol/types 1.26.0 → 1.26.1

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.
@@ -27,6 +27,8 @@ export type CreateAuthTokenResult = z.output<typeof CreateAuthTokenResult>;
27
27
  export declare const PrepareLighterFastWithdrawResult: z.ZodObject<{
28
28
  messageToSign: z.ZodString;
29
29
  txInfo: z.ZodString;
30
+ fee: z.ZodNumber;
31
+ availableBalance: z.ZodNumber;
30
32
  }, z.core.$strip>;
31
33
  export type PrepareLighterFastWithdrawResult = z.output<typeof PrepareLighterFastWithdrawResult>;
32
34
  export declare const SubmitLighterFastWithdrawResult: z.ZodObject<{
@@ -22,7 +22,11 @@ const CreateAuthTokenResult = z.object({
22
22
  });
23
23
  const PrepareLighterFastWithdrawResult = z.object({
24
24
  messageToSign: z.string(),
25
- txInfo: z.string()
25
+ txInfo: z.string(),
26
+ // Integer USDC units Lighter charges on top of the amount, quoted for this exact transfer.
27
+ fee: z.number().int().nonnegative(),
28
+ // Integer USDC units the account could still move when the transfer was signed.
29
+ availableBalance: z.number().int().nonnegative()
26
30
  });
27
31
  const SubmitLighterFastWithdrawResult = z.object({
28
32
  txHash: z.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "1.26.0",
3
+ "version": "1.26.1",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",