diff --git a/scripts/.env.sample b/scripts/.env.sample index dbd2a0f..4e21287 100644 --- a/scripts/.env.sample +++ b/scripts/.env.sample @@ -30,4 +30,3 @@ export NEW_MEASUREMENT_VERSION=v1 export MEASUREMENT="txn_event" export TAGS_TO_KEEP="ecosystem,network,eventCategory" export FIELDS="signature,amount,eventDetails,address,claimant" - diff --git a/scripts/claim_sdk/eventSubscriber.ts b/scripts/claim_sdk/eventSubscriber.ts index e6ce27d..41060e6 100644 --- a/scripts/claim_sdk/eventSubscriber.ts +++ b/scripts/claim_sdk/eventSubscriber.ts @@ -275,7 +275,7 @@ function formatClaimInfo( address: claimInfo.identity.injective.address, amount: claimInfo.amount.toString(), } - } else if (claimInfo.identity.algorand?.pubkey) { + } else if (claimInfo.identity.algorand) { return { ecosystem: 'algorand', address: base32encode(claimInfo.identity.algorand.pubkey), diff --git a/scripts/package.json b/scripts/package.json index 040435a..b079091 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -1,6 +1,6 @@ { "name": "airdrop-metrics-job", - "version": "0.1.2", + "version": "0.1.3", "description": "", "main": "index.js", "scripts": {