@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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.0",
2
+ "version": "1.8.2",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -165,6 +165,6 @@ export const HARDCODE_PRICE_TOKENS: { [k: string]: string } = Object.fromEntries
165
165
 
166
166
  export const REFERRAL_CAMPAIGNS: { [k: string]: { start: number; end: number } } =
167
167
  Object.fromEntries([
168
- ['referral-1805', { start: 1652882400, end: 1653487199 }],
169
- ['referrer-1805', { start: 1652882400, end: 1653487199 }],
168
+ ['referral-2505', { start: 1652882400, end: 1653487199 }],
169
+ ['referrer-2505', { start: 1652882400, end: 1653487199 }],
170
170
  ]);
@@ -79,7 +79,7 @@ export class ReferralRead extends BlockchainEntityRead {
79
79
  rewardTokenAmount: TokenAmount.fromAddressAndAmount(item.token, item.amount),
80
80
  startTime: REFERRAL_CAMPAIGNS[item.campaign].start,
81
81
  endTime: REFERRAL_CAMPAIGNS[item.campaign].end,
82
- transactionHash: item?.transactionHash,
82
+ transactionHash: item.transactionHash ?? null,
83
83
  }));
84
84
  return items;
85
85
  }