@pear-protocol/types 1.29.0 → 1.30.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.
@@ -105,7 +105,7 @@ export declare const LighterUdaTransaction: z.ZodObject<{
105
105
  toChainId: z.ZodString;
106
106
  toTokenAddress: z.ZodString;
107
107
  txHash: z.ZodOptional<z.ZodString>;
108
- createdTimeMs: z.ZodNumber;
108
+ createdTimeMs: z.ZodOptional<z.ZodNumber>;
109
109
  status: z.ZodString;
110
110
  depositAddr: z.ZodString;
111
111
  }, z.core.$strip>;
@@ -118,7 +118,7 @@ export declare const ListLighterUdaDepositsResult: z.ZodObject<{
118
118
  toChainId: z.ZodString;
119
119
  toTokenAddress: z.ZodString;
120
120
  txHash: z.ZodOptional<z.ZodString>;
121
- createdTimeMs: z.ZodNumber;
121
+ createdTimeMs: z.ZodOptional<z.ZodNumber>;
122
122
  status: z.ZodString;
123
123
  depositAddr: z.ZodString;
124
124
  }, z.core.$strip>>;
@@ -67,7 +67,8 @@ const LighterUdaTransaction = z.object({
67
67
  toTokenAddress: z.string(),
68
68
  // Failed bridge transactions can stop before Fun.xyz assigns a transaction hash.
69
69
  txHash: z.string().optional(),
70
- createdTimeMs: z.number(),
70
+ // A transaction the bridge has only just detected can arrive before it stamps a creation time.
71
+ createdTimeMs: z.number().optional(),
71
72
  status: z.string(),
72
73
  depositAddr: z.string()
73
74
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "1.29.0",
3
+ "version": "1.30.1",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",