@reyaxyz/community-sdk 0.51.24 → 0.52.0

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.
Files changed (39) hide show
  1. package/dist/client/index.js +0 -16
  2. package/dist/client/index.js.map +1 -1
  3. package/dist/index.js +0 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/modules/index.js +0 -1
  6. package/dist/modules/index.js.map +1 -1
  7. package/dist/modules/lge/index.js +0 -143
  8. package/dist/modules/lge/index.js.map +1 -1
  9. package/dist/modules/lge/types.js.map +1 -1
  10. package/dist/modules/referral/index.js.map +1 -1
  11. package/dist/types/client/index.d.ts +0 -10
  12. package/dist/types/client/index.d.ts.map +1 -1
  13. package/dist/types/index.d.ts +0 -1
  14. package/dist/types/index.d.ts.map +1 -1
  15. package/dist/types/modules/index.d.ts +0 -1
  16. package/dist/types/modules/index.d.ts.map +1 -1
  17. package/dist/types/modules/lge/index.d.ts +2 -15
  18. package/dist/types/modules/lge/index.d.ts.map +1 -1
  19. package/dist/types/modules/lge/types.d.ts +1 -1
  20. package/dist/types/modules/lge/types.d.ts.map +1 -1
  21. package/dist/types/modules/referral/index.d.ts +1 -1
  22. package/dist/types/modules/referral/index.d.ts.map +1 -1
  23. package/package.json +2 -2
  24. package/src/client/index.ts +0 -17
  25. package/src/index.ts +0 -1
  26. package/src/modules/index.ts +0 -1
  27. package/src/modules/lge/index.ts +2 -119
  28. package/src/modules/lge/types.ts +1 -26
  29. package/src/modules/referral/index.ts +2 -2
  30. package/dist/modules/twitter/index.js +0 -64
  31. package/dist/modules/twitter/index.js.map +0 -1
  32. package/dist/modules/twitter/types.js +0 -3
  33. package/dist/modules/twitter/types.js.map +0 -1
  34. package/dist/types/modules/twitter/index.d.ts +0 -10
  35. package/dist/types/modules/twitter/index.d.ts.map +0 -1
  36. package/dist/types/modules/twitter/types.d.ts +0 -2
  37. package/dist/types/modules/twitter/types.d.ts.map +0 -1
  38. package/src/modules/twitter/index.ts +0 -65
  39. package/src/modules/twitter/types.ts +0 -6
@@ -8,7 +8,6 @@ var common_1 = require("@reyaxyz/common");
8
8
  var vote_1 = __importDefault(require("../modules/vote"));
9
9
  var lge_1 = __importDefault(require("../modules/lge"));
10
10
  var sbt_1 = __importDefault(require("../modules/sbt"));
11
- var twitter_1 = __importDefault(require("../modules/twitter"));
12
11
  var referral_1 = __importDefault(require("../modules/referral"));
13
12
  var discord_1 = __importDefault(require("../modules/discord"));
