@ape.swap/bonds-sdk 1.0.350 → 1.0.351
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.
|
@@ -221,7 +221,7 @@ var YourBonds = function (_a) {
|
|
|
221
221
|
userBillNftData_1 = _a.sent();
|
|
222
222
|
combinedData = ownedBillsData.map(function (ownedBill) {
|
|
223
223
|
var nftData = userBillNftData_1.find(function (nft) { return parseInt(nft.id) === parseInt(ownedBill.id); });
|
|
224
|
-
return __assign(__assign({}, ownedBill), nftData);
|
|
224
|
+
return __assign(__assign({}, ownedBill), { image: nftData === null || nftData === void 0 ? void 0 : nftData.image, attributes: nftData === null || nftData === void 0 ? void 0 : nftData.attributes });
|
|
225
225
|
});
|
|
226
226
|
console.log("userBillNftData");
|
|
227
227
|
console.log(userBillNftData_1);
|