@aurigami/sdk 1.3.2 → 1.3.3
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 +4 -2
- 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 +4 -2
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/airdrop-lottery.ts +4 -2
|
@@ -93820,7 +93820,9 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead2) {
|
|
|
93820
93820
|
|
|
93821
93821
|
_this2 = _BlockchainEntityRead2.call(this, networkConnection) || this;
|
|
93822
93822
|
_this2.keepTrackers = [];
|
|
93823
|
-
_this2._whitelistedAddresses = new Set(AIRDROP_WHITELIST_ADDRESSES)
|
|
93823
|
+
_this2._whitelistedAddresses = new Set(AIRDROP_WHITELIST_ADDRESSES.map(function (e) {
|
|
93824
|
+
return e.toLocaleLowerCase();
|
|
93825
|
+
}));
|
|
93824
93826
|
var auTokens = AIRDROP_AUTOKEN_INFO;
|
|
93825
93827
|
|
|
93826
93828
|
for (var auToken in auTokens) {
|
|
@@ -93851,7 +93853,7 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead2) {
|
|
|
93851
93853
|
};
|
|
93852
93854
|
|
|
93853
93855
|
_proto2.isWhitelisted = function isWhitelisted(user) {
|
|
93854
|
-
return this._whitelistedAddresses.has(user);
|
|
93856
|
+
return this._whitelistedAddresses.has(user.toLocaleLowerCase());
|
|
93855
93857
|
};
|
|
93856
93858
|
|
|
93857
93859
|
_proto2.hasCompletedChallenge = /*#__PURE__*/function () {
|