@typus/typus-sdk 1.0.97 → 1.0.98
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.
|
@@ -129,7 +129,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
|
|
|
129
129
|
var _this = this;
|
|
130
130
|
return __generator(this, function (_a) {
|
|
131
131
|
pools = exports.necklaces.map(function (necklace) { return nftConfig[necklace]; });
|
|
132
|
-
console.log(pools);
|
|
133
132
|
whitelistMap = new Map();
|
|
134
133
|
exports.necklaces.forEach(function (necklace, i) { return __awaiter(_this, void 0, void 0, function () {
|
|
135
134
|
var tokens;
|
|
@@ -137,7 +136,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
|
|
|
137
136
|
tokens = wlTokens.filter(function (wlToken) { var _a, _b;
|
|
138
137
|
// @ts-ignore
|
|
139
138
|
return ((_b = (_a = wlToken.data) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.fields.for) == pools[i]; });
|
|
140
|
-
console.log(tokens);
|
|
141
139
|
whitelistMap.set(necklace, tokens.map(function (token) { var _a; return (_a = token.data) === null || _a === void 0 ? void 0 : _a.objectId; }));
|
|
142
140
|
return [2 /*return*/];
|
|
143
141
|
});
|