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