@aurigami/sdk 1.8.0 → 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.
@@ -160,10 +160,10 @@ Object.entries({
160
160
  var BORROW_NEAR_REWARDS_PER_WEEK = {// currently 0 for all markets
161
161
  };
162
162
  var HARDCODE_PRICE_TOKENS = /*#__PURE__*/Object.fromEntries([[/*#__PURE__*/networkAddresses.tokens.USN.toLowerCase(), '1']]);
163
- var REFERRAL_CAMPAIGNS = /*#__PURE__*/Object.fromEntries([['referral-1805', {
163
+ var REFERRAL_CAMPAIGNS = /*#__PURE__*/Object.fromEntries([['referral-2505', {
164
164
  start: 1652882400,
165
165
  end: 1653487199
166
- }], ['referrer-1805', {
166
+ }], ['referrer-2505', {
167
167
  start: 1652882400,
168
168
  end: 1653487199
169
169
  }]]);
@@ -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 == null ? void 0 : item.transactionHash
4704
+ transactionHash: (_item$transactionHash = item.transactionHash) != null ? _item$transactionHash : null
4703
4705
  };
4704
4706
  });
4705
4707
  return _context5.abrupt("return", items);