@defisaver/positions-sdk 2.1.78 → 2.1.79
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/cjs/claiming/spark.js +1 -1
- package/esm/claiming/spark.js +1 -1
- package/package.json +1 -1
- package/src/claiming/spark.ts +1 -1
package/cjs/claiming/spark.js
CHANGED
|
@@ -61,7 +61,7 @@ const fetchSparkAirdropRewards = (provider, network, walletAddresses) => __await
|
|
|
61
61
|
continue;
|
|
62
62
|
}
|
|
63
63
|
// Filter out IGNITION_REWARDS since they are no longer active
|
|
64
|
-
const filteredData = data.filter((rewardInfo) => rewardInfo.type !== claiming_1.SparkAirdropType.SPARK_IGNITION);
|
|
64
|
+
const filteredData = data.filter((rewardInfo) => rewardInfo.type !== claiming_1.SparkAirdropType.SPARK_IGNITION && rewardInfo.type !== claiming_1.SparkAirdropType.PRE_FARMING_AND_SOCIAL);
|
|
65
65
|
allClaimData.push({ walletAddress, data: filteredData });
|
|
66
66
|
// Collect contract call data
|
|
67
67
|
filteredData.forEach((airdropInfo) => {
|
package/esm/claiming/spark.js
CHANGED
|
@@ -54,7 +54,7 @@ export const fetchSparkAirdropRewards = (provider, network, walletAddresses) =>
|
|
|
54
54
|
continue;
|
|
55
55
|
}
|
|
56
56
|
// Filter out IGNITION_REWARDS since they are no longer active
|
|
57
|
-
const filteredData = data.filter((rewardInfo) => rewardInfo.type !== SparkAirdropType.SPARK_IGNITION);
|
|
57
|
+
const filteredData = data.filter((rewardInfo) => rewardInfo.type !== SparkAirdropType.SPARK_IGNITION && rewardInfo.type !== SparkAirdropType.PRE_FARMING_AND_SOCIAL);
|
|
58
58
|
allClaimData.push({ walletAddress, data: filteredData });
|
|
59
59
|
// Collect contract call data
|
|
60
60
|
filteredData.forEach((airdropInfo) => {
|
package/package.json
CHANGED
package/src/claiming/spark.ts
CHANGED
|
@@ -73,7 +73,7 @@ export const fetchSparkAirdropRewards = async (
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// Filter out IGNITION_REWARDS since they are no longer active
|
|
76
|
-
const filteredData = data.filter((rewardInfo: { type: SparkAirdropType; }) => rewardInfo.type !== SparkAirdropType.SPARK_IGNITION);
|
|
76
|
+
const filteredData = data.filter((rewardInfo: { type: SparkAirdropType; }) => rewardInfo.type !== SparkAirdropType.SPARK_IGNITION && rewardInfo.type !== SparkAirdropType.PRE_FARMING_AND_SOCIAL);
|
|
77
77
|
|
|
78
78
|
allClaimData.push({ walletAddress, data: filteredData });
|
|
79
79
|
|