@ape.swap/bonds-sdk 1.0.357 → 1.0.358
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.
|
@@ -200,11 +200,9 @@ var YourBonds = function (_a) {
|
|
|
200
200
|
combinedData = userOwnedBillsData_1.map(function (data) {
|
|
201
201
|
var enrichedUserBills = data.userOwnedBills.map(function (bill) {
|
|
202
202
|
var nftData = userBillNftData_1.find(function (nft) { return nft.id === parseInt(bill.id); });
|
|
203
|
-
return __assign(__assign({}, bill),
|
|
203
|
+
return __assign(__assign({}, bill), { nftData: nftData ? nftData : undefined });
|
|
204
204
|
});
|
|
205
|
-
return __assign(__assign({}, data), {
|
|
206
|
-
// userOwnedBills: enrichedUserBills
|
|
207
|
-
nftData: enrichedUserBills });
|
|
205
|
+
return __assign(__assign({}, data), { userOwnedBills: enrichedUserBills });
|
|
208
206
|
});
|
|
209
207
|
// console.log("userBillNftData");
|
|
210
208
|
// console.log(userBillNftData);
|