@turtleclub/hooks 0.5.0-beta.5 → 0.5.0-beta.7
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/index.cjs +6 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -15
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/v2/schemas/shared.ts +5 -14
package/dist/index.cjs
CHANGED
|
@@ -263,7 +263,10 @@ var tokenSchema = import_zod.z.object({
|
|
|
263
263
|
decimals: import_zod.z.number(),
|
|
264
264
|
logoUrl: import_zod.z.string().optional(),
|
|
265
265
|
isNative: import_zod.z.boolean(),
|
|
266
|
-
priceUsd: import_zod.z.number().optional()
|
|
266
|
+
priceUsd: import_zod.z.number().optional(),
|
|
267
|
+
price: import_zod.z.string().optional(),
|
|
268
|
+
amount: import_zod.z.string().optional(),
|
|
269
|
+
rawAmount: import_zod.z.string().optional()
|
|
267
270
|
});
|
|
268
271
|
var organizationSchema = import_zod.z.object({
|
|
269
272
|
id: import_zod.z.string(),
|
|
@@ -336,20 +339,8 @@ var incentiveSchema = import_zod.z.object({
|
|
|
336
339
|
tokenSupplyAllocation: import_zod.z.number().nullable(),
|
|
337
340
|
yield: import_zod.z.number().nullable()
|
|
338
341
|
});
|
|
339
|
-
var opportunityTypeEnum = import_zod.z.enum([
|
|
340
|
-
|
|
341
|
-
"lending",
|
|
342
|
-
"staking",
|
|
343
|
-
"stablecoin",
|
|
344
|
-
""
|
|
345
|
-
]);
|
|
346
|
-
var opportunityStatusEnum = import_zod.z.enum([
|
|
347
|
-
"active",
|
|
348
|
-
"paused",
|
|
349
|
-
"deprecated",
|
|
350
|
-
"draft",
|
|
351
|
-
"ended"
|
|
352
|
-
]);
|
|
342
|
+
var opportunityTypeEnum = import_zod.z.enum(["vault", "lending", "staking", "stablecoin", ""]);
|
|
343
|
+
var opportunityStatusEnum = import_zod.z.enum(["active", "paused", "deprecated", "draft", "ended"]);
|
|
353
344
|
var opportunitySchema = import_zod.z.object({
|
|
354
345
|
id: import_zod.z.string().uuid().optional(),
|
|
355
346
|
name: import_zod.z.string(),
|