@strkfarm/sdk 2.0.0-staging.45 → 2.0.0-staging.46

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.
@@ -117623,12 +117623,12 @@ spurious results.`);
117623
117623
  `On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
117624
117624
  ];
117625
117625
  return {
117626
- title: `${secondary} YOLO (${input.expiryDate})`,
117626
+ title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
117627
117627
  description,
117628
117628
  vaultTypeDescription: vaultTypeDescription2,
117629
117629
  faqs: faqs3,
117630
117630
  investmentSteps: investmentSteps2,
117631
- parentTitle: `${secondary} YOLO`
117631
+ parentTitle: `${secondary.replace("x", "")} YOLO`
117632
117632
  };
117633
117633
  };
117634
117634
  var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
@@ -117758,8 +117758,7 @@ spurious results.`);
117758
117758
  launchBlock: 0,
117759
117759
  type: "Other",
117760
117760
  depositTokens: [
117761
- yoloConfig.mainToken,
117762
- yoloConfig.secondaryToken
117761
+ usdc
117763
117762
  ],
117764
117763
  protocols: [],
117765
117764
  risk: {
@@ -30415,12 +30415,12 @@ var getYoloVaultCopy = (input) => {
30415
30415
  `On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
30416
30416
  ];
30417
30417
  return {
30418
- title: `${secondary} YOLO (${input.expiryDate})`,
30418
+ title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
30419
30419
  description,
30420
30420
  vaultTypeDescription: vaultTypeDescription2,
30421
30421
  faqs: faqs3,
30422
30422
  investmentSteps: investmentSteps2,
30423
- parentTitle: `${secondary} YOLO`
30423
+ parentTitle: `${secondary.replace("x", "")} YOLO`
30424
30424
  };
30425
30425
  };
30426
30426
  var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
@@ -30550,8 +30550,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
30550
30550
  launchBlock: 0,
30551
30551
  type: "Other",
30552
30552
  depositTokens: [
30553
- yoloConfig.mainToken,
30554
- yoloConfig.secondaryToken
30553
+ usdc
30555
30554
  ],
30556
30555
  protocols: [],
30557
30556
  risk: {
package/dist/index.js CHANGED
@@ -30555,12 +30555,12 @@ var getYoloVaultCopy = (input) => {
30555
30555
  `On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
30556
30556
  ];
30557
30557
  return {
30558
- title: `${secondary} YOLO (${input.expiryDate})`,
30558
+ title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
30559
30559
  description,
30560
30560
  vaultTypeDescription: vaultTypeDescription2,
30561
30561
  faqs: faqs3,
30562
30562
  investmentSteps: investmentSteps2,
30563
- parentTitle: `${secondary} YOLO`
30563
+ parentTitle: `${secondary.replace("x", "")} YOLO`
30564
30564
  };
30565
30565
  };
30566
30566
  var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
@@ -30690,8 +30690,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
30690
30690
  launchBlock: 0,
30691
30691
  type: "Other",
30692
30692
  depositTokens: [
30693
- yoloConfig.mainToken,
30694
- yoloConfig.secondaryToken
30693
+ usdc
30695
30694
  ],
30696
30695
  protocols: [],
30697
30696
  risk: {
package/dist/index.mjs CHANGED
@@ -30420,12 +30420,12 @@ var getYoloVaultCopy = (input) => {
30420
30420
  `On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
30421
30421
  ];
30422
30422
  return {
30423
- title: `${secondary} YOLO (${input.expiryDate})`,
30423
+ title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
30424
30424
  description,
30425
30425
  vaultTypeDescription: vaultTypeDescription2,
30426
30426
  faqs: faqs3,
30427
30427
  investmentSteps: investmentSteps2,
30428
- parentTitle: `${secondary} YOLO`
30428
+ parentTitle: `${secondary.replace("x", "")} YOLO`
30429
30429
  };
30430
30430
  };
30431
30431
  var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
@@ -30555,8 +30555,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
30555
30555
  launchBlock: 0,
30556
30556
  type: "Other",
30557
30557
  depositTokens: [
30558
- yoloConfig.mainToken,
30559
- yoloConfig.secondaryToken
30558
+ usdc
30560
30559
  ],
30561
30560
  protocols: [],
30562
30561
  risk: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-staging.45",
3
+ "version": "2.0.0-staging.46",
4
4
  "description": "STRKFarm TS SDK (Meant for our internal use, but feel free to use it)",
5
5
  "typings": "dist/index.d.ts",
6
6
  "types": "dist/index.d.ts",
@@ -813,12 +813,12 @@ const getYoloVaultCopy = (input: YoloVaultSettings) => {
813
813
  ];
814
814
 
815
815
  return {
816
- title: `${secondary} YOLO (${input.expiryDate})`,
816
+ title: `${secondary.replace('x', '')} YOLO (${input.expiryDate})`,
817
817
  description,
818
818
  vaultTypeDescription,
819
819
  faqs,
820
820
  investmentSteps,
821
- parentTitle: `${secondary} YOLO`
821
+ parentTitle: `${secondary.replace('x', '')} YOLO`
822
822
  };
823
823
  };
824
824
 
@@ -969,8 +969,7 @@ export const YoloVaultStrategies: IStrategyMetadata<YoloVaultSettings>[] = yoloV
969
969
  launchBlock: 0,
970
970
  type: "Other",
971
971
  depositTokens: [
972
- yoloConfig.mainToken,
973
- yoloConfig.secondaryToken,
972
+ usdc
974
973
  ],
975
974
  protocols: [],
976
975
  risk: {