@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
package/dist/sdk.esm.js
CHANGED
|
@@ -93817,7 +93817,9 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead2) {
|
|
|
93817
93817
|
|
|
93818
93818
|
_this2 = _BlockchainEntityRead2.call(this, networkConnection) || this;
|
|
93819
93819
|
_this2.keepTrackers = [];
|
|
93820
|
-
_this2._whitelistedAddresses = new Set(AIRDROP_WHITELIST_ADDRESSES)
|
|
93820
|
+
_this2._whitelistedAddresses = new Set(AIRDROP_WHITELIST_ADDRESSES.map(function (e) {
|
|
93821
|
+
return e.toLocaleLowerCase();
|
|
93822
|
+
}));
|
|
93821
93823
|
var auTokens = AIRDROP_AUTOKEN_INFO;
|
|
93822
93824
|
|
|
93823
93825
|
for (var auToken in auTokens) {
|
|
@@ -93848,7 +93850,7 @@ var AirdropRead = /*#__PURE__*/function (_BlockchainEntityRead2) {
|
|
|
93848
93850
|
};
|
|
93849
93851
|
|
|
93850
93852
|
_proto2.isWhitelisted = function isWhitelisted(user) {
|
|
93851
|
-
return this._whitelistedAddresses.has(user);
|
|
93853
|
+
return this._whitelistedAddresses.has(user.toLocaleLowerCase());
|
|
93852
93854
|
};
|
|
93853
93855
|
|
|
93854
93856
|
_proto2.hasCompletedChallenge = /*#__PURE__*/function () {
|