@turtleclub/hooks 0.5.0-beta.90 → 0.5.0-beta.92

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 CHANGED
@@ -894,20 +894,18 @@ var import_query_key_factory3 = require("@lukemorales/query-key-factory");
894
894
 
895
895
  // src/v2/streams/schemas.ts
896
896
  var import_zod8 = require("zod");
897
- var customArgsTokensPerUsdSchema = import_zod8.z.object({
898
- tokensPerUSD: import_zod8.z.string(),
899
- targetChainId: import_zod8.z.number(),
900
- targetTokenAddress: import_zod8.z.string()
897
+ var customArgsRequiredFieldsSchema = import_zod8.z.object({
898
+ targetTokenId: import_zod8.z.string().uuid(),
899
+ targetToken: supportedTokenSchema.optional()
900
+ });
901
+ var customArgsTokensPerUsdSchema = customArgsRequiredFieldsSchema.extend({
902
+ tokensPerUSD: import_zod8.z.string()
901
903
  });
902
- var customArgsAprSchema = import_zod8.z.object({
903
- apr: import_zod8.z.string(),
904
- targetChainId: import_zod8.z.number(),
905
- targetTokenAddress: import_zod8.z.string()
904
+ var customArgsAprSchema = customArgsRequiredFieldsSchema.extend({
905
+ apr: import_zod8.z.string()
906
906
  });
907
- var customArgsTokensPerDaySchema = import_zod8.z.object({
908
- tokensPerDay: import_zod8.z.string(),
909
- targetChainId: import_zod8.z.number(),
910
- targetTokenAddress: import_zod8.z.string()
907
+ var customArgsTokensPerDaySchema = customArgsRequiredFieldsSchema.extend({
908
+ tokensPerDay: import_zod8.z.string()
911
909
  });
912
910
  var snapshotSchema = import_zod8.z.object({
913
911
  amountBase: import_zod8.z.string(),
@@ -1025,7 +1023,6 @@ var streamSchema = import_zod8.z.object({
1025
1023
  snapshots: import_zod8.z.array(snapshotSchema).optional(),
1026
1024
  startTimestamp: import_zod8.z.string().datetime(),
1027
1025
  strategy: import_zod8.z.string(),
1028
- targetTokenId: import_zod8.z.string().uuid(),
1029
1026
  totalAmount: import_zod8.z.string().nullable(),
1030
1027
  type: import_zod8.z.number(),
1031
1028
  updatedAt: import_zod8.z.string().datetime(),