@typus/typus-sdk 1.0.96 → 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.
@@ -4,6 +4,7 @@ export declare function getPool(provider: JsonRpcProvider, pool: string): Promis
4
4
  export interface PoolData {
5
5
  pool_id: string;
6
6
  is_live: boolean;
7
+ start_ms: string;
7
8
  num: number;
8
9
  remaining: number;
9
10
  }
@@ -62,6 +62,7 @@ function getPool(provider, pool) {
62
62
  poolData = {
63
63
  pool_id: pool,
64
64
  is_live: fields.is_live,
65
+ start_ms: fields.start_ms,
65
66
  num: Number(fields.num),
66
67
  remaining: Number(fields.tails.fields.contents.fields.size),
67
68
  };
@@ -108,6 +109,7 @@ function getPoolMap(provider, nftConfig) {
108
109
  poolData = {
109
110
  pool_id: pools[i],
110
111
  is_live: fields.is_live,
112
+ start_ms: fields.start_ms,
111
113
  num: Number(fields.num),
112
114
  remaining: Number(fields.tails.fields.contents.fields.size),
113
115
  };
@@ -127,7 +129,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
127
129
  var _this = this;
128
130
  return __generator(this, function (_a) {
129
131
  pools = exports.necklaces.map(function (necklace) { return nftConfig[necklace]; });
130
- console.log(pools);
131
132
  whitelistMap = new Map();
132
133
  exports.necklaces.forEach(function (necklace, i) { return __awaiter(_this, void 0, void 0, function () {
133
134
  var tokens;
@@ -135,7 +136,6 @@ function getWhitelistMap(nftConfig, wlTokens) {
135
136
  tokens = wlTokens.filter(function (wlToken) { var _a, _b;
136
137
  // @ts-ignore
137
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]; });
138
- console.log(tokens);
139
139
  whitelistMap.set(necklace, tokens.map(function (token) { var _a; return (_a = token.data) === null || _a === void 0 ? void 0 : _a.objectId; }));
140
140
  return [2 /*return*/];
141
141
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.0.96",
5
+ "version": "1.0.98",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.7.3",
8
8
  "@mysten/kiosk": "^0.3.3",