14
13
  /**
@@ -19,7 +18,6 @@ var CommunityClient = /** @class */ (function () {
19
18
  this._voteModule = new vote_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
20
19
  this._sbtModule = new sbt_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
21
20
  this._lgeModule = new lge_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
22
- this._twitterModule = new twitter_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
23
21
  this._referralModule = new referral_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
24
22
  this._discordModule = new discord_1.default(CommunityClient.config.apiEndpoint, CommunityClient.config.logging);
25
23
  }
@@ -75,20 +73,6 @@ var CommunityClient = /** @class */ (function () {
75
73
  enumerable: false,
76
74
  configurable: true
77
75
  });
78
- Object.defineProperty(CommunityClient, "twitter", {
79
- /**
80
- * Provides access to the TwitterModule instance.
81
- * This getter allows for interacting with twitter-related functionalities.
82
- *
83
- * @returns {TwitterModule} An instance of Twitter for twitter operations.
84
- * @memberof CommunityClient
85
- */
86
- get: function () {
87
- return CommunityClient.getInstance()._twitterModule;
88
- },
89
- enumerable: false,
90
- configurable: true
91
- });
92
76
  Object.defineProperty(CommunityClient, "referral", {
93
77
  /**
94
78
  * Provides access to the ReferralModule instance.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["client/index.ts"],"names":[],"mappings":";;;;;;AAAA,0CAAoE;AACpE,yDAAyC;AACzC,uDAAuC;AACvC,uDAA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;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC;QACnD,CAAC;;;OAAA;IASD,sBAAkB,sBAAG;QAPrB;;;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC;QAClD,CAAC;;;OAAA;IASD,sBAAkB,sBAAG;QAPrB;;;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC;QAClD,CAAC;;;OAAA;IASD,sBAAkB,0BAAO;QAPzB;;;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,cAAc,CAAC;QACtD,CAAC;;;OAAA;IASD,sBAAkB,2BAAQ;QAP1B;;;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,eAAe,CAAC;QACvD,CAAC;;;OAAA;IASD,sBAAkB,0BAAO;QAPzB;;;;;;WAMG;aACH;YACE,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,cAAc,CAAC;QACtD,CAAC;;;OAAA;IAED,sBAAkB,iCAAc;aAAhC;YACE,OAAO,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC;QACtC,CAAC;;;OAAA;IAtHc,sBAAM,GAAkB,IAAA,2BAAkB,EAAC,MAAM,CAAC,CAAC;IAuHpE,sBAAC;CAAA,AAzHD,IAyHC;AAzHY,0CAAe","sourcesContent":["import { getApiClientConfig, ServiceConfig } from '@reyaxyz/common';\nimport VoteModule from '../modules/vote';\nimport LGEModule from '../modules/lge';\nimport SbtModule from '../modules/sbt';\nimport TwitterModule from '../modules/twitter';\nimport ReferralModule from '../modules/referral';\nimport DiscordModule from '../modules/discord';\n\n/**\n * @description Client for Community SDK, used to interact with the Reya community.\n */\nexport class CommunityClient {\n private static instance: CommunityClient;\n private static config: ServiceConfig = getApiClientConfig('test');\n\n private readonly _voteModule: VoteModule;\n private readonly _sbtModule: SbtModule;\n private readonly _lgeModule: LGEModule;\n private readonly _twitterModule: TwitterModule;\n private readonly _referralModule: ReferralModule;\n private readonly _discordModule: DiscordModule;\n\n private constructor() {\n this._voteModule = new VoteModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._sbtModule = new SbtModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._lgeModule = new LGEModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._twitterModule = new TwitterModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._referralModule = new ReferralModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._discordModule = new DiscordModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n }\n\n public static configure(environment: ServiceConfig['environment']): void {\n CommunityClient.config = getApiClientConfig(environment);\n CommunityClient.instance = new CommunityClient();\n }\n\n private static getInstance(): CommunityClient {\n if (!CommunityClient.instance) {\n throw new Error(\n 'Client is not configured. Please configure it before using.',\n );\n }\n return CommunityClient.instance;\n }\n\n /**\n * Provides access to the VoteModule instance.\n * This getter allows for interacting with vote-related functionalities.\n *\n * @returns {VoteModule} An instance of VoteModule for vote operations.\n * @memberof CommunityClient\n */\n public static get vote(): VoteModule {\n return CommunityClient.getInstance()._voteModule;\n }\n\n /**\n * Provides access to the SbtModule instance.\n * This getter allows for interacting with vote-related functionalities.\n *\n * @returns {SbtModule} An instance of SbtModule for vote operations.\n * @memberof CommunityClient\n */\n public static get sbt(): SbtModule {\n return CommunityClient.getInstance()._sbtModule;\n }\n\n /**\n * Provides access to the LGEModule instance.\n * This getter allows for interacting with LGE-related functionalities.\n *\n * @returns {LGEModule} An instance of LGEModule for LGE operations.\n * @memberof CommunityClient\n */\n public static get lge(): LGEModule {\n return CommunityClient.getInstance()._lgeModule;\n }\n\n /**\n * Provides access to the TwitterModule instance.\n * This getter allows for interacting with twitter-related functionalities.\n *\n * @returns {TwitterModule} An instance of Twitter for twitter operations.\n * @memberof CommunityClient\n */\n public static get twitter(): TwitterModule {\n return CommunityClient.getInstance()._twitterModule;\n }\n\n /**\n * Provides access to the ReferralModule instance.\n * This getter allows for interacting with referral related functionalities.\n *\n * @returns {ReferralModule} An instance of ReferralModule .\n * @memberof CommunityClient\n */\n public static get referral(): ReferralModule {\n return CommunityClient.getInstance()._referralModule;\n }\n\n /**\n * Provides access to the DiscordModule instance.\n * This getter allows for interacting with discord-related functionalities.\n *\n * @returns {DiscordModule} An instance of DiscordModule.\n * @memberof CommunityClient\n */\n public static get discord(): DiscordModule {\n return CommunityClient.getInstance()._discordModule;\n }\n\n public static get supportedChain(): number {\n return CommunityClient.config.chain;\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["client/index.ts"],"names":[],"mappings":";;;;;;AAAA,0CAAoE;AACpE,yDAAyC;AACzC,uDAAuC;AACvC,uDAAuC;AACvC,iEAAiD;AACjD,+DAA+C;AAE/C;;GAEG;AACH;IAUE;QACE,IAAI,CAAC,WAAW,GAAG,IAAI,cAAU,CAC/B,eAAe,CAAC,MAAM,CAAC,WAAW,EAClC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,CAAC;QACF,IAAI,CAAC,UAAU,GAAG,IAAI,aAAS,CAC7B,eAAe,CAAC,MAAM,CAAC,WAAW,EAClC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,CAAC;QACF,IAAI,CAAC,UAAU,GAAG,IAAI,aAAS,CAC7B,eAAe,CAAC,MAAM,CAAC,WAAW,EAClC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,IAAI,kBAAc,CACvC,eAAe,CAAC,MAAM,CAAC,WAAW,EAClC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,CAAC;QACF,IAAI,CAAC,cAAc,GAAG,IAAI,iBAAa,CACrC,eAAe,CAAC,MAAM,CAAC,WAAW,EAClC,eAAe,CAAC,MAAM,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';\nimport VoteModule from '../modules/vote';\nimport LGEModule from '../modules/lge';\nimport SbtModule from '../modules/sbt';\nimport ReferralModule from '../modules/referral';\nimport DiscordModule from '../modules/discord';\n\n/**\n * @description Client for Community SDK, used to interact with the Reya community.\n */\nexport class CommunityClient {\n private static instance: CommunityClient;\n private static config: ServiceConfig = getApiClientConfig('test');\n\n private readonly _voteModule: VoteModule;\n private readonly _sbtModule: SbtModule;\n private readonly _lgeModule: LGEModule;\n private readonly _referralModule: ReferralModule;\n private readonly _discordModule: DiscordModule;\n\n private constructor() {\n this._voteModule = new VoteModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._sbtModule = new SbtModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._lgeModule = new LGEModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._referralModule = new ReferralModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n this._discordModule = new DiscordModule(\n CommunityClient.config.apiEndpoint,\n CommunityClient.config.logging,\n );\n }\n\n public static configure(environment: ServiceConfig['environment']): void {\n CommunityClient.config = getApiClientConfig(environment);\n CommunityClient.instance = new CommunityClient();\n }\n\n private static getInstance(): CommunityClient {\n if (!CommunityClient.instance) {\n throw new Error(\n 'Client is not configured. Please configure it before using.',\n );\n }\n return CommunityClient.instance;\n }\n\n /**\n * Provides access to the VoteModule instance.\n * This getter allows for interacting with vote-related functionalities.\n *\n * @returns {VoteModule} An instance of VoteModule for vote operations.\n * @memberof CommunityClient\n */\n public static get vote(): VoteModule {\n return CommunityClient.getInstance()._voteModule;\n }\n\n /**\n * Provides access to the SbtModule instance.\n * This getter allows for interacting with vote-related functionalities.\n *\n * @returns {SbtModule} An instance of SbtModule for vote operations.\n * @memberof CommunityClient\n */\n public static get sbt(): SbtModule {\n return CommunityClient.getInstance()._sbtModule;\n }\n\n /**\n * Provides access to the LGEModule instance.\n * This getter allows for interacting with LGE-related functionalities.\n *\n * @returns {LGEModule} An instance of LGEModule for LGE operations.\n * @memberof CommunityClient\n */\n public static get lge(): LGEModule {\n return CommunityClient.getInstance()._lgeModule;\n }\n\n /**\n * Provides access to the ReferralModule instance.\n * This getter allows for interacting with referral related functionalities.\n *\n * @returns {ReferralModule} An instance of ReferralModule .\n * @memberof CommunityClient\n */\n public static get referral(): ReferralModule {\n return CommunityClient.getInstance()._referralModule;\n }\n\n /**\n * Provides access to the DiscordModule instance.\n * This getter allows for interacting with discord-related functionalities.\n *\n * @returns {DiscordModule} An instance of DiscordModule.\n * @memberof CommunityClient\n */\n public static get discord(): DiscordModule {\n return CommunityClient.getInstance()._discordModule;\n }\n\n public static get supportedChain(): number {\n return CommunityClient.config.chain;\n }\n}\n"]}
package/dist/index.js CHANGED
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
- __exportStar(require("./modules/twitter/types"), exports);
19
18
  __exportStar(require("./modules/vote/types"), exports);
20
19
  __exportStar(require("./modules/lge/types"), exports);
21
20
  __exportStar(require("./modules/referral/types"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0DAAwC;AACxC,uDAAqC;AACrC,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,sDAAoC","sourcesContent":["export * from './client';\nexport * from './modules/twitter/types';\nexport * from './modules/vote/types';\nexport * from './modules/lge/types';\nexport * from './modules/referral/types';\nexport * from './modules/discord/types';\nexport * from './modules/sbt/types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,uDAAqC;AACrC,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,sDAAoC","sourcesContent":["export * from './client';\nexport * from './modules/vote/types';\nexport * from './modules/lge/types';\nexport * from './modules/referral/types';\nexport * from './modules/discord/types';\nexport * from './modules/sbt/types';\n"]}
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./vote"), exports);
18
18
  __exportStar(require("./lge"), exports);
19
- __exportStar(require("./twitter"), exports);
20
19
  __exportStar(require("./referral"), exports);
21
20
  __exportStar(require("./discord"), exports);
22
21
  __exportStar(require("./sbt"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,wCAAsB","sourcesContent":["export * from './vote';\nexport * from './lge';\nexport * from './twitter';\nexport * from './referral';\nexport * from './discord';\nexport * from './sbt';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,6CAA2B;AAC3B,4CAA0B;AAC1B,wCAAsB","sourcesContent":["export * from './vote';\nexport * from './lge';\nexport * from './referral';\nexport * from './discord';\nexport * from './sbt';\n"]}
@@ -66,13 +66,6 @@ var LGEModule = /** @class */ (function (_super) {
66
66
  _this.loggingEnabled = loggingEnabled;
67
67
  return _this;
68
68
  }
69
- LGEModule.prototype.claimRank = function (_) {
70
- return __awaiter(this, void 0, void 0, function () {
71
- return __generator(this, function (_a) {
72
- return [2 /*return*/, { success: true }];
73
- });
74
- });
75
- };
76
69
  LGEModule.prototype.getLpTvl = function () {
77
70
  return __awaiter(this, void 0, void 0, function () {
78
71
  var uri;
@@ -82,145 +75,9 @@ var LGEModule = /** @class */ (function (_super) {
82
75
  });
83
76
  });
84
77
  };
85
- LGEModule.prototype.getAccountLGEStatus = function (params) {
86
- return __awaiter(this, void 0, void 0, function () {
87
- var uri;
88
- return __generator(this, function (_a) {
89
- uri = "/api/xp/xp-profile-v4/".concat(params.address);
90
- return [2 /*return*/, this.get(uri)];
91
- });
92
- });
93
- };
94
- LGEModule.prototype.getUserLeaderboardDataV2 = function (params) {
95
- return __awaiter(this, void 0, void 0, function () {
96
- var uri;
97
- return __generator(this, function (_a) {
98
- uri = "/api/xp/user-leaderboard-v4-data/".concat(params.address);
99
- return [2 /*return*/, this.get(uri)];
100
- });
101
- });
102
- };
103
- LGEModule.prototype.getUserTradingLeaderboardData = function (params) {
104
- return __awaiter(this, void 0, void 0, function () {
105
- var uri;
106
- return __generator(this, function (_a) {
107
- uri = "/api/xp/user-trading-leaderboard-data/".concat(params.address);
108
- return [2 /*return*/, this.get(uri)];
109
- });
110
- });
111
- };
112
- LGEModule.prototype.getLeaderboardByRank = function (params) {
113
- return __awaiter(this, void 0, void 0, function () {
114
- var uri;
115
- return __generator(this, function (_a) {
116
- uri = "/api/xp/leaderboard-v4-by-rank/".concat(params.rankNumber, "/").concat(params.perPage, "/").concat(params.page);
117
- return [2 /*return*/, this.get(uri)];
118
- });
119
- });
120
- };
121
- LGEModule.prototype.getV4LeaderboardByRankTrading = function (params) {
122
- return __awaiter(this, void 0, void 0, function () {
123
- var uri;
124
- return __generator(this, function (_a) {
125
- uri = "/api/xp/leaderboard-v4-by-rank-trading/".concat(params.rankNumber, "/").concat(params.perPage, "/").concat(params.page);
126
- return [2 /*return*/, this.get(uri)];
127
- });
128
- });
129
- };
130
- LGEModule.prototype.getLeaderboardRanks = function () {
131
- return Object.entries(common_1.RANKS).map(function (e) { return e[1]; });
132
- };
133
- LGEModule.prototype.getLeaderboardTradingRanks = function () {
134
- return Object.entries(common_1.RANKS_TRADING).map(function (e) { return e[1]; });
135
- };
136
- LGEModule.prototype.getTradingLotteryBoostStatus = function (params) {
137
- return __awaiter(this, void 0, void 0, function () {
138
- var uri;
139
- return __generator(this, function (_a) {
140
- uri = "/api/xp/lottery-boost-status/".concat(params.address);
141
- return [2 /*return*/, this.get(uri)];
142
- });
143
- });
144
- };
145
- LGEModule.prototype.burnNFT = function (params) {
146
- return __awaiter(this, void 0, void 0, function () {
147
- var uri;
148
- return __generator(this, function (_a) {
149
- uri = "/api/nft/".concat(params.address);
150
- return [2 /*return*/, Boolean(uri)];
151
- });
152
- });
153
- };
154
- LGEModule.prototype.getSeasonOGSnapshot = function (params) {
155
- return __awaiter(this, void 0, void 0, function () {
156
- var uri;
157
- return __generator(this, function (_a) {
158
- uri = "/api/xp/season-og-snapshot/".concat(params.address);
159
- return [2 /*return*/, this.get(uri)];
160
- });
161
- });
162
- };
163
- LGEModule.prototype.getLiquiditySeasonSnapshots = function (params) {
164
- return __awaiter(this, void 0, void 0, function () {
165
- var uri;
166
- return __generator(this, function (_a) {
167
- uri = "/api/xp/liquidity-season-snapshots/".concat(params.address);
168
- return [2 /*return*/, this.get(uri)];
169
- });
170
- });
171
- };
172
- LGEModule.prototype.getTradingSeasonSnapshots = function (params) {
173
- return __awaiter(this, void 0, void 0, function () {
174
- var uri;
175
- return __generator(this, function (_a) {
176
- uri = "/api/xp/trading-season-snapshots/".concat(params.address);
177
- return [2 /*return*/, this.get(uri)];
178
- });
179
- });
180
- };
181
- __decorate([
182
- (0, common_1.Logger)('LGEModule.claimRank')
183
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
184
- ], LGEModule.prototype, "claimRank", null);
185
78
  __decorate([
186
79
  (0, common_1.Logger)('LGEModule.getLpTvl')
187
80
  ], LGEModule.prototype, "getLpTvl", null);
188
- __decorate([
189
- (0, common_1.Logger)('LGEModule.getAccountLGEStatus')
190
- ], LGEModule.prototype, "getAccountLGEStatus", null);
191
- __decorate([
192
- (0, common_1.Logger)('LGEModule.getUserLeaderboardDataV2')
193
- ], LGEModule.prototype, "getUserLeaderboardDataV2", null);
194
- __decorate([
195
- (0, common_1.Logger)('LGEModule.getUserTradingLeaderboardData')
196
- ], LGEModule.prototype, "getUserTradingLeaderboardData", null);
197
- __decorate([
198
- (0, common_1.Logger)('LGEModule.getLeaderboardByRank')
199
- ], LGEModule.prototype, "getLeaderboardByRank", null);
200
- __decorate([
201
- (0, common_1.Logger)('LGEModule.getV4LeaderboardByRankTrading')
202
- ], LGEModule.prototype, "getV4LeaderboardByRankTrading", null);
203
- __decorate([
204
- (0, common_1.Logger)('LGEModule.getUserLeaderboardDataV2')
205
- ], LGEModule.prototype, "getLeaderboardRanks", null);
206
- __decorate([
207
- (0, common_1.Logger)('LGEModule.getLeaderboardTradingRanks')
208
- ], LGEModule.prototype, "getLeaderboardTradingRanks", null);
209
- __decorate([
210
- (0, common_1.Logger)('LGEModule.getTradingLotteryBoostStatus')
211
- ], LGEModule.prototype, "getTradingLotteryBoostStatus", null);
212
- __decorate([
213
- (0, common_1.Logger)('LGEModule.burnNFT')
214
- ], LGEModule.prototype, "burnNFT", null);
215
- __decorate([
216
- (0, common_1.Logger)('LGEModule.getSeasonOGSnapshot')
217
- ], LGEModule.prototype, "getSeasonOGSnapshot", null);
218
- __decorate([
219
- (0, common_1.Logger)('LGEModule.getLiquiditySeasonSnapshots')
220
- ], LGEModule.prototype, "getLiquiditySeasonSnapshots", null);
221
- __decorate([
222
- (0, common_1.Logger)('LGEModule.getTradingSeasonSnapshots')
223
- ], LGEModule.prototype, "getTradingSeasonSnapshots", null);
224
81
  return LGEModule;
225
82
  }(common_1.RestClient));
226
83
  exports.default = LGEModule;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAgByB;AAkBzB;IAAuC,6BAAU;IAG/C,mBAAY,MAAc,EAAE,cAAuB;QACjD,YAAA,MAAK,YAAC,MAAM,CAAC,SAAC;QAHhB,oBAAc,GAAY,KAAK,CAAC;QAI9B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AGK;QADL,IAAA,eAAM,EAAC,+BAA+B,CAAC;wDAIvC;IAGK;QADL,IAAA,eAAM,EAAC,oCAAoC,CAAC;6DAI5C;IAGK;QADL,IAAA,eAAM,EAAC,yCAAyC,CAAC;kEAIjD;IAGK;QADL,IAAA,eAAM,EAAC,gCAAgC,CAAC;yDAIxC;IAGK;QADL,IAAA,eAAM,EAAC,yCAAyC,CAAC;kEAIjD;IAGD;QADC,IAAA,eAAM,EAAC,oCAAoC,CAAC;wDAG5C;IAGD;QADC,IAAA,eAAM,EAAC,sCAAsC,CAAC;+DAK9C;IAGK;QADL,IAAA,eAAM,EAAC,wCAAwC,CAAC;iEAMhD;IAGK;QADL,IAAA,eAAM,EAAC,mBAAmB,CAAC;4CAK3B;IAGK;QADL,IAAA,eAAM,EAAC,+BAA+B,CAAC;wDAMvC;IAGK;QADL,IAAA,eAAM,EAAC,uCAAuC,CAAC;gEAM/C;IAGK;QADL,IAAA,eAAM,EAAC,qCAAqC,CAAC;8DAM7C;IACH,gBAAC;CAAA,AApGD,CAAuC,mBAAU,GAoGhD;kBApGoB,SAAS","sourcesContent":["import {\n RestClient,\n Loggable,\n Logger,\n RANKS,\n Rank,\n RANKS_TRADING,\n RankTrading,\n GetTradingLotteryBoostStatusResult,\n GetTradingLotteryBoostStatusParams,\n GetTradingLeaderboardByRankResult,\n GetUserTradingLeaderboardDataResult,\n GetLiquiditySeasonSnapshotsParams,\n GetLiquiditySeasonSnapshotsResult,\n GetTradingSeasonSnapshotsParams,\n GetTradingSeasonSnapshotsResult,\n} from '@reyaxyz/common';\n\nimport {\n GetAccountLGEStatusParams,\n GetAccountLGEStatusResult,\n ClaimRankParams,\n ClaimRankResult,\n GetLeaderboardByRankParams,\n GetLeaderboardByRankResult,\n GetUserLeaderboardDataV2Params,\n GetUserLeaderboardDataV2Result,\n GetLpTvlResult,\n BurnNFTParams,\n BurnNFTResult,\n GetSeasonOGSnapshotParams,\n GetSeasonOGSnapshotResult,\n} from './types';\n\nexport default class LGEModule extends RestClient implements Loggable {\n loggingEnabled: boolean = false;\n\n constructor(apiUrl: string, loggingEnabled: boolean) {\n super(apiUrl);\n this.loggingEnabled = loggingEnabled;\n }\n\n @Logger('LGEModule.claimRank')\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async claimRank(_: ClaimRankParams): Promise<ClaimRankResult> {\n return { success: true };\n }\n\n @Logger('LGEModule.getLpTvl')\n async getLpTvl() {\n const uri = `/api/xp/lp-tvl`;\n return this.get<GetLpTvlResult>(uri);\n }\n\n @Logger('LGEModule.getAccountLGEStatus')\n async getAccountLGEStatus(params: GetAccountLGEStatusParams) {\n const uri = `/api/xp/xp-profile-v4/${params.address}`;\n return this.get<GetAccountLGEStatusResult>(uri);\n }\n\n @Logger('LGEModule.getUserLeaderboardDataV2')\n async getUserLeaderboardDataV2(params: GetUserLeaderboardDataV2Params) {\n const uri = `/api/xp/user-leaderboard-v4-data/${params.address}`;\n return this.get<GetUserLeaderboardDataV2Result>(uri);\n }\n\n @Logger('LGEModule.getUserTradingLeaderboardData')\n async getUserTradingLeaderboardData(params: GetUserLeaderboardDataV2Params) {\n const uri = `/api/xp/user-trading-leaderboard-data/${params.address}`;\n return this.get<GetUserTradingLeaderboardDataResult>(uri);\n }\n\n @Logger('LGEModule.getLeaderboardByRank')\n async getLeaderboardByRank(params: GetLeaderboardByRankParams) {\n const uri = `/api/xp/leaderboard-v4-by-rank/${params.rankNumber}/${params.perPage}/${params.page}`;\n return this.get<GetLeaderboardByRankResult>(uri);\n }\n\n @Logger('LGEModule.getV4LeaderboardByRankTrading')\n async getV4LeaderboardByRankTrading(params: GetLeaderboardByRankParams) {\n const uri = `/api/xp/leaderboard-v4-by-rank-trading/${params.rankNumber}/${params.perPage}/${params.page}`;\n return this.get<GetTradingLeaderboardByRankResult>(uri);\n }\n\n @Logger('LGEModule.getUserLeaderboardDataV2')\n getLeaderboardRanks() {\n return Object.entries(RANKS as Record<number, Rank>).map((e) => e[1]);\n }\n\n @Logger('LGEModule.getLeaderboardTradingRanks')\n getLeaderboardTradingRanks() {\n return Object.entries(RANKS_TRADING as Record<number, RankTrading>).map(\n (e) => e[1],\n );\n }\n\n @Logger('LGEModule.getTradingLotteryBoostStatus')\n async getTradingLotteryBoostStatus(\n params: GetTradingLotteryBoostStatusParams,\n ): Promise<GetTradingLotteryBoostStatusResult> {\n const uri = `/api/xp/lottery-boost-status/${params.address}`;\n return this.get<GetTradingLotteryBoostStatusResult>(uri);\n }\n\n @Logger('LGEModule.burnNFT')\n async burnNFT(params: BurnNFTParams): Promise<BurnNFTResult> {\n // TODO: please Costin fix implementation\n const uri = `/api/nft/${params.address}`;\n return Boolean(uri);\n }\n\n @Logger('LGEModule.getSeasonOGSnapshot')\n async getSeasonOGSnapshot(\n params: GetSeasonOGSnapshotParams,\n ): Promise<GetSeasonOGSnapshotResult> {\n const uri = `/api/xp/season-og-snapshot/${params.address}`;\n return this.get<GetSeasonOGSnapshotResult>(uri);\n }\n\n @Logger('LGEModule.getLiquiditySeasonSnapshots')\n async getLiquiditySeasonSnapshots(\n params: GetLiquiditySeasonSnapshotsParams,\n ): Promise<GetLiquiditySeasonSnapshotsResult> {\n const uri = `/api/xp/liquidity-season-snapshots/${params.address}`;\n return this.get<GetLiquiditySeasonSnapshotsResult>(uri);\n }\n\n @Logger('LGEModule.getTradingSeasonSnapshots')\n async getTradingSeasonSnapshots(\n params: GetTradingSeasonSnapshotsParams,\n ): Promise<GetTradingSeasonSnapshotsResult> {\n const uri = `/api/xp/trading-season-snapshots/${params.address}`;\n return this.get<GetTradingSeasonSnapshotsResult>(uri);\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA+D;AAI/D;IAAuC,6BAAU;IAG/C,mBAAY,MAAc,EAAE,cAAuB;QACjD,YAAA,MAAK,YAAC,MAAM,CAAC,SAAC;QAHhB,oBAAc,GAAY,KAAK,CAAC;QAI9B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;IACvC,CAAC;IAGK,4BAAQ,GAAR;;;;gBACE,GAAG,GAAG,gBAAgB,CAAC;gBAC7B,sBAAO,IAAI,CAAC,GAAG,CAAiB,GAAG,CAAC,EAAC;;;KACtC;IAHK;QADL,IAAA,eAAM,EAAC,oBAAoB,CAAC;6CAI5B;IACH,gBAAC;CAAA,AAbD,CAAuC,mBAAU,GAahD;kBAboB,SAAS","sourcesContent":["import { RestClient, Loggable, Logger } from '@reyaxyz/common';\n\nimport { GetLpTvlResult } from './types';\n\nexport default class LGEModule extends RestClient implements Loggable {\n loggingEnabled: boolean = false;\n\n constructor(apiUrl: string, loggingEnabled: boolean) {\n super(apiUrl);\n this.loggingEnabled = loggingEnabled;\n }\n\n @Logger('LGEModule.getLpTvl')\n async getLpTvl() {\n const uri = `/api/xp/lp-tvl`;\n return this.get<GetLpTvlResult>(uri);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"/","sources":["modules/lge/types.ts"],"names":[],"mappings":"","sourcesContent":["export {\n GetAccountLGEStatusParams,\n GetAccountLGEStatusResult,\n GetLeaderboardParams,\n GetLeaderboardResult,\n GetLeaderboardByRankParams,\n GetLeaderboardByRankResult,\n GetUserLeaderboardDataParams,\n GetUserLeaderboardDataV2Params,\n GetUserLeaderboardDataResult,\n GetUserLeaderboardDataV2Result,\n LeaderboardEntity,\n LeaderboardEntityV2,\n UserLeaderboardDataEntity,\n UserLeaderboardDataV2Entity,\n ClaimRankParams,\n ClaimRankResult,\n XPEntity,\n GetLpTvlResult,\n BurnNFTParams,\n BurnNFTResult,\n GetSeasonOGSnapshotParams,\n GetSeasonOGSnapshotResult,\n Rank,\n RankTrading,\n} from '@reyaxyz/common';\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"/","sources":["modules/lge/types.ts"],"names":[],"mappings":"","sourcesContent":["export { GetLpTvlResult, Rank, RankTrading } from '@reyaxyz/common';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/referral/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA+D;AAS/D;IAAuC,6BAAU;IAG/C,mBAAY,MAAc,EAAE,cAAuB;QACjD,YAAA,MAAK,YAAC,MAAM,CAAC,SAAC;QAHhB,oBAAc,GAAY,KAAK,CAAC;QAI9B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;IACvC,CAAC;IAGK,4CAAwB,GAAxB,UAAyB,MAAsC;;;gBACnE,sBAAO,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAC;;;KAChD;IAGK,8CAA0B,GAA1B,UAA2B,MAAsC;;;;gBAC/D,GAAG,GAAG,0CAAmC,MAAM,CAAC,OAAO,CAAE,CAAC;gBAChE,sBAAO,IAAI,CAAC,GAAG,CAAiC,GAAG,CAAC,EAAC;;;KACtD;IAGK,yCAAqB,GAArB,UAAsB,MAAmC;;;;gBACvD,GAAG,GAAG,oCAA6B,MAAM,CAAC,OAAO,CAAE,CAAC;gBAC1D,sBAAO,IAAI,CAAC,GAAG,CAA8B,GAAG,CAAC,EAAC;;;KACnD;IAdK;QADL,IAAA,eAAM,EAAC,yCAAyC,CAAC;6DAGjD;IAGK;QADL,IAAA,eAAM,EAAC,2CAA2C,CAAC;+DAInD;IAGK;QADL,IAAA,eAAM,EAAC,sCAAsC,CAAC;0DAI9C;IACH,gBAAC;CAAA,AAxBD,CAAuC,mBAAU,GAwBhD;kBAxBoB,SAAS","sourcesContent":["import { Loggable, Logger, RestClient } from '@reyaxyz/common';\n\nimport {\n GetWalletReferralDetailsParams,\n GetWalletReferralDetailsResult,\n GetWalletReferralCodeParams,\n GetWalletReferralCodeResult,\n} from './types';\n\nexport default class LGEModule extends RestClient implements Loggable {\n loggingEnabled: boolean = false;\n\n constructor(apiUrl: string, loggingEnabled: boolean) {\n super(apiUrl);\n this.loggingEnabled = loggingEnabled;\n }\n\n @Logger('ReferralModule.getWalletReferralDetails')\n async getWalletReferralDetails(params: GetWalletReferralDetailsParams) {\n return this.getWalletReferralDetailsV4(params);\n }\n\n @Logger('ReferralModule.getWalletReferralDetailsV4')\n async getWalletReferralDetailsV4(params: GetWalletReferralDetailsParams) {\n const uri = `/api/xp/get-referral-profile-v4/${params.address}`;\n return this.get<GetWalletReferralDetailsResult>(uri);\n }\n\n @Logger('ReferralModule.getWalletReferralCode')\n async getWalletReferralCode(params: GetWalletReferralCodeParams) {\n const uri = `/api/xp/get-referral-code/${params.address}`;\n return this.get<GetWalletReferralCodeResult>(uri);\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/referral/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA+D;AAS/D;IAAuC,6BAAU;IAG/C,mBAAY,MAAc,EAAE,cAAuB;QACjD,YAAA,MAAK,YAAC,MAAM,CAAC,SAAC;QAHhB,oBAAc,GAAY,KAAK,CAAC;QAI9B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;IACvC,CAAC;IAGK,4CAAwB,GAAxB,UAAyB,MAAsC;;;gBACnE,sBAAO,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAC;;;KAChD;IAGK,8CAA0B,GAA1B,UAA2B,MAAsC;;;;gBAC/D,GAAG,GAAG,0CAAmC,MAAM,CAAC,OAAO,CAAE,CAAC;gBAChE,sBAAO,IAAI,CAAC,GAAG,CAAiC,GAAG,CAAC,EAAC;;;KACtD;IAGK,yCAAqB,GAArB,UAAsB,MAAmC;;;;gBACvD,GAAG,GAAG,oCAA6B,MAAM,CAAC,OAAO,CAAE,CAAC;gBAC1D,sBAAO,IAAI,CAAC,GAAG,CAA8B,GAAG,CAAC,EAAC;;;KACnD;IAdK;QADL,IAAA,eAAM,EAAC,yCAAyC,CAAC;6DAGjD;IAGK;QADL,IAAA,eAAM,EAAC,2CAA2C,CAAC;+DAInD;IAGK;QADL,IAAA,eAAM,EAAC,sCAAsC,CAAC;0DAI9C;IACH,gBAAC;CAAA,AAxBD,CAAuC,mBAAU,GAwBhD;kBAxBoB,SAAS","sourcesContent":["import { Loggable, Logger, RestClient } from '@reyaxyz/common';\n\nimport {\n GetWalletReferralCodeParams,\n GetWalletReferralCodeResult,\n GetWalletReferralDetailsParams,\n GetWalletReferralDetailsResult,\n} from './types';\n\nexport default class LGEModule extends RestClient implements Loggable {\n loggingEnabled: boolean = false;\n\n constructor(apiUrl: string, loggingEnabled: boolean) {\n super(apiUrl);\n this.loggingEnabled = loggingEnabled;\n }\n\n @Logger('ReferralModule.getWalletReferralDetails')\n async getWalletReferralDetails(params: GetWalletReferralDetailsParams) {\n return this.getWalletReferralDetailsV4(params);\n }\n\n @Logger('ReferralModule.getWalletReferralDetailsV4')\n async getWalletReferralDetailsV4(params: GetWalletReferralDetailsParams) {\n const uri = `/api/xp/get-referral-profile-v4/${params.address}`;\n return this.get<GetWalletReferralDetailsResult>(uri);\n }\n\n @Logger('ReferralModule.getWalletReferralCode')\n async getWalletReferralCode(params: GetWalletReferralCodeParams) {\n const uri = `/api/xp/get-referral-code/${params.address}`;\n return this.get<GetWalletReferralCodeResult>(uri);\n }\n}\n"]}
@@ -2,7 +2,6 @@ import { ServiceConfig } from '@reyaxyz/common';
2
2
  import VoteModule from '../modules/vote';
3
3
  import LGEModule from '../modules/lge';
4
4
  import SbtModule from '../modules/sbt';
5
- import TwitterModule from '../modules/twitter';
6
5
  import ReferralModule from '../modules/referral';
7
6
  import DiscordModule from '../modules/discord';
8
7
  /**
@@ -14,7 +13,6 @@ export declare class CommunityClient {
14
13
  private readonly _voteModule;
15
14
  private readonly _sbtModule;
16
15
  private readonly _lgeModule;
17
- private readonly _twitterModule;
18
16
  private readonly _referralModule;
19
17
  private readonly _discordModule;
20
18
  private constructor();
@@ -44,14 +42,6 @@ export declare class CommunityClient {
44
42
  * @memberof CommunityClient
45
43
  */
46
44
  static get lge(): LGEModule;
47
- /**
48
- * Provides access to the TwitterModule instance.
49
- * This getter allows for interacting with twitter-related functionalities.
50
- *
51
- * @returns {TwitterModule} An instance of Twitter for twitter operations.
52
- * @memberof CommunityClient
53
- */
54
- static get twitter(): TwitterModule;
55
45
  /**
56
46
  * Provides access to the ReferralModule instance.
57
47
  * This getter allows for interacting with referral related functionalities.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAE/C;;GAEG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAkB;IACzC,OAAO,CAAC,MAAM,CAAC,MAAM,CAA6C;IAElE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAa;IACzC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAE/C,OAAO;WA2BO,SAAS,CAAC,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,GAAG,IAAI;IAKxE,OAAO,CAAC,MAAM,CAAC,WAAW;IAS1B;;;;;;OAMG;IACH,WAA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;;OAMG;IACH,WAAkB,GAAG,IAAI,SAAS,CAEjC;IAED;;;;;;OAMG;IACH,WAAkB,QAAQ,IAAI,cAAc,CAE3C;IAED;;;;;;OAMG;IACH,WAAkB,OAAO,IAAI,aAAa,CAEzC;IAED,WAAkB,cAAc,IAAI,MAAM,CAEzC;CACF"}
@@ -1,5 +1,4 @@
1
1
  export * from './client';
2
- export * from './modules/twitter/types';
3
2
  export * from './modules/vote/types';
4
3
  export * from './modules/lge/types';
5
4
  export * from './modules/referral/types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export * from './vote';
2
2
  export * from './lge';
3
- export * from './twitter';
4
3
  export * from './referral';
5
4
  export * from './discord';
6
5
  export * from './sbt';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC"}
@@ -1,21 +1,8 @@
1
- import { RestClient, Loggable, Rank, RankTrading, GetTradingLotteryBoostStatusResult, GetTradingLotteryBoostStatusParams, GetTradingLeaderboardByRankResult, GetUserTradingLeaderboardDataResult, GetLiquiditySeasonSnapshotsParams, GetLiquiditySeasonSnapshotsResult, GetTradingSeasonSnapshotsParams, GetTradingSeasonSnapshotsResult } from '@reyaxyz/common';
2
- import { GetAccountLGEStatusParams, GetAccountLGEStatusResult, ClaimRankParams, ClaimRankResult, GetLeaderboardByRankParams, GetLeaderboardByRankResult, GetUserLeaderboardDataV2Params, GetLpTvlResult, BurnNFTParams, BurnNFTResult, GetSeasonOGSnapshotParams, GetSeasonOGSnapshotResult } from './types';
1
+ import { RestClient, Loggable } from '@reyaxyz/common';
2
+ import { GetLpTvlResult } from './types';
3
3
  export default class LGEModule extends RestClient implements Loggable {
4
4
  loggingEnabled: boolean;
5
5
  constructor(apiUrl: string, loggingEnabled: boolean);
6
- claimRank(_: ClaimRankParams): Promise<ClaimRankResult>;
7
6
  getLpTvl(): Promise<GetLpTvlResult>;
8
- getAccountLGEStatus(params: GetAccountLGEStatusParams): Promise<GetAccountLGEStatusResult>;
9
- getUserLeaderboardDataV2(params: GetUserLeaderboardDataV2Params): Promise<import("@reyaxyz/common").UserLeaderboardDataV2Entity>;
10
- getUserTradingLeaderboardData(params: GetUserLeaderboardDataV2Params): Promise<GetUserTradingLeaderboardDataResult>;
11
- getLeaderboardByRank(params: GetLeaderboardByRankParams): Promise<GetLeaderboardByRankResult>;
12
- getV4LeaderboardByRankTrading(params: GetLeaderboardByRankParams): Promise<GetTradingLeaderboardByRankResult>;
13
- getLeaderboardRanks(): Rank[];
14
- getLeaderboardTradingRanks(): RankTrading[];
15
- getTradingLotteryBoostStatus(params: GetTradingLotteryBoostStatusParams): Promise<GetTradingLotteryBoostStatusResult>;
16
- burnNFT(params: BurnNFTParams): Promise<BurnNFTResult>;
17
- getSeasonOGSnapshot(params: GetSeasonOGSnapshotParams): Promise<GetSeasonOGSnapshotResult>;
18
- getLiquiditySeasonSnapshots(params: GetLiquiditySeasonSnapshotsParams): Promise<GetLiquiditySeasonSnapshotsResult>;
19
- getTradingSeasonSnapshots(params: GetTradingSeasonSnapshotsParams): Promise<GetTradingSeasonSnapshotsResult>;
20
7
  }
21
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,QAAQ,EAGR,IAAI,EAEJ,WAAW,EACX,kCAAkC,EAClC,kCAAkC,EAClC,iCAAiC,EACjC,mCAAmC,EACnC,iCAAiC,EACjC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,eAAe,EACf,eAAe,EACf,0BAA0B,EAC1B,0BAA0B,EAC1B,8BAA8B,EAE9B,cAAc,EACd,aAAa,EACb,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,UAAW,YAAW,QAAQ;IACnE,cAAc,EAAE,OAAO,CAAS;gBAEpB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO;IAO7C,SAAS,CAAC,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IAKvD,QAAQ;IAMR,mBAAmB,CAAC,MAAM,EAAE,yBAAyB;IAMrD,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;IAM/D,6BAA6B,CAAC,MAAM,EAAE,8BAA8B;IAMpE,oBAAoB,CAAC,MAAM,EAAE,0BAA0B;IAMvD,6BAA6B,CAAC,MAAM,EAAE,0BAA0B;IAMtE,mBAAmB;IAKnB,0BAA0B;IAOpB,4BAA4B,CAChC,MAAM,EAAE,kCAAkC,GACzC,OAAO,CAAC,kCAAkC,CAAC;IAMxC,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;IAOtD,mBAAmB,CACvB,MAAM,EAAE,yBAAyB,GAChC,OAAO,CAAC,yBAAyB,CAAC;IAM/B,2BAA2B,CAC/B,MAAM,EAAE,iCAAiC,GACxC,OAAO,CAAC,iCAAiC,CAAC;IAMvC,yBAAyB,CAC7B,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAAC,+BAA+B,CAAC;CAI5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAU,MAAM,iBAAiB,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,UAAW,YAAW,QAAQ;IACnE,cAAc,EAAE,OAAO,CAAS;gBAEpB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO;IAM7C,QAAQ;CAIf"}
@@ -1,2 +1,2 @@
1
- export { GetAccountLGEStatusParams, GetAccountLGEStatusResult, GetLeaderboardParams, GetLeaderboardResult, GetLeaderboardByRankParams, GetLeaderboardByRankResult, GetUserLeaderboardDataParams, GetUserLeaderboardDataV2Params, GetUserLeaderboardDataResult, GetUserLeaderboardDataV2Result, LeaderboardEntity, LeaderboardEntityV2, UserLeaderboardDataEntity, UserLeaderboardDataV2Entity, ClaimRankParams, ClaimRankResult, XPEntity, GetLpTvlResult, BurnNFTParams, BurnNFTResult, GetSeasonOGSnapshotParams, GetSeasonOGSnapshotResult, Rank, RankTrading, } from '@reyaxyz/common';
1
+ export { GetLpTvlResult, Rank, RankTrading } from '@reyaxyz/common';
2
2
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["modules/lge/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,EAC9B,4BAA4B,EAC5B,8BAA8B,EAC9B,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,eAAe,EACf,eAAe,EACf,QAAQ,EACR,cAAc,EACd,aAAa,EACb,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EACzB,IAAI,EACJ,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["modules/lge/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Loggable, RestClient } from '@reyaxyz/common';
2
- import { GetWalletReferralDetailsParams, GetWalletReferralDetailsResult, GetWalletReferralCodeParams, GetWalletReferralCodeResult } from './types';
2
+ import { GetWalletReferralCodeParams, GetWalletReferralCodeResult, GetWalletReferralDetailsParams, GetWalletReferralDetailsResult } from './types';
3
3
  export default class LGEModule extends RestClient implements Loggable {
4
4
  loggingEnabled: boolean;
5
5
  constructor(apiUrl: string, loggingEnabled: boolean);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/referral/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,UAAW,YAAW,QAAQ;IACnE,cAAc,EAAE,OAAO,CAAS;gBAEpB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO;IAM7C,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;IAK/D,0BAA0B,CAAC,MAAM,EAAE,8BAA8B;IAMjE,qBAAqB,CAAC,MAAM,EAAE,2BAA2B;CAIhE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/referral/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,UAAW,YAAW,QAAQ;IACnE,cAAc,EAAE,OAAO,CAAS;gBAEpB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO;IAM7C,wBAAwB,CAAC,MAAM,EAAE,8BAA8B;IAK/D,0BAA0B,CAAC,MAAM,EAAE,8BAA8B;IAMjE,qBAAqB,CAAC,MAAM,EAAE,2BAA2B;CAIhE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/community-sdk",
3
- "version": "0.51.24",
3
+ "version": "0.52.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -38,5 +38,5 @@
38
38
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
39
39
  },
40
40
  "packageManager": "pnpm@8.3.1",
41
- "gitHead": "6ae13e419b8e951b20d8e63ed3a8f955f0fa3d52"
41
+ "gitHead": "9c933bf55e5dd9f50ca8033746f043baf49ed9b2"
42
42
  }
@@ -2,7 +2,6 @@ import { getApiClientConfig, ServiceConfig } from '@reyaxyz/common';
2
2
  import VoteModule from '../modules/vote';
3
3
  import LGEModule from '../modules/lge';
4
4
  import SbtModule from '../modules/sbt';
5
- import TwitterModule from '../modules/twitter';
6
5
  import ReferralModule from '../modules/referral';
7
6
  import DiscordModule from '../modules/discord';
8
7
 
@@ -16,7 +15,6 @@ export class CommunityClient {
16
15
  private readonly _voteModule: VoteModule;
17
16
  private readonly _sbtModule: SbtModule;
18
17
  private readonly _lgeModule: LGEModule;
19
- private readonly _twitterModule: TwitterModule;
20
18
  private readonly _referralModule: ReferralModule;
21
19
  private readonly _discordModule: DiscordModule;
22
20
 
@@ -33,10 +31,6 @@ export class CommunityClient {
33
31
  CommunityClient.config.apiEndpoint,
34
32
  CommunityClient.config.logging,
35
33
  );
36
- this._twitterModule = new TwitterModule(
37
- CommunityClient.config.apiEndpoint,
38
- CommunityClient.config.logging,
39
- );
40
34
  this._referralModule = new ReferralModule(
41
35
  CommunityClient.config.apiEndpoint,
42
36
  CommunityClient.config.logging,
@@ -94,17 +88,6 @@ export class CommunityClient {
94
88
  return CommunityClient.getInstance()._lgeModule;
95
89
  }
96
90
 
97
- /**
98
- * Provides access to the TwitterModule instance.
99
- * This getter allows for interacting with twitter-related functionalities.
100
- *
101
- * @returns {TwitterModule} An instance of Twitter for twitter operations.
102
- * @memberof CommunityClient
103
- */
104
- public static get twitter(): TwitterModule {
105
- return CommunityClient.getInstance()._twitterModule;
106
- }
107
-
108
91
  /**
109
92
  * Provides access to the ReferralModule instance.
110
93
  * This getter allows for interacting with referral related functionalities.
package/src/index.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './client';
2
- export * from './modules/twitter/types';
3
2
  export * from './modules/vote/types';
4
3
  export * from './modules/lge/types';
5
4
  export * from './modules/referral/types';
@@ -1,6 +1,5 @@
1
1
  export * from './vote';
2
2
  export * from './lge';
3
- export * from './twitter';
4
3
  export * from './referral';
5
4
  export * from './discord';
6
5
  export * from './sbt';
@@ -1,36 +1,6 @@
1
- import {
2
- RestClient,
3
- Loggable,
4
- Logger,
5
- RANKS,
6
- Rank,
7
- RANKS_TRADING,
8
- RankTrading,
9
- GetTradingLotteryBoostStatusResult,
10
- GetTradingLotteryBoostStatusParams,
11
- GetTradingLeaderboardByRankResult,
12
- GetUserTradingLeaderboardDataResult,
13
- GetLiquiditySeasonSnapshotsParams,
14
- GetLiquiditySeasonSnapshotsResult,
15
- GetTradingSeasonSnapshotsParams,
16
- GetTradingSeasonSnapshotsResult,
17
- } from '@reyaxyz/common';
1
+ import { RestClient, Loggable, Logger } from '@reyaxyz/common';
18
2
 
19
- import {
20
- GetAccountLGEStatusParams,
21
- GetAccountLGEStatusResult,
22
- ClaimRankParams,
23
- ClaimRankResult,
24
- GetLeaderboardByRankParams,
25
- GetLeaderboardByRankResult,
26
- GetUserLeaderboardDataV2Params,
27
- GetUserLeaderboardDataV2Result,
28
- GetLpTvlResult,
29
- BurnNFTParams,
30
- BurnNFTResult,
31
- GetSeasonOGSnapshotParams,
32
- GetSeasonOGSnapshotResult,
33
- } from './types';
3
+ import { GetLpTvlResult } from './types';
34
4
 
35
5
  export default class LGEModule extends RestClient implements Loggable {
36
6
  loggingEnabled: boolean = false;
@@ -40,96 +10,9 @@ export default class LGEModule extends RestClient implements Loggable {
40
10
  this.loggingEnabled = loggingEnabled;
41
11
  }
42
12
 
43
- @Logger('LGEModule.claimRank')
44
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
45
- async claimRank(_: ClaimRankParams): Promise<ClaimRankResult> {
46
- return { success: true };
47
- }
48
-
49
13
  @Logger('LGEModule.getLpTvl')
50
14
  async getLpTvl() {
51
15
  const uri = `/api/xp/lp-tvl`;
52
16
  return this.get<GetLpTvlResult>(uri);
53
17
  }
54
-
55
- @Logger('LGEModule.getAccountLGEStatus')
56
- async getAccountLGEStatus(params: GetAccountLGEStatusParams) {
57
- const uri = `/api/xp/xp-profile-v4/${params.address}`;
58
- return this.get<GetAccountLGEStatusResult>(uri);
59
- }
60
-
61
- @Logger('LGEModule.getUserLeaderboardDataV2')
62
- async getUserLeaderboardDataV2(params: GetUserLeaderboardDataV2Params) {
63
- const uri = `/api/xp/user-leaderboard-v4-data/${params.address}`;
64
- return this.get<GetUserLeaderboardDataV2Result>(uri);
65
- }
66
-
67
- @Logger('LGEModule.getUserTradingLeaderboardData')
68
- async getUserTradingLeaderboardData(params: GetUserLeaderboardDataV2Params) {
69
- const uri = `/api/xp/user-trading-leaderboard-data/${params.address}`;
70
- return this.get<GetUserTradingLeaderboardDataResult>(uri);
71
- }
72
-
73
- @Logger('LGEModule.getLeaderboardByRank')
74
- async getLeaderboardByRank(params: GetLeaderboardByRankParams) {
75
- const uri = `/api/xp/leaderboard-v4-by-rank/${params.rankNumber}/${params.perPage}/${params.page}`;
76
- return this.get<GetLeaderboardByRankResult>(uri);
77
- }
78
-
79
- @Logger('LGEModule.getV4LeaderboardByRankTrading')
80
- async getV4LeaderboardByRankTrading(params: GetLeaderboardByRankParams) {
81
- const uri = `/api/xp/leaderboard-v4-by-rank-trading/${params.rankNumber}/${params.perPage}/${params.page}`;
82
- return this.get<GetTradingLeaderboardByRankResult>(uri);
83
- }
84
-
85
- @Logger('LGEModule.getUserLeaderboardDataV2')
86
- getLeaderboardRanks() {
87
- return Object.entries(RANKS as Record<number, Rank>).map((e) => e[1]);
88
- }
89
-
90
- @Logger('LGEModule.getLeaderboardTradingRanks')
91
- getLeaderboardTradingRanks() {
92
- return Object.entries(RANKS_TRADING as Record<number, RankTrading>).map(
93
- (e) => e[1],
94
- );
95
- }
96
-
97
- @Logger('LGEModule.getTradingLotteryBoostStatus')
98
- async getTradingLotteryBoostStatus(
99
- params: GetTradingLotteryBoostStatusParams,
100
- ): Promise<GetTradingLotteryBoostStatusResult> {
101
- const uri = `/api/xp/lottery-boost-status/${params.address}`;
102
- return this.get<GetTradingLotteryBoostStatusResult>(uri);
103
- }
104
-
105
- @Logger('LGEModule.burnNFT')
106
- async burnNFT(params: BurnNFTParams): Promise<BurnNFTResult> {
107
- // TODO: please Costin fix implementation
108
- const uri = `/api/nft/${params.address}`;
109
- return Boolean(uri);
110
- }
111
-
112
- @Logger('LGEModule.getSeasonOGSnapshot')
113
- async getSeasonOGSnapshot(
114
- params: GetSeasonOGSnapshotParams,
115
- ): Promise<GetSeasonOGSnapshotResult> {
116
- const uri = `/api/xp/season-og-snapshot/${params.address}`;
117
- return this.get<GetSeasonOGSnapshotResult>(uri);
118
- }
119
-
120
- @Logger('LGEModule.getLiquiditySeasonSnapshots')
121
- async getLiquiditySeasonSnapshots(
122
- params: GetLiquiditySeasonSnapshotsParams,
123
- ): Promise<GetLiquiditySeasonSnapshotsResult> {
124
- const uri = `/api/xp/liquidity-season-snapshots/${params.address}`;
125
- return this.get<GetLiquiditySeasonSnapshotsResult>(uri);
126
- }
127
-
128
- @Logger('LGEModule.getTradingSeasonSnapshots')
129
- async getTradingSeasonSnapshots(
130
- params: GetTradingSeasonSnapshotsParams,
131
- ): Promise<GetTradingSeasonSnapshotsResult> {
132
- const uri = `/api/xp/trading-season-snapshots/${params.address}`;
133
- return this.get<GetTradingSeasonSnapshotsResult>(uri);
134
- }
135
18
  }
@@ -1,26 +1 @@
1
- export {
2
- GetAccountLGEStatusParams,
3
- GetAccountLGEStatusResult,
4
- GetLeaderboardParams,
5
- GetLeaderboardResult,
6
- GetLeaderboardByRankParams,
7
- GetLeaderboardByRankResult,
8
- GetUserLeaderboardDataParams,
9
- GetUserLeaderboardDataV2Params,
10
- GetUserLeaderboardDataResult,
11
- GetUserLeaderboardDataV2Result,
12
- LeaderboardEntity,
13
- LeaderboardEntityV2,
14
- UserLeaderboardDataEntity,
15
- UserLeaderboardDataV2Entity,
16
- ClaimRankParams,
17
- ClaimRankResult,
18
- XPEntity,
19
- GetLpTvlResult,
20
- BurnNFTParams,
21
- BurnNFTResult,
22
- GetSeasonOGSnapshotParams,
23
- GetSeasonOGSnapshotResult,
24
- Rank,
25
- RankTrading,
26
- } from '@reyaxyz/common';
1
+ export { GetLpTvlResult, Rank, RankTrading } from '@reyaxyz/common';
@@ -1,10 +1,10 @@
1
1
  import { Loggable, Logger, RestClient } from '@reyaxyz/common';
2
2
 
3
3
  import {
4
- GetWalletReferralDetailsParams,
5
- GetWalletReferralDetailsResult,
6
4
  GetWalletReferralCodeParams,
7
5
  GetWalletReferralCodeResult,
6
+ GetWalletReferralDetailsParams,
7
+ GetWalletReferralDetailsResult,
8
8
  } from './types';
9
9
 
10
10
  export default class LGEModule extends RestClient implements Loggable {
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
- return c > 3 && r && Object.defineProperty(target, key, r), r;
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- var common_1 = require("@reyaxyz/common");
25
- var TwitterModule = /** @class */ (function (_super) {
26
- __extends(TwitterModule, _super);
27
- function TwitterModule(apiUrl, loggingEnabled) {
28
- var _this = _super.call(this, apiUrl) || this;
29
- _this.loggingEnabled = false;
30
- _this.loggingEnabled = loggingEnabled;
31
- return _this;
32
- }
33
- TwitterModule.prototype.getLockGameBoostTwitterURL = function (params) {
34
- var formData = new FormData();
35
- formData.append('lockedInBoost', params.lockedInBoost);
36
- formData.append('referralURL', params.referralURL);
37
- var uri = "/api/twitter/lock-game-boost-twitter-url";
38
- return this.post(uri, undefined, formData, undefined);
39
- };
40
- TwitterModule.prototype.getReferralTwitterURL = function (params) {
41
- var formData = new FormData();
42
- formData.append('referralURL', params.referralURL);
43
- var uri = "/api/twitter/referral-twitter-url";
44
- return this.post(uri, undefined, formData, undefined);
45
- };
46
- TwitterModule.prototype.getTradingReferralTwitterURL = function (params) {
47
- var formData = new FormData();
48
- formData.append('referralURL', params.referralURL);
49
- var uri = "/api/twitter/referral-trading-twitter-url";
50
- return this.post(uri, undefined, formData, undefined);
51
- };
52
- __decorate([
53
- (0, common_1.Logger)('TwitterModule.getLockGameBoostTwitterURL')
54
- ], TwitterModule.prototype, "getLockGameBoostTwitterURL", null);
55
- __decorate([
56
- (0, common_1.Logger)('TwitterModule.getReferralTwitterURL')
57
- ], TwitterModule.prototype, "getReferralTwitterURL", null);
58
- __decorate([
59
- (0, common_1.Logger)('TwitterModule.getTradingReferralTwitterURL')
60
- ], TwitterModule.prototype, "getTradingReferralTwitterURL", null);
61
- return TwitterModule;
62
- }(common_1.RestClient));
63
- exports.default = TwitterModule;
64
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/twitter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA+D;AAQ/D;IAA2C,iCAAU;IAGnD,uBAAY,MAAc,EAAE,cAAuB;QACjD,YAAA,MAAK,YAAC,MAAM,CAAC,SAAC;QAHhB,oBAAc,GAAY,KAAK,CAAC;QAI9B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;IACvC,CAAC;IAGD,kDAA0B,GAA1B,UACE,MAAwC;QAExC,IAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;QACvD,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;QAEnD,IAAM,GAAG,GAAG,0CAA0C,CAAC;QACvD,OAAO,IAAI,CAAC,IAAI,CACd,GAAG,EACH,SAAS,EACT,QAAQ,EACR,SAAS,CACV,CAAC;IACJ,CAAC;IAGD,6CAAqB,GAArB,UACE,MAAmC;QAEnC,IAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;QAEnD,IAAM,GAAG,GAAG,mCAAmC,CAAC;QAChD,OAAO,IAAI,CAAC,IAAI,CACd,GAAG,EACH,SAAS,EACT,QAAQ,EACR,SAAS,CACV,CAAC;IACJ,CAAC;IAGD,oDAA4B,GAA5B,UACE,MAAmC;QAEnC,IAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;QAEnD,IAAM,GAAG,GAAG,2CAA2C,CAAC;QACxD,OAAO,IAAI,CAAC,IAAI,CACd,GAAG,EACH,SAAS,EACT,QAAQ,EACR,SAAS,CACV,CAAC;IACJ,CAAC;IA9CD;QADC,IAAA,eAAM,EAAC,0CAA0C,CAAC;mEAelD;IAGD;QADC,IAAA,eAAM,EAAC,qCAAqC,CAAC;8DAc7C;IAGD;QADC,IAAA,eAAM,EAAC,4CAA4C,CAAC;qEAcpD;IACH,oBAAC;CAAA,AAxDD,CAA2C,mBAAU,GAwDpD;kBAxDoB,aAAa","sourcesContent":["import { Loggable, Logger, RestClient } from '@reyaxyz/common';\nimport {\n GetLockGameBoostTwitterUrlResult,\n GetLockGameBoostTwitterUrlParams,\n GetReferralTwitterUrlParams,\n GetReferralTwitterUrlResult,\n} from './types';\n\nexport default class TwitterModule extends RestClient implements Loggable {\n loggingEnabled: boolean = false;\n\n constructor(apiUrl: string, loggingEnabled: boolean) {\n super(apiUrl);\n this.loggingEnabled = loggingEnabled;\n }\n\n @Logger('TwitterModule.getLockGameBoostTwitterURL')\n getLockGameBoostTwitterURL(\n params: GetLockGameBoostTwitterUrlParams,\n ): Promise<GetLockGameBoostTwitterUrlResult> {\n const formData = new FormData();\n formData.append('lockedInBoost', params.lockedInBoost);\n formData.append('referralURL', params.referralURL);\n\n const uri = `/api/twitter/lock-game-boost-twitter-url`;\n return this.post<GetLockGameBoostTwitterUrlResult>(\n uri,\n undefined,\n formData,\n undefined,\n );\n }\n\n @Logger('TwitterModule.getReferralTwitterURL')\n getReferralTwitterURL(\n params: GetReferralTwitterUrlParams,\n ): Promise<GetReferralTwitterUrlResult> {\n const formData = new FormData();\n formData.append('referralURL', params.referralURL);\n\n const uri = `/api/twitter/referral-twitter-url`;\n return this.post<GetReferralTwitterUrlResult>(\n uri,\n undefined,\n formData,\n undefined,\n );\n }\n\n @Logger('TwitterModule.getTradingReferralTwitterURL')\n getTradingReferralTwitterURL(\n params: GetReferralTwitterUrlParams,\n ): Promise<GetReferralTwitterUrlResult> {\n const formData = new FormData();\n formData.append('referralURL', params.referralURL);\n\n const uri = `/api/twitter/referral-trading-twitter-url`;\n return this.post<GetReferralTwitterUrlResult>(\n uri,\n undefined,\n formData,\n undefined,\n );\n }\n}\n"]}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"/","sources":["modules/twitter/types.ts"],"names":[],"mappings":"","sourcesContent":["export {\n GetLockGameBoostTwitterUrlResult,\n GetLockGameBoostTwitterUrlParams,\n GetReferralTwitterUrlParams,\n GetReferralTwitterUrlResult,\n} from '@reyaxyz/common';\n"]}
@@ -1,10 +0,0 @@
1
- import { Loggable, RestClient } from '@reyaxyz/common';
2
- import { GetLockGameBoostTwitterUrlResult, GetLockGameBoostTwitterUrlParams, GetReferralTwitterUrlParams, GetReferralTwitterUrlResult } from './types';
3
- export default class TwitterModule extends RestClient implements Loggable {
4
- loggingEnabled: boolean;
5
- constructor(apiUrl: string, loggingEnabled: boolean);
6
- getLockGameBoostTwitterURL(params: GetLockGameBoostTwitterUrlParams): Promise<GetLockGameBoostTwitterUrlResult>;
7
- getReferralTwitterURL(params: GetReferralTwitterUrlParams): Promise<GetReferralTwitterUrlResult>;
8
- getTradingReferralTwitterURL(params: GetReferralTwitterUrlParams): Promise<GetReferralTwitterUrlResult>;
9
- }
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/twitter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAW,YAAW,QAAQ;IACvE,cAAc,EAAE,OAAO,CAAS;gBAEpB,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO;IAMnD,0BAA0B,CACxB,MAAM,EAAE,gCAAgC,GACvC,OAAO,CAAC,gCAAgC,CAAC;IAe5C,qBAAqB,CACnB,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,2BAA2B,CAAC;IAcvC,4BAA4B,CAC1B,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,2BAA2B,CAAC;CAYxC"}
@@ -1,2 +0,0 @@
1
- export { GetLockGameBoostTwitterUrlResult, GetLockGameBoostTwitterUrlParams, GetReferralTwitterUrlParams, GetReferralTwitterUrlResult, } from '@reyaxyz/common';
2
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["modules/twitter/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC"}
@@ -1,65 +0,0 @@
1
- import { Loggable, Logger, RestClient } from '@reyaxyz/common';
2
- import {
3
- GetLockGameBoostTwitterUrlResult,
4
- GetLockGameBoostTwitterUrlParams,
5
- GetReferralTwitterUrlParams,
6
- GetReferralTwitterUrlResult,
7
- } from './types';
8
-
9
- export default class TwitterModule extends RestClient implements Loggable {
10
- loggingEnabled: boolean = false;
11
-
12
- constructor(apiUrl: string, loggingEnabled: boolean) {
13
- super(apiUrl);
14
- this.loggingEnabled = loggingEnabled;
15
- }
16
-
17
- @Logger('TwitterModule.getLockGameBoostTwitterURL')
18
- getLockGameBoostTwitterURL(
19
- params: GetLockGameBoostTwitterUrlParams,
20
- ): Promise<GetLockGameBoostTwitterUrlResult> {
21
- const formData = new FormData();
22
- formData.append('lockedInBoost', params.lockedInBoost);
23
- formData.append('referralURL', params.referralURL);
24
-
25
- const uri = `/api/twitter/lock-game-boost-twitter-url`;
26
- return this.post<GetLockGameBoostTwitterUrlResult>(
27
- uri,
28
- undefined,
29
- formData,
30
- undefined,
31
- );
32
- }
33
-
34
- @Logger('TwitterModule.getReferralTwitterURL')
35
- getReferralTwitterURL(
36
- params: GetReferralTwitterUrlParams,
37
- ): Promise<GetReferralTwitterUrlResult> {
38
- const formData = new FormData();
39
- formData.append('referralURL', params.referralURL);
40
-
41
- const uri = `/api/twitter/referral-twitter-url`;
42
- return this.post<GetReferralTwitterUrlResult>(
43
- uri,
44
- undefined,
45
- formData,
46
- undefined,
47
- );
48
- }
49
-
50
- @Logger('TwitterModule.getTradingReferralTwitterURL')
51
- getTradingReferralTwitterURL(
52
- params: GetReferralTwitterUrlParams,
53
- ): Promise<GetReferralTwitterUrlResult> {
54
- const formData = new FormData();
55
- formData.append('referralURL', params.referralURL);
56
-
57
- const uri = `/api/twitter/referral-trading-twitter-url`;
58
- return this.post<GetReferralTwitterUrlResult>(
59
- uri,
60
- undefined,
61
- formData,
62
- undefined,
63
- );
64
- }
65
- }
@@ -1,6 +0,0 @@
1
- export {
2
- GetLockGameBoostTwitterUrlResult,
3
- GetLockGameBoostTwitterUrlParams,
4
- GetReferralTwitterUrlParams,
5
- GetReferralTwitterUrlResult,
6
- } from '@reyaxyz/common';