@strkfarm/sdk 1.1.71 → 1.1.72

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.
@@ -79883,7 +79883,7 @@ spurious results.`);
79883
79883
  * @returns {Promise<number>} The weighted average APY across all pools
79884
79884
  */
79885
79885
  async netAPY(blockIdentifier = "latest", sinceBlocks = 6e5, timeperiod = "24h") {
79886
- const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e";
79886
+ const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e" || this.metadata.additionalInfo.quoteAsset.symbol === "USDC";
79887
79887
  if (!isUSDCQouteToken) {
79888
79888
  return this.netSharesBasedTrueAPY(blockIdentifier, sinceBlocks);
79889
79889
  } else {
@@ -15875,7 +15875,7 @@ var EkuboCLVault = class _EkuboCLVault extends BaseStrategy {
15875
15875
  * @returns {Promise<number>} The weighted average APY across all pools
15876
15876
  */
15877
15877
  async netAPY(blockIdentifier = "latest", sinceBlocks = 6e5, timeperiod = "24h") {
15878
- const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e";
15878
+ const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e" || this.metadata.additionalInfo.quoteAsset.symbol === "USDC";
15879
15879
  if (!isUSDCQouteToken) {
15880
15880
  return this.netSharesBasedTrueAPY(blockIdentifier, sinceBlocks);
15881
15881
  } else {
package/dist/index.js CHANGED
@@ -15875,7 +15875,7 @@ var EkuboCLVault = class _EkuboCLVault extends BaseStrategy {
15875
15875
  * @returns {Promise<number>} The weighted average APY across all pools
15876
15876
  */
15877
15877
  async netAPY(blockIdentifier = "latest", sinceBlocks = 6e5, timeperiod = "24h") {
15878
- const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e";
15878
+ const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e" || this.metadata.additionalInfo.quoteAsset.symbol === "USDC";
15879
15879
  if (!isUSDCQouteToken) {
15880
15880
  return this.netSharesBasedTrueAPY(blockIdentifier, sinceBlocks);
15881
15881
  } else {
package/dist/index.mjs CHANGED
@@ -15773,7 +15773,7 @@ var EkuboCLVault = class _EkuboCLVault extends BaseStrategy {
15773
15773
  * @returns {Promise<number>} The weighted average APY across all pools
15774
15774
  */
15775
15775
  async netAPY(blockIdentifier = "latest", sinceBlocks = 6e5, timeperiod = "24h") {
15776
- const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e";
15776
+ const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e" || this.metadata.additionalInfo.quoteAsset.symbol === "USDC";
15777
15777
  if (!isUSDCQouteToken) {
15778
15778
  return this.netSharesBasedTrueAPY(blockIdentifier, sinceBlocks);
15779
15779
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "1.1.71",
3
+ "version": "1.1.72",
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",
@@ -505,7 +505,7 @@ export class EkuboCLVault extends BaseStrategy<
505
505
  timeperiod: '24h' | '7d' | '30d' | '3m' = '24h' // temp thing for fee based APY
506
506
  ): Promise<number> {
507
507
  // ! switch to USDC later
508
- const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e";
508
+ const isUSDCQouteToken = this.metadata.additionalInfo.quoteAsset.symbol === "USDC.e" || this.metadata.additionalInfo.quoteAsset.symbol === "USDC";
509
509
  if (!isUSDCQouteToken) {
510
510
  // good for LSTs and stables
511
511
  return this.netSharesBasedTrueAPY(blockIdentifier, sinceBlocks);