@aurigami/sdk 1.8.1 → 1.8.2
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/dist/sdk.cjs.development.js +3 -1
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +3 -1
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/Referral.ts +1 -1
|
@@ -4692,6 +4692,8 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4692
4692
|
case 2:
|
|
4693
4693
|
result = _context5.sent;
|
|
4694
4694
|
items = result.items.map(function (item, i) {
|
|
4695
|
+
var _item$transactionHash;
|
|
4696
|
+
|
|
4695
4697
|
return {
|
|
4696
4698
|
campaign: item.campaign,
|
|
4697
4699
|
userAddr: userAddr,
|
|
@@ -4699,7 +4701,7 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4699
4701
|
rewardTokenAmount: TokenAmount.fromAddressAndAmount(item.token, item.amount),
|
|
4700
4702
|
startTime: REFERRAL_CAMPAIGNS[item.campaign].start,
|
|
4701
4703
|
endTime: REFERRAL_CAMPAIGNS[item.campaign].end,
|
|
4702
|
-
transactionHash: item
|
|
4704
|
+
transactionHash: (_item$transactionHash = item.transactionHash) != null ? _item$transactionHash : null
|
|
4703
4705
|
};
|
|
4704
4706
|
});
|
|
4705
4707
|
return _context5.abrupt("return", items);
